how do we revert to a previous version for Arduino-pico on Platform-IO?
LazaroFilm opened this issue · 1 comments
LazaroFilm commented
I'm having a bug with the latest Arduino Pico version and need to revert to the previous release to trouble shoot. Ho do I do that?
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:waveshare_rp2040_touch]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
;platform = raspberrypi
board = waveshare_rp2040_plus_4mb
framework = arduino
board_build.core = earlephilhower
lib_deps =
bodmer/TFT_eSPI
adafruit/Adafruit NeoPixel
lvgl/lvgl
sparkfun/SparkFun BNO08x Cortex Based IMU@^1.0.3
board_build.filesystem_size = 0m
build_flags = -O2
maxgerhardt commented
Use
platform_packages =
framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git#783bee5c49c8ce0631cf9bb3bc70b3ae4aefebbb
or whatever commit you need. This is a officially documented PlatformIO feature: https://docs.platformio.org/en/latest/projectconf/sections/env/options/platform/platform_packages.html