@@ -14,18 +14,43 @@ if [ "$overwrite" != "--overwrite" ] && ls "$outdir"/*"$version"* 2>/dev/null; t
1414fi
1515
1616./scripts/build_lvgl_micropython.sh esp32 prod fri3d-2024
17+ result=$?
18+ if [ $result -ne 0 ]; then
19+ echo " build_lvgl_micropython.sh esp32 prod fri3d-2024 got error: $result "
20+ exit 1
21+ fi
1722cp " $buildfile " " $outdir " /MicroPythonOS_fri3d-2024_prod_" $version " .bin
1823cp " $updatefile " " $updatesdir " /MicroPythonOS_fri3d-2024_prod_" $version " .ota
1924
2025./scripts/build_lvgl_micropython.sh esp32 dev fri3d-2024
26+ result=$?
27+ if [ $result -ne 0 ]; then
28+ echo " build_lvgl_micropython.sh esp32 dev fri3d-2024 got error: $result "
29+ exit 1
30+ fi
2131cp " $buildfile " " $outdir " /MicroPythonOS_fri3d-2024_dev_" $version " .bin
2232
2333./scripts/build_lvgl_micropython.sh esp32 prod waveshare-esp32-s3-touch-lcd-2
34+ result=$?
35+ if [ $result -ne 0 ]; then
36+ echo " build_lvgl_micropython.sh esp32 prod waveshare-esp32-s3-touch-lcd-2 got error: $result "
37+ exit 1
38+ fi
2439cp " $buildfile " " $outdir " /MicroPythonOS_waveshare-esp32-s3-touch-lcd-2_prod_" $version " .bin
2540cp " $updatefile " " $updatesdir " /MicroPythonOS_waveshare-esp32-s3-touch-lcd-2_prod_" $version " .ota
2641
2742./scripts/build_lvgl_micropython.sh esp32 dev waveshare-esp32-s3-touch-lcd-2
43+ result=$?
44+ if [ $result -ne 0 ]; then
45+ echo " build_lvgl_micropython.sh esp32 dev waveshare-esp32-s3-touch-lcd-2 got error: $result "
46+ exit 1
47+ fi
2848cp " $buildfile " " $outdir " /MicroPythonOS_waveshare-esp32-s3-touch-lcd-2_dev_" $version " .bin
2949
3050./scripts/build_lvgl_micropython.sh unix dev
3151cp " $builddir " /lvgl_micropy_unix " $outdir " /MicroPythonOS_amd64_linux_" $version " .elf
52+ result=$?
53+ if [ $result -ne 0 ]; then
54+ echo " build_lvgl_micropython.sh esp32 unix dev got error: $result "
55+ exit 1
56+ fi
0 commit comments