In platformio.ini I have the line:
lib_deps = fastled/FastLED@^3.9.2
The latest version of FastLED is currently 3.9.12. The issue I’m having is that (after restarting VScode, working on other projects etc.) the version that is being used often changes between 3.9.2 and 3.9.12 when I build the project. I’m struggling to find any definitive documentation of what the ‘^’ is supposed to do but my understanding is that it specifies the minimum version of the library.
ChatGPT thinks this might be a caching issue but I’m wondering if I’m misunderstanding something here.
(The reason to use 3.9.2 is that 3.9.12 won’t compile on some platforms. I filed an issue in Github.)
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-c3-devkitm-1.html
PLATFORM: Espressif 32 (6.10.0) > Espressif ESP32-C3-DevKitM-1
HARDWARE: ESP32C3 160MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-builtin, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-arduinoespressif32 @ 3.20017.241212+sha.dcc1105b
- tool-esptoolpy @ 1.40501.0 (4.5.1)
- toolchain-riscv32-esp @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 34 compatible libraries
Scanning dependencies...
Dependency Graph
|-- FastLED @ 3.9.2
Building in release mode
Retrieving maximum program size .pio\build\esp32-c3-devkitm-1\firmware.elf
Checking size .pio\build\esp32-c3-devkitm-1\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [ ] 4.4% (used 14356 bytes from 327680 bytes)
Flash: [== ] 18.3% (used 239580 bytes from 1310720 bytes)
========================================================================================================= [SUCCESS] Took 6.41 seconds =========================================================================================================