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

Commit68d1612

Browse files
Remove absolute paths, including ~
1 parent2ec5941 commit68d1612

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

‎scripts/build_lvgl_micropython.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ if [ "$target" == "esp32" ]; then
5555
[!-z"$manifest" ]&& frozenmanifest="FROZEN_MANIFEST="$(readlink -f"$manifest")
5656
twoup=$(readlink -f"$mydir"/../..)# build process needs absolute paths
5757
oneup=$(readlink -f"$mydir"/..)# build process needs absolute paths
58-
pushd~/projects/MicroPythonOS/lvgl_micropython
58+
pushd"$twoup"/lvgl_micropython
5959
python3 make.py --ota --partition-size=4194304 --flash-size=16 esp32 BOARD=ESP32_GENERIC_S3 BOARD_VARIANT=SPIRAM_OCT DISPLAY=st7789 INDEV=cst816s USER_C_MODULE="$twoup"/micropython-camera-API/src/micropython.cmake USER_C_MODULE="$twoup"/secp256k1-embedded-ecdh/micropython.cmake USER_C_MODULE="$oneup"/c_mpos/micropython.cmake CONFIG_FREERTOS_USE_TRACE_FACILITY=y CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID=y CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y"$frozenmanifest"
6060
popd
6161
elif ["$target"=="unix"-o"$target"=="macos" ];then
@@ -67,7 +67,7 @@ elif [ "$target" == "unix" -o "$target" == "macos" ]; then
6767
# LV_CFLAGS are passed to USER_C_MODULES
6868
# STRIP= makes it so that debug symbols are kept
6969
[!-z"$manifest" ]&& frozenmanifest="FROZEN_MANIFEST="$(readlink -f"$manifest")
70-
pushd~/projects/MicroPythonOS/lvgl_micropython
70+
pushd"$twoup"/lvgl_micropython
7171
python3 make.py"$target" LV_CFLAGS="-g -O0 -ggdb -ljpeg" STRIP= DISPLAY=sdl_display INDEV=sdl_pointer INDEV=sdl_keyboard"$manifest"
7272
popd
7373
else

‎scripts/freezefs_mount_builtin.sh‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
pushd~/projects/MicroPythonOS/freezeFS
2-
python3 -m freezefs --target /builtin --on-import mount~/projects/MicroPythonOS/MicroPythonOS/internal_filesystem/builtin freezefs_mount_builtin.py
1+
builtindir=$(readlink -f"MicroPythonOS/internal_filesystem/builtin")
2+
3+
pushd ../freezeFS/
4+
python3 -m freezefs --target /builtin --on-import mount"$builtindir" freezefs_mount_builtin.py
35
popd

‎scripts/install.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fi
1515

1616

1717

18-
mpremote=~/projects/MicroPythonOS/lvgl_micropython/lib/micropython/tools/mpremote/mpremote.py
18+
mpremote=$(readlink -f"../lvgl_micropython/lib/micropython/tools/mpremote/mpremote.py")
1919

2020
pushd internal_filesystem/
2121

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp