This is my first project and i need help fixing this error messege:
SemanticVersionError: Invalid simple block ‘^1.5.0 SPI’
Here is my platform.ini:
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = espidf
lib_deps =
nrf24/RF24@^1.5.0
SPI
upload_port = COM5
thank you
Two thinks make absolutely no sense:
-
You’re using framework = espidf, so ESP-IDF. Yet, you’re casually trying to include Arduino libraries, which require framework = arduino. Are you sure you selected the right framework at the project creation stage? Your included libraries make it seem like you didn’t.
-
SemanticVersionError: Invalid simple block ‘^1.5.0 SPI’ seems like the “SPI” line has somehow slipped a line up to the nrf24/RF24@^1.5.0 part. Are you sure you’re using the proper line endings and spacing?