How to invoke RUN_USER_CODE from stub loader? (esptool)
Posted: Sun Jul 21, 2024 7:54 pm
My board has a ESP32-S3 that I want to reset after uploading. Based on the the documentation a stub loaders is send to supplement the bootloader found in ROM. This stub has the option to run user code (effectively a soft-reset).
My platformio .ini files looks like this:
So it should remain in sub mode after uploading.
My platformio .ini files looks like this:
Code: Select all
[env]
platform = espressif32
board = redpill_esp32s3
framework = arduino
monitor_speed = 460800
board_upload.before_reset = no_reset
board_upload.after_reset = no_reset_stub