@@ -89,7 +89,10 @@ lib_deps =
8989 adafruit/Adafruit SSD1306
9090 https://github.com/tyeth/omron-devhub_d6t-arduino.git
9191 https://github.com/pstolarz/OneWireNg.git
92+ ; COMMENT OUT FOR RP2040/RP2350 BOARDS
9293 https://github.com/milesburton/Arduino-Temperature-Control-Library.git
94+ ; AND UNCOMMENT FOR RP2040/RP2350 BOARDS
95+ ; https://github.com/pstolarz/Arduino-Temperature-Control-Library.git
9396 https://github.com/Sensirion/arduino-sht.git
9497 https://github.com/Sensirion/arduino-i2c-scd4x.git
9598 https://github.com/Sensirion/arduino-i2c-sen5x.git
@@ -126,19 +129,15 @@ lib_compat_mode = strict
126129lib_archive = no ; debug timer issues see https://community.platformio.org/t/choose-usb-stack-as-tiny-usb/22451/5
127130lib_ignore = OneWire, USBHost
128131
129- [common:rp2040]
132+ ; Common build environment for Arduino-Pico platforms
133+ [common:arduinopico]
130134platform = https://github.com/maxgerhardt/platform-raspberrypi.git# develop
131- ; platform_packages =
132- ; framework-arduinopico @ symlink:///Users/tyeth/Projects/arduino-pico
133- ; framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git#master
134- board = rpipicow
135+ platform_packages = framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git
135136framework = arduino
136137board_build.core = earlephilhower
137138board_build.filesystem_size = 0.5m
138- build_flags = -DUSE_TINYUSB
139- ; Once https://github.com/platformio/platformio-core > 6.1.11 these can be removed
140139lib_ignore = WiFiNINA, WiFi101, Adafruit Zero DMA Library, OneWire
141- lib_compat_mode = soft ; can be strict once pio detects SleepyDog on RP2040
140+ lib_compat_mode = soft ; can be stricter once pio detects SleepyDog on RP2040
142141
143142
144143; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Individual Board Definitions ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -546,16 +545,20 @@ board_build.partitions = min_spiffs.csv
546545
547546
548547[env:raspberypi_picow]
549- extends = common:rp2040
548+ extends = common:arduinopico
549+ board = rpipicow
550+ build_flags =
551+ -DUSE_TINYUSB
550552
551553[env:raspberypi_picow_debug_port_only]
552- extends = common:rp2040
554+ extends = common:arduinopico
555+ board = rpipicow
553556build_flags =
554557 -DUSE_TINYUSB
555558 -DDEBUG_RP2040_PORT =Serial
556559
557560[env:raspberypi_picow_debug]
558- extends = common:rp2040
561+ extends = common:arduinopico
559562; platform = https://github.com/maxgerhardt/platform-raspberrypi.git
560563; platform_packages =
561564; framework-arduinopico @ symlink:///Users/tyeth/Projects/arduino-pico
@@ -597,7 +600,7 @@ build_flags =
597600
598601
599602[env:raspberypi_pico2w]
600- extends = common:rp2040
603+ extends = common:arduinopico
601604platform = https://github.com/maxgerhardt/platform-raspberrypi.git# develop
602605platform_packages =
603606 framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git
@@ -610,11 +613,7 @@ build_flags =
610613 ; -DPICO_CYW43_SUPPORTED=1
611614
612615[env:raspberypi_pico2w_debug]
613- extends = common:rp2040
614- platform = https://github.com/maxgerhardt/platform-raspberrypi.git# develop
615- platform_packages =
616- framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git
617- ; ; framework-arduinopico @ symlink:///Users/tyeth/Projects/arduino-pico
616+ extends = common:arduinopico
618617board = rpipico2w
619618build_type = debug
620619framework = arduino
@@ -654,3 +653,8 @@ build_flags =
654653 ; ; No USB stack
655654 ; build_flags = -DPIO_FRAMEWORK_ARDUINO_NO_USB
656655 ; -DPIO_FRAMEWORK_ARDUINO_ENABLE_IPV6
656+
657+ [env:adafruit_fruitjam]
658+ board = adafruit_fruitjam
659+ lib_ignore = WiFi, WiFi101, Adafruit Zero DMA Library
660+ build_flags = -DUSE_TINYUSB -DADAFRUIT_FRUITJAM_RP2350
0 commit comments