QUERY · ISSUE
main.mpy not run on boot
bug
Port, board and/or hardware
ESP32-S3-WROOM-1-N16R2
MicroPython version
MicroPython v1.27.0
Reproduction
- Compile main.py with mpy-cross.
- Upload main.mpy to ESP32 filesystem.
- Reset the ESP32.
Expected behaviour
Run of main.mpy on boot.
Can it be a documentation issue instead of a bug?:
"To fully optimise flash usage and memory consumption, you can copy pre-compiled main.mpy and/or boot.mpy files to the filesystem, or even freeze them into the firmware build instead."
Observed behaviour
main.mpy is ignored and REPL is started.
"import main" in the REPL executes main.mpy right.
Additional Information
No, I've provided everything above.
Code of Conduct
Yes, I agree
CANDIDATE · ISSUE
1.24 breaks USB OTG support
bugport-esp32
Port, board and/or hardware
ESP32S3
MicroPython version
1.23 / 1.24
Reproduction
Instll kernel, reset, see if it boots
Expected behaviour
Boots
Observed behaviour
Loading firmware 1.24 does not boot using USB-OTG. I don't have serial port. Just USB-OTG, so need kernel to default that on.
Loading firmware 1.23 works as expected.
Additional Information
No, I've provided everything above.
Code of Conduct
Yes, I agree