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

Commit899319c

Browse files
unix build works
1 parent34ddce4 commit899319c

File tree

7 files changed

+26
-6
lines changed

7 files changed

+26
-6
lines changed

‎.gitmodules‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[submodule "freezeFS"]
2+
path=freezeFS
3+
url=https://github.com/MicroPythonOS/freezeFS
4+
[submodule "secp256k1-embedded-ecdh"]
5+
path=secp256k1-embedded-ecdh
6+
url=https://github.com/MicroPythonOS/secp256k1-embedded-ecdh
7+
branch=micropython_1.25.0
8+
[submodule "lvgl_micropython"]
9+
path=lvgl_micropython
10+
url=https://github.com/MicroPythonOS/lvgl_micropython
11+
[submodule "micropython-camera-API"]
12+
path=micropython-camera-API
13+
url=https://github.com/cnadler86/micropython-camera-API

‎freezeFS‎

SubmodulefreezeFS added at92f12eb

‎lvgl_micropython‎

Submodulelvgl_micropython added atbcfd8a9

‎micropython-camera-API‎

‎scripts/build_lvgl_micropython.sh‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ if [ "$target" == "esp32" ]; then
5555
# CONFIG_FREERTOS_VTASKLIST_INCLUDE_COREID=y
5656
# CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS=y
5757
[!-z"$manifest" ]&& frozenmanifest="FROZEN_MANIFEST="$(readlink -f"$manifest")
58-
pushd"$twoup"/lvgl_micropython
59-
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"
58+
pushd lvgl_micropython
59+
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="$mydir"/micropython-camera-API/src/micropython.cmake USER_C_MODULE="$mydir"/secp256k1-embedded-ecdh/micropython.cmake USER_C_MODULE="$mydir"/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
6262
if ["$buildtype"=="prod" ];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"$twoup"/lvgl_micropython
70+
pushd lvgl_micropython/
7171
# USER_C_MODULE doesn't seem to work properly so there are symlinks in lvgl_micropython/extmod/
7272
python3 make.py"$target" LV_CFLAGS="-g -O0 -ggdb -ljpeg" STRIP= DISPLAY=sdl_display INDEV=sdl_pointer INDEV=sdl_keyboard"$manifest"
7373
popd

‎scripts/run_desktop.sh‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#!/bin/bash
2+
scriptdir=$(readlink -f"$0")
3+
scriptdir=$(dirname"$mydir")
14
script="$1"
25
if [-f"$script" ];then
36
script=$(readlink -f"$script")
@@ -40,13 +43,13 @@ export HEAPSIZE=128M # for 1280x720 images in the image viewer
4043

4144
# print os and set binary
4245
os_name=$(uname -s)
43-
if ["$os_name"=="Darwin" ];then
46+
if ["$os_name"="Darwin" ];then
4447
echo"Running on macOS"
45-
binary=../lvgl_micropython/build/lvgl_micropy_macOS
48+
binary="$scriptdir"/../lvgl_micropython/build/lvgl_micropy_macOS
4649
else
4750
# other cases can be added here
4851
echo"Running on$os_name"
49-
binary=../lvgl_micropython/build/lvgl_micropy_unix
52+
binary="$scriptdir"/../lvgl_micropython/build/lvgl_micropy_unix
5053
fi
5154

5255
binary=$(readlink -f"$binary")

‎secp256k1-embedded-ecdh‎

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp