Skip to content

Commit 94f5865

Browse files
committed
adds in patch commands for the arduino core
1 parent 8eb300a commit 94f5865

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/build-iotnode-lorawan-develop.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,13 @@ jobs:
5353
- name: Arduino - Install rp2040 platform
5454
run: arduino-cli core install rp2040:[email protected]
5555

56-
- name: Debug ...
57-
run: ls -la $HOME/$ARDUINO_RP2040_DIR
56+
- name: Patch in our IOT Node boards
57+
run: |
58+
cd patch
59+
cp boards.txt $HOME/$ARDUINO_RP2040_DIR/boards.txt
60+
cp -R sparkfun_iotnode_lorawan $HOME/$ARDUINO_RP2040_DIR/variants/
61+
cp sparkfun_iotnode_lorawan_rp2350.h $HOME/$ARDUINO_RP2040_DIR//pico-sdk/src/boards/include/boards/
62+
cd ..
5863
5964
# install the libraries Flux uses
6065
- name: Install Flux dependant libraries
@@ -73,7 +78,7 @@ jobs:
7378

7479
- name: Compile DataLogger firmware binary
7580
run:
76-
arduino-cli compile --fqbn rp2040:rp2040:sparkfun_promicrorp2350 ./sfeIoTNodeLoRaWAN/sfeIoTNodeLoRaWAN.ino
81+
arduino-cli compile --fqbn rp2040:rp2040:sparkfun_iotnode_lorawan ./sfeIoTNodeLoRaWAN/sfeIoTNodeLoRaWAN.ino
7782
--export-binaries --clean --library `pwd`/SparkFun_IoTNodeLoRaWAN
7883

7984
# Upload the build files - bootloader, paritions, firmware

0 commit comments

Comments
 (0)