You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
Add patches and update build instructions
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# Build for https://www.waveshare.com/wiki/ESP32-S3-Touch-LCD-2:
|
||||
# --ota: support Over-The-Air updates
|
||||
# --partition size: both OTA partitions are 4MB
|
||||
# --flash-size: total flash size is 16MB
|
||||
#
|
||||
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="/home/user/sources/micropython-camera-API/src/micropython.cmake" FROZEN_MANIFEST=manifest.py
|
||||
@@ -0,0 +1,4 @@
|
||||
fwfile="build/lvgl_micropy_ESP32_GENERIC_S3-SPIRAM_OCT-16.bin"
|
||||
ls -al "$fwfile"
|
||||
~/.espressif/python_env/idf5.2_py3.9_env/bin/python -m esptool --chip esp32s3 --before default_reset --after hard_reset write_flash --flash_mode dio --flash_size 16MB --flash_freq 80m --erase-all 0x0 "$fwfile"
|
||||
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#~/sources/lvgl_micropython/lib/lvgl/scripts/LVGLImage.py --ofmt BIN --cf RGB565 -o icon_64x64.bin icon_64x64.png
|
||||
#~/sources/lvgl_micropython/lib/lvgl/scripts/LVGLImage.py --ofmt BIN --cf RGB565 icon_64x64.png
|
||||
~/sources/lvgl_micropython/lib/lvgl/scripts/LVGLImage.py --ofmt BIN --cf RGB565A8 "$1"
|
||||
Reference in New Issue
Block a user