Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc7546eb

Browse files
Improve build_all script
1 parent3c28289 commitc7546eb

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

‎scripts/build_all.sh‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,43 @@ if [ "$overwrite" != "--overwrite" ] && ls "$outdir"/*"$version"* 2>/dev/null; t
1414
fi
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
1722
cp"$buildfile""$outdir"/MicroPythonOS_fri3d-2024_prod_"$version".bin
1823
cp"$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
2131
cp"$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
2439
cp"$buildfile""$outdir"/MicroPythonOS_waveshare-esp32-s3-touch-lcd-2_prod_"$version".bin
2540
cp"$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
2848
cp"$buildfile""$outdir"/MicroPythonOS_waveshare-esp32-s3-touch-lcd-2_dev_"$version".bin
2949

3050
./scripts/build_lvgl_micropython.sh unix dev
3151
cp"$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

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp