Skip to content

Commit 37f3687

Browse files
Merge pull request adafruit#95 from adafruit/pb-rp2040
Add RP2040 (Philhower core)
2 parents 58d99c4 + a3f7758 commit 37f3687

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/githubci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ jobs:
1616
run: bash ./actions_install.sh
1717
- name: test platforms
1818
run: |
19-
python3 build_platform.py uno leonardo mega2560 zero esp8266 esp32
19+
python3 build_platform.py uno leonardo mega2560 zero esp8266 esp32 pico_rp2040
2020

build_platform.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,18 @@
8787
"nrf52840" : "adafruit:nrf52:feather52840:softdevice=s140v6,debug=l0",
8888
"cpb" : "adafruit:nrf52:cplaynrf52840:softdevice=s140v6,debug=l0",
8989
"clue" : "adafruit:nrf52:cluenrf52840:softdevice=s140v6,debug=l0",
90+
# RP2040 (Philhower)
91+
"pico_rp2040" : "rp2040:rp2040:rpipico:freq=125,flash=2097152_0",
92+
"feather_rp2040" : "rp2040:rp2040:adafruitfeather:freq=125,flash=8388608_0",
9093
# groupings
9194
"main_platforms" : ("uno", "leonardo", "mega2560", "zero",
9295
"esp8266", "esp32", "metro_m4"),
9396
"arcada_platforms" : ("pybadge", "pygamer", "hallowing_m4",
94-
"cpb", "cpx_ada")
97+
"cpb", "cpx_ada"),
98+
"rp2040_platforms" : ("pico_rp2040", "feather_rp2040")
9599
}
96100

97-
BSP_URLS = "https://adafruit.github.io/arduino-board-index/package_adafruit_index.json,http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json,https://sandeepmistry.github.io/arduino-nRF5/package_nRF5_boards_index.json"
101+
BSP_URLS = "https://adafruit.github.io/arduino-board-index/package_adafruit_index.json,http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json,https://sandeepmistry.github.io/arduino-nRF5/package_nRF5_boards_index.json,https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json"
98102

99103
class ColorPrint:
100104

0 commit comments

Comments
 (0)