feat: copy build unix executable to other build artifacts
Some checks failed
Build RPi Pico firmware image / Build-Firmware (push) Successful in 4m45s
Check code formatting / Check-C-Format (push) Successful in 8s
Check code formatting / Check-Python-Flake8 (push) Successful in 11s
Check code formatting / Check-Bash-Shellcheck (push) Failing after 6s
Run unit tests on host / Run-Unit-Tests (push) Successful in 9s
Run pytests / Check-Pytest (push) Successful in 12s
Some checks failed
Build RPi Pico firmware image / Build-Firmware (push) Successful in 4m45s
Check code formatting / Check-C-Format (push) Successful in 8s
Check code formatting / Check-Python-Flake8 (push) Successful in 11s
Check code formatting / Check-Bash-Shellcheck (push) Failing after 6s
Run unit tests on host / Run-Unit-Tests (push) Successful in 9s
Run pytests / Check-Pytest (push) Successful in 12s
This commit is contained in:
@@ -17,6 +17,7 @@ set -eu
|
|||||||
)
|
)
|
||||||
|
|
||||||
BUILDDIR=lib/micropython/ports/rp2/build-TONBERRY_RPI_PICO_W/
|
BUILDDIR=lib/micropython/ports/rp2/build-TONBERRY_RPI_PICO_W/
|
||||||
|
BUILDDIR_UNIX=lib/micropython/ports/unix/build-tonberry_unix/
|
||||||
OUTDIR=$(pwd)/build
|
OUTDIR=$(pwd)/build
|
||||||
mkdir -p "$OUTDIR"
|
mkdir -p "$OUTDIR"
|
||||||
FS_STAGE_DIR=$(mktemp -d)
|
FS_STAGE_DIR=$(mktemp -d)
|
||||||
@@ -51,5 +52,9 @@ for hwconfig in boards/RPI_PICO_W/manifest-*.py; do
|
|||||||
$PICOTOOL uf2 convert $BUILDDIR/firmware-filesystem.bin "$OUTDIR"/firmware-filesystem-"$hwname".uf2
|
$PICOTOOL uf2 convert $BUILDDIR/firmware-filesystem.bin "$OUTDIR"/firmware-filesystem-"$hwname".uf2
|
||||||
done
|
done
|
||||||
|
|
||||||
|
cp $BUILDDIR_UNIX/micropython $OUTDIR/micropython-tonberry_unix
|
||||||
|
chmod u+x $OUTDIR/micropython-tonberry_unix
|
||||||
|
|
||||||
echo "Output in" "${OUTDIR}"/firmware-*.uf2
|
echo "Output in" "${OUTDIR}"/firmware-*.uf2
|
||||||
echo "Images with filesystem in" "${OUTDIR}"/firmware-filesystem-*.uf2
|
echo "Images with filesystem in" "${OUTDIR}"/firmware-filesystem-*.uf2
|
||||||
|
echo "Unix build in ${OUTDIR}/micropython-tonberry_unix"
|
||||||
|
|||||||
Reference in New Issue
Block a user