You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/gd32v/sipeed-longan-nano.html
PLATFORM: GigaDevice GD32V (1.3.0) > Sipeed Longan Nano
HARDWARE: GD32VF103CBT6 108MHz, 32KB RAM, 128KB Flash
DEBUG: Current (altera-usb-blaster) External (altera-usb-blaster, gd-link, jlink, rv-link, sipeed-rv-debugger, um232h)
PACKAGES:
framework-arduino-gd32v @ 0.2.3+sha.fd2d438
toolchain-gd32v @ 9.2.0
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 23 compatible libraries
Scanning dependencies...
Dependency Graph
|-- SD(gd32v) @ 1.2.4
|-- SPI @ 0.1
Building in release mode
Compiling .pio/build/sipeed-longan-nano/src/main.cpp.o
Compiling .pio/build/sipeed-longan-nano/libcc1/SD/File.cpp.o
Compiling .pio/build/sipeed-longan-nano/libcc1/SD/SD.cpp.o
Compiling .pio/build/sipeed-longan-nano/libcc1/SD/utility/Sd2Card.cpp.o
Compiling .pio/build/sipeed-longan-nano/libcc1/SD/utility/SdFile.cpp.o
Compiling .pio/build/sipeed-longan-nano/libcc1/SD/utility/SdVolume.cpp.o
In file included from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:26,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdFat.h:29,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdFile.cpp:20:
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2PinMap.h:544:2: error: #error Architecture or board not supported.
544 | #error Architecture or board not supported.
| ^~~~~
In file included from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:26,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdFat.h:29,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdVolume.cpp:20:
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2PinMap.h:544:2: error: #error Architecture or board not supported.
544 | #error Architecture or board not supported.
| ^~~~~
In file included from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:26,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdFat.h:29,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/SD.h:20,
from src/main.cpp:3:
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2PinMap.h:544:2: error: #error Architecture or board not supported.
544 | #error Architecture or board not supported.
| ^~~~~
In file included from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:26,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdFat.h:29,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/SD.h:20,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/File.cpp:15:
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2PinMap.h:544:2: error: #error Architecture or board not supported.
544 | #error Architecture or board not supported.
| ^~~~~
In file included from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:26,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.cpp:22:
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2PinMap.h:544:2: error: #error Architecture or board not supported.
544 | #error Architecture or board not supported.
| ^~~~~
In file included from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:26,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdFat.h:29,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/SD.h:20,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/SD.cpp:53:
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2PinMap.h:544:2: error: #error Architecture or board not supported.
544 | #error Architecture or board not supported.
| ^~~~~
Compiling .pio/build/sipeed-longan-nano/FrameworkArduino/wiring_analog.c.o
Compiling .pio/build/sipeed-longan-nano/FrameworkArduino/wiring_digital.c.o
In file included from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdFat.h:29,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/SD.h:20,
from src/main.cpp:3:
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:80:31: error: 'MOSI' was not declared in this scope
80 | uint8_t const SPI_MOSI_PIN = MOSI;
| ^~~~
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:82:31: error: 'MISO' was not declared in this scope
82 | uint8_t const SPI_MISO_PIN = MISO;
| ^~~~
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:84:30: error: 'SCK' was not declared in this scope
84 | uint8_t const SPI_SCK_PIN = SCK;
| ^~~
Compiling .pio/build/sipeed-longan-nano/FrameworkArduino/wiring_pulse.c.o
Compiling .pio/build/sipeed-longan-nano/FrameworkArduino/wiring_shift.c.o
In file included from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdFat.h:29,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/SD.h:20,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/File.cpp:15:
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:80:31: error: 'MOSI' was not declared in this scope
80 | uint8_t const SPI_MOSI_PIN = MOSI;
| ^~~~
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:82:31: error: 'MISO' was not declared in this scope
82 | uint8_t const SPI_MISO_PIN = MISO;
| ^~~~
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:84:30: error: 'SCK' was not declared in this scope
84 | uint8_t const SPI_SCK_PIN = SCK;
| ^~~
In file included from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdFat.h:29,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdFile.cpp:20:
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:80:31: error: 'MOSI' was not declared in this scope
80 | uint8_t const SPI_MOSI_PIN = MOSI;
| ^~~~
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:82:31: error: 'MISO' was not declared in this scope
82 | uint8_t const SPI_MISO_PIN = MISO;
| ^~~~
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:84:30: error: 'SCK' was not declared in this scope
84 | uint8_t const SPI_SCK_PIN = SCK;
| ^~~
In file included from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.cpp:22:
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:80:31: error: 'MOSI' was not declared in this scope
80 | uint8_t const SPI_MOSI_PIN = MOSI;
| ^~~~
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:82:31: error: 'MISO' was not declared in this scope
82 | uint8_t const SPI_MISO_PIN = MISO;
| ^~~~
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:84:30: error: 'SCK' was not declared in this scope
84 | uint8_t const SPI_SCK_PIN = SCK;
| ^~~
In file included from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdFat.h:29,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdVolume.cpp:20:
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:80:31: error: 'MOSI' was not declared in this scope
80 | uint8_t const SPI_MOSI_PIN = MOSI;
| ^~~~
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:82:31: error: 'MISO' was not declared in this scope
82 | uint8_t const SPI_MISO_PIN = MISO;
| ^~~~
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:84:30: error: 'SCK' was not declared in this scope
84 | uint8_t const SPI_SCK_PIN = SCK;
| ^~~
In file included from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdFat.h:29,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/SD.h:20,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/SD.cpp:53:
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:80:31: error: 'MOSI' was not declared in this scope
80 | uint8_t const SPI_MOSI_PIN = MOSI;
| ^~~~
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:82:31: error: 'MISO' was not declared in this scope
82 | uint8_t const SPI_MISO_PIN = MISO;
| ^~~~
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:84:30: error: 'SCK' was not declared in this scope
84 | uint8_t const SPI_SCK_PIN = SCK;
| ^~~
*** [.pio/build/sipeed-longan-nano/src/main.cpp.o] Error 1
*** [.pio/build/sipeed-longan-nano/libcc1/SD/File.cpp.o] Error 1
*** [.pio/build/sipeed-longan-nano/libcc1/SD/utility/Sd2Card.cpp.o] Error 1
*** [.pio/build/sipeed-longan-nano/libcc1/SD/utility/SdVolume.cpp.o] Error 1
*** [.pio/build/sipeed-longan-nano/libcc1/SD/utility/SdFile.cpp.o] Error 1
*** [.pio/build/sipeed-longan-nano/libcc1/SD/SD.cpp.o] Error 1
========================================================================== [FAILED] Took 0.54 seconds ==========================================================================
The terminal process "platformio 'run'" terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.
`
Hey ive tried to use youre repo. Does it work?
I get this error:
`Processing sipeed-longan-nano (platform: gd32v; board: sipeed-longan-nano; framework: arduino)
Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/gd32v/sipeed-longan-nano.html
PLATFORM: GigaDevice GD32V (1.3.0) > Sipeed Longan Nano
HARDWARE: GD32VF103CBT6 108MHz, 32KB RAM, 128KB Flash
DEBUG: Current (altera-usb-blaster) External (altera-usb-blaster, gd-link, jlink, rv-link, sipeed-rv-debugger, um232h)
PACKAGES:
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 23 compatible libraries
Scanning dependencies...
Dependency Graph
|-- SD(gd32v) @ 1.2.4
|-- SPI @ 0.1
Building in release mode
Compiling .pio/build/sipeed-longan-nano/src/main.cpp.o
Compiling .pio/build/sipeed-longan-nano/libcc1/SD/File.cpp.o
Compiling .pio/build/sipeed-longan-nano/libcc1/SD/SD.cpp.o
Compiling .pio/build/sipeed-longan-nano/libcc1/SD/utility/Sd2Card.cpp.o
Compiling .pio/build/sipeed-longan-nano/libcc1/SD/utility/SdFile.cpp.o
Compiling .pio/build/sipeed-longan-nano/libcc1/SD/utility/SdVolume.cpp.o
In file included from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:26,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdFat.h:29,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdFile.cpp:20:
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2PinMap.h:544:2: error: #error Architecture or board not supported.
544 | #error Architecture or board not supported.
| ^~~~~
In file included from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:26,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdFat.h:29,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdVolume.cpp:20:
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2PinMap.h:544:2: error: #error Architecture or board not supported.
544 | #error Architecture or board not supported.
| ^~~~~
In file included from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:26,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdFat.h:29,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/SD.h:20,
from src/main.cpp:3:
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2PinMap.h:544:2: error: #error Architecture or board not supported.
544 | #error Architecture or board not supported.
| ^~~~~
In file included from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:26,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdFat.h:29,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/SD.h:20,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/File.cpp:15:
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2PinMap.h:544:2: error: #error Architecture or board not supported.
544 | #error Architecture or board not supported.
| ^~~~~
In file included from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:26,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.cpp:22:
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2PinMap.h:544:2: error: #error Architecture or board not supported.
544 | #error Architecture or board not supported.
| ^~~~~
In file included from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:26,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdFat.h:29,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/SD.h:20,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/SD.cpp:53:
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2PinMap.h:544:2: error: #error Architecture or board not supported.
544 | #error Architecture or board not supported.
| ^~~~~
Compiling .pio/build/sipeed-longan-nano/FrameworkArduino/wiring_analog.c.o
Compiling .pio/build/sipeed-longan-nano/FrameworkArduino/wiring_digital.c.o
In file included from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdFat.h:29,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/SD.h:20,
from src/main.cpp:3:
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:80:31: error: 'MOSI' was not declared in this scope
80 | uint8_t const SPI_MOSI_PIN = MOSI;
| ^~~~
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:82:31: error: 'MISO' was not declared in this scope
82 | uint8_t const SPI_MISO_PIN = MISO;
| ^~~~
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:84:30: error: 'SCK' was not declared in this scope
84 | uint8_t const SPI_SCK_PIN = SCK;
| ^~~
Compiling .pio/build/sipeed-longan-nano/FrameworkArduino/wiring_pulse.c.o
Compiling .pio/build/sipeed-longan-nano/FrameworkArduino/wiring_shift.c.o
In file included from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdFat.h:29,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/SD.h:20,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/File.cpp:15:
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:80:31: error: 'MOSI' was not declared in this scope
80 | uint8_t const SPI_MOSI_PIN = MOSI;
| ^~~~
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:82:31: error: 'MISO' was not declared in this scope
82 | uint8_t const SPI_MISO_PIN = MISO;
| ^~~~
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:84:30: error: 'SCK' was not declared in this scope
84 | uint8_t const SPI_SCK_PIN = SCK;
| ^~~
In file included from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdFat.h:29,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdFile.cpp:20:
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:80:31: error: 'MOSI' was not declared in this scope
80 | uint8_t const SPI_MOSI_PIN = MOSI;
| ^~~~
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:82:31: error: 'MISO' was not declared in this scope
82 | uint8_t const SPI_MISO_PIN = MISO;
| ^~~~
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:84:30: error: 'SCK' was not declared in this scope
84 | uint8_t const SPI_SCK_PIN = SCK;
| ^~~
In file included from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.cpp:22:
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:80:31: error: 'MOSI' was not declared in this scope
80 | uint8_t const SPI_MOSI_PIN = MOSI;
| ^~~~
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:82:31: error: 'MISO' was not declared in this scope
82 | uint8_t const SPI_MISO_PIN = MISO;
| ^~~~
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:84:30: error: 'SCK' was not declared in this scope
84 | uint8_t const SPI_SCK_PIN = SCK;
| ^~~
In file included from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdFat.h:29,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdVolume.cpp:20:
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:80:31: error: 'MOSI' was not declared in this scope
80 | uint8_t const SPI_MOSI_PIN = MOSI;
| ^~~~
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:82:31: error: 'MISO' was not declared in this scope
82 | uint8_t const SPI_MISO_PIN = MISO;
| ^~~~
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:84:30: error: 'SCK' was not declared in this scope
84 | uint8_t const SPI_SCK_PIN = SCK;
| ^~~
In file included from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/SdFat.h:29,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/SD.h:20,
from /home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/SD.cpp:53:
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:80:31: error: 'MOSI' was not declared in this scope
80 | uint8_t const SPI_MOSI_PIN = MOSI;
| ^~~~
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:82:31: error: 'MISO' was not declared in this scope
82 | uint8_t const SPI_MISO_PIN = MISO;
| ^~~~
/home/user/.platformio/packages/framework-arduino-gd32v/libraries/SD/src/utility/Sd2Card.h:84:30: error: 'SCK' was not declared in this scope
84 | uint8_t const SPI_SCK_PIN = SCK;
| ^~~
*** [.pio/build/sipeed-longan-nano/src/main.cpp.o] Error 1
*** [.pio/build/sipeed-longan-nano/libcc1/SD/File.cpp.o] Error 1
*** [.pio/build/sipeed-longan-nano/libcc1/SD/utility/Sd2Card.cpp.o] Error 1
*** [.pio/build/sipeed-longan-nano/libcc1/SD/utility/SdVolume.cpp.o] Error 1
*** [.pio/build/sipeed-longan-nano/libcc1/SD/utility/SdFile.cpp.o] Error 1
*** [.pio/build/sipeed-longan-nano/libcc1/SD/SD.cpp.o] Error 1
========================================================================== [FAILED] Took 0.54 seconds ==========================================================================
`
my platformio.ini:
[env:sipeed-longan-nano] platform = gd32v board = sipeed-longan-nano framework = arduino platform_packages = framework-arduino-gd32v @ https://github.com/scpcom/Longduino.git
my main.cpp:
`#include <Arduino.h>
#include <SPI.h>
#include <SD.h>
void setup()
{
delay(5000);
Serial.begin(9600);
while(!Serial);
}
void loop()
{
Serial.println("serial ok");
delay(5000);
}
`
what am i doing wrong? How can i fix it? Im a Arduino beginner.
Ive tried to use #define GD32V in main.cpp but doesnt work.
Thank you :)
The text was updated successfully, but these errors were encountered: