InternalTemperature
InternalTemperature copied to clipboard
Invalid simple block '2.1.1a' using VScode platform IO
Hi,
I was initially using the Arduino IDE with this library and the IDE doesn't throw any error of finding the library and installing it. But I am trying to migrate it over to platformIO on VScode and I come across an error when I try to install the InternalTemperature library into the platform.ini file.
Below I list what I did:
I create a new platformio project w/the board I want (Teensy4.1). My project gets generated, and I see my platformio.ini
file. I find the library in the PIO Home/Libraries page, and I install it via copying what is listed in the installation tab under lib_deps into my platformio.ini
file.
# platformio.ini – project configuration file
[env:my_build_env]
platform = infineonxmc
framework = arduino
lib_deps =
latimes2/InternalTemperature @ 2.1.1a
I then proceed to save my platformio.ini
file and this error emerges from it.
Resolving teensy41 dependencies...
SemanticVersionError: Invalid simple block '2.1.1a'
I have not used platform IO, but the github version is 2.1.1 instead of 2.1.1a. You could try 2.1.1, or just leave off the version.