File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1- fwfile=" ../lvgl_micropython/build/lvgl_micropy_ESP32_GENERIC_S3-SPIRAM_OCT-16.bin"
1+ mydir=$( readlink -f " $0 " )
2+ mydir=$( dirname " $mydir " )
3+ fwfile=" $mydir /../lvgl_micropython/build/lvgl_micropy_ESP32_GENERIC_S3-SPIRAM_OCT-16.bin"
24ls -al $fwfile
35echo " Add --erase-all if needed"
46sleep 5
57# This needs python and the esptool
6- ~ /.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
8+ ~ /.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
79
Original file line number Diff line number Diff line change 1+ mydir=$( readlink -f " $0 " )
2+ mydir=$( dirname " $mydir " )
3+
14pkill -f " python.*mpremote"
25
36target=" $1 "
1417
1518
1619
17- mpremote=$( readlink -f " ../lvgl_micropython/lib/micropython/tools/mpremote/mpremote.py" )
20+ mpremote=$( readlink -f " $mydir / ../lvgl_micropython/lib/micropython/tools/mpremote/mpremote.py" )
1821
1922pushd internal_filesystem/
2023
You can’t perform that action at this time.
0 commit comments