Skip to content

Commit d6e2d58

Browse files
camtest: works unless wifi is connecting
1 parent 11aa61e commit d6e2d58

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

internal_filesystem/apps/com.example.camtest/assets/camtest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def init_cam():
199199
time.sleep(5)
200200
cam = init_cam()
201201

202-
if cam:
202+
if cam:
203203
build_ui()
204204
while appscreen == lv.screen_active() and keepgoing is True:
205205
try_capture()

scripts/flash_over_usb.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
fwfile="/home/user/sources/lvgl_micropython/build/lvgl_micropy_ESP32_GENERIC_S3-SPIRAM_OCT-16.bin"
22
ls -al $fwfile
3-
#~/.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
4-
~/.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 0x0 $fwfile
3+
echo "Add --erase-all if needed"
4+
~/.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
55

0 commit comments

Comments
 (0)