After upgrading PIO from a pretty old version, I’m getting this error when it tries to install the SPI library. The other libraries install just fine, but they are specified by github address rather than the library name in the PIO registry.
Here’s my platformio.ini.
Has the SPU library been removed from the PIO registry?
[platformio]
default_envs = esp32
build_dir = build/
src_dir = ./
[global]
lib_arduino_common =
SPI
https://github.com/Bodmer/TFT_eSPI
bblanchon/ArduinoJson
[env:esp32]
board_build.arduino.upstream_packages = no
platform_packages =
framework-arduinoespressif32 @ https://github.com/espressif/esp-idf.git#release/v5.1
platform = espressif32
framework = arduino
board = esp32dev
monitor_speed = 115200
upload_speed = 921600
lib_deps =
${global.lib_arduino_common}
build_unflags = -std=gnu++11 -Os -std=c++11 -std=c++14 -std=gnu++14 -std=gnu++1y -std=c++1y
build_flags =
-std=gnu++2a ; gnu needed for 'typeof'
-O2
-fno-threadsafe-statics
-DUSER_SETUP_LOADED=1
-DILI9488_DRIVER=1
-DTFT_MISO=17
-DTFT_MOSI=2
-DTFT_SCLK=15
-DTFT_CS=5
-DTFT_DC=19
-DTFT_RST=4
-DLOAD_FONT2=1
-DSPI_FREQUENCY=24000000