Skip to content

Invalid simple block '2.1.1a' using VScode platform IO #4

@dlee99

Description

@dlee99

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions