How to invoke RUN_USER_CODE from stub loader? (esptool)

Fundeckhermit
Posts: 7
Joined: Fri Apr 01, 2022 2:45 pm

How to invoke RUN_USER_CODE from stub loader? (esptool)

Postby Fundeckhermit » 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:

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
So it should remain in sub mode after uploading.

Who is online

Users browsing this forum: No registered users and 35 guests