Skip to content

Commit 313b909

Browse files
scripts/build_all.sh: also build .ota files
1 parent d6222b8 commit 313b909

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

scripts/build_all.sh

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
11
builddir=../lvgl_micropython/build
2-
outdir=../build_outputs
2+
outdir=../build_outputs/
3+
updatesdir=../updates/
34

45
buildfile="$builddir"/lvgl_micropy_ESP32_GENERIC_S3-SPIRAM_OCT-16.bin
5-
6-
./scripts/build_lvgl_micropython.sh esp32 dev fri3d-2024
7-
cp "$buildfile" "$outdir"/MicroPythonOS_fri3d-2024_dev
6+
updatefile=../lvgl_micropython/lib/micropython/ports/esp32/build-ESP32_GENERIC_S3-SPIRAM_OCT/micropython.bin
87

98
./scripts/build_lvgl_micropython.sh esp32 prod fri3d-2024
109
cp "$buildfile" "$outdir"/MicroPythonOS_fri3d-2024_prod
10+
cp "$updatefile" "$updatesdir"/MicroPythonOS_fri3d-2024_prod.ota
1111

12-
./scripts/build_lvgl_micropython.sh unix dev
13-
cp "$builddir"/lvgl_micropy_unix "$outdir"/MicroPythonOS_amd64_Linux
12+
./scripts/build_lvgl_micropython.sh esp32 dev fri3d-2024
13+
cp "$buildfile" "$outdir"/MicroPythonOS_fri3d-2024_dev
1414

1515
./scripts/build_lvgl_micropython.sh esp32 prod waveshare-esp32-s3-touch-lcd-2
1616
cp "$buildfile" "$outdir"/MicroPythonOS_waveshare-esp32-s3-touch-lcd-2_prod
17+
cp "$updatefile" "$updatesdir"/MicroPythonOS_waveshare-esp32-s3-touch-lcd-2_prod.ota
1718

1819
./scripts/build_lvgl_micropython.sh esp32 dev waveshare-esp32-s3-touch-lcd-2
1920
cp "$buildfile" "$outdir"/MicroPythonOS_waveshare-esp32-s3-touch-lcd-2_dev
2021

22+
./scripts/build_lvgl_micropython.sh unix dev
23+
cp "$builddir"/lvgl_micropy_unix "$outdir"/MicroPythonOS_amd64_Linux

0 commit comments

Comments
 (0)