File tree 2 files changed +17
-2
lines changed
2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 1
- if [ $ZEPHYR_SDK_INSTALL_DIR == " " ]; then
1
+ if [ x $ZEPHYR_SDK_INSTALL_DIR == x " " ]; then
2
2
export ZEPHYR_SDK_INSTALL_DIR=/ssd/zephyr-sdk-0.16.8/
3
3
fi
4
4
@@ -16,5 +16,11 @@ source venv/bin/activate
16
16
17
17
(west build loader -b $board -p && west build -t llext-edk)
18
18
(tar xvfp build/zephyr/llext-edk.tar.xz --directory variants/$variant /)
19
+
19
20
(cp build/zephyr/zephyr.elf firmwares/zephyr-$variant .elf)
20
- (cp build/zephyr/zephyr.bin firmwares/zephyr-$variant .bin)
21
+ if [ -f build/zephyr/zephyr.bin ]; then
22
+ cp build/zephyr/zephyr.bin firmwares/zephyr-$variant .bin
23
+ elif [ -f build/zephyr/zephyr.hex ]; then
24
+ cp build/zephyr/zephyr.hex firmwares/zephyr-$variant .hex
25
+ fi
26
+
Original file line number Diff line number Diff line change
1
+ # Update this file if a new board gets supported
2
+
3
+ set -e
4
+
5
+ ./extra/build.sh arduino_giga_r1//m7 arduino_giga_r1_m7
6
+ ./extra/build.sh arduino_nano_33_ble_sense arduino_nano_33_ble_sense
7
+ ./extra/build.sh arduino_portenta_h7//m7 arduino_portenta_h7
8
+ ./extra/build.sh ek_ra8d1 ek_ra8d1
9
+ ./extra/build.sh frdm_mcxn947/mcxn947/cpu0 frdm_mcxn947_mcxn947_cpu0
You can’t perform that action at this time.
0 commit comments