Good morning
Have a tiny Longan Nano board here based on the GD32V RISC-V…
PlatformIO lists that for example the MAX31855 Adafruit library is compatible with this platform…
but when compiling it complains that it can’t find SPI.h and Wire.h…
Processing sipeed-longan-nano (platform: gd32v; board: sipeed-longan-nano; framework: arduino)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: sipeed-longan-nano.html
PLATFORM: GigaDevice GD32V 1.1.2 > Sipeed Longan Nano
HARDWARE: GD32VF103CBT6 108MHz, 32KB RAM, 128KB Flash
DEBUG: Current (sipeed-rv-debugger) External (altera-usb-blaster, gd-link, jlink, rv-link, sipeed-rv-debugger, um232h)
PACKAGES:
- framework-arduino-gd32v 0.1.1
- toolchain-gd32v 9.2.0
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Looking for SPI library in registry
Warning! Library `{'name': 'SPI', 'requirements': None}` has not been found in PlatformIO Registry.
You can ignore this message, if `{'name': 'SPI', 'requirements': None}` is a built-in library (included in framework, SDK). E.g., SPI, Wire, etc.
Looking for Wire library in registry
Warning! Library `{'name': 'Wire', 'requirements': None}` has not been found in PlatformIO Registry.
You can ignore this message, if `{'name': 'Wire', 'requirements': None}` is a built-in library (included in framework, SDK). E.g., SPI, Wire, etc.
Found 15 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <Adafruit MAX31855 library> 1.1.1
| |-- <Adafruit BusIO> 1.2.6
| |-- <LiquidCrystal> 1.5.0
Building in release mode
Compiling .pio/build/sipeed-longan-nano/src/main.cpp.o
Compiling .pio/build/sipeed-longan-nano/liba9f/Adafruit BusIO_ID6214/Adafruit_BusIO_Register.cpp.o
Compiling .pio/build/sipeed-longan-nano/liba9f/Adafruit BusIO_ID6214/Adafruit_I2CDevice.cpp.o
Compiling .pio/build/sipeed-longan-nano/liba9f/Adafruit BusIO_ID6214/Adafruit_SPIDevice.cpp.o
In file included from .pio/libdeps/sipeed-longan-nano/Adafruit BusIO_ID6214/Adafruit_BusIO_Register.h:1,
from .pio/libdeps/sipeed-longan-nano/Adafruit BusIO_ID6214/Adafruit_BusIO_Register.cpp:1:
.pio/libdeps/sipeed-longan-nano/Adafruit BusIO_ID6214/Adafruit_I2CDevice.h:1:10: fatal error: Wire.h: No such file or directory
**************************************************************
* Looking for Wire.h dependency? Check our library registry!
*
* CLI > platformio lib search "header:Wire.h"
* Web > https://platformio.org/lib/search?query=header:Wire.h
*
**************************************************************
1 | #include <Wire.h>
| ^~~~~~~~
compilation terminated.
So are no Arduino libraries usable which depend on SPI or Wire with the GD32V platform?
thanks in advance