You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
Fix flash_over_usb.sh and install.sh
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
fwfile="../lvgl_micropython/build/lvgl_micropy_ESP32_GENERIC_S3-SPIRAM_OCT-16.bin"
|
||||
mydir=$(readlink -f "$0")
|
||||
mydir=$(dirname "$mydir")
|
||||
fwfile="$mydir/../lvgl_micropython/build/lvgl_micropy_ESP32_GENERIC_S3-SPIRAM_OCT-16.bin"
|
||||
ls -al $fwfile
|
||||
echo "Add --erase-all if needed"
|
||||
sleep 5
|
||||
# This needs python and the esptool
|
||||
~/.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 $1 0x0 $fwfile
|
||||
~/.espressif/python_env/*/bin/python -m esptool --chip esp32s3 --before default_reset --after hard_reset write_flash --flash_mode dio --flash_size 16MB --flash_freq 80m $1 0x0 $fwfile
|
||||
|
||||
|
||||
+4
-1
@@ -1,3 +1,6 @@
|
||||
mydir=$(readlink -f "$0")
|
||||
mydir=$(dirname "$mydir")
|
||||
|
||||
pkill -f "python.*mpremote"
|
||||
|
||||
target="$1"
|
||||
@@ -14,7 +17,7 @@ fi
|
||||
|
||||
|
||||
|
||||
mpremote=$(readlink -f "../lvgl_micropython/lib/micropython/tools/mpremote/mpremote.py")
|
||||
mpremote=$(readlink -f "$mydir/../lvgl_micropython/lib/micropython/tools/mpremote/mpremote.py")
|
||||
|
||||
pushd internal_filesystem/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user