Skip to content

Commit

Permalink
[RP2XXX] an attempt to add Pico 2W target into Actions build
Browse files Browse the repository at this point in the history
  • Loading branch information
lyusupov committed Dec 3, 2024
1 parent 80b3235 commit 681f61b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ jobs:
'arduino:renesas_uno:unor4wifi',
'rp2040:rp2040:generic',
'rp2040:rp2040:rpipicow',
'rp2040:rp2040:rpipico2:arch=arm',
#'rp2040:rp2040:rpipico2:arch=arm',
'rp2040:rp2040:rpipico2:arch=riscv',
#'rp2040:rp2040:rpipico2w:arch=arm',
'rp2040:rp2040:rpipico2w:arch=arm',
#'rp2040:rp2040:rpipico2w:arch=riscv',
'arduino:mbed_rp2040:pico',
#'arduino:mbed_nano:nanorp2040connect',
Expand Down Expand Up @@ -410,13 +410,16 @@ jobs:
fi
if [[ "$BOARD" =~ "rp2040:rp2040:" ]]; then
arduino --pref "boardsmanager.additional.urls=https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json" --save-prefs ;
arduino --install-boards rp2040:rp2040:4.2.1 ;
#arduino --install-boards rp2040:rp2040:4.3.0 ;
arduino --install-boards rp2040:rp2040:4.3.1 ;
arduino --board $BOARD --save-prefs ;
if [[ "$BOARD" =~ "rp2040:rp2040:rpipicow" ]]; then
arduino --pref "custom_freq=rpipicow_120" --save-prefs ;
arduino --pref "custom_ipbtstack=rpipicow_ipv4btcble" --save-prefs ;
fi
if [[ "$BOARD" =~ "rp2040:rp2040:rpipico2w" ]]; then
arduino --pref "custom_freq=rpipico2w_120" --save-prefs ;
arduino --pref "custom_ipbtstack=rpipico2w_ipv4btcble" --save-prefs ;
fi
cd $GITHUB_WORKSPACE ;
fi
if [[ "$BOARD" =~ "arduino:mbed_rp2040:" ]]; then
Expand Down

0 comments on commit 681f61b

Please sign in to comment.