feat(kmkpy): make dist -> uf2 files for each supported NRF board, with KMK bundled
This commit is contained in:
10
build_kmkpython_release.sh
Executable file
10
build_kmkpython_release.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
TIMESTAMP=$(date +%s)
|
||||
TARGETS=${TARGETS:-"nice_nano itsybitsy_nrf52840_express"}
|
||||
|
||||
for TARGET in ${TARGETS}; do
|
||||
make -C /opt/kmkpython/ports/nrf BOARD="${TARGET}"
|
||||
cp "/opt/kmkpython/ports/nrf/build-${TARGET}/firmware.uf2" "/dist/${TARGET}-${TIMESTAMP}.uf2"
|
||||
echo "===> Built /dist/${TARGET}-${TIMESTAMP}.uf2"
|
||||
done
|
Reference in New Issue
Block a user