main.mpy not run on boot
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
ESP32S3 4M Port missing. Partition table in Firmware in file is wrong
Port, board and/or hardware
esp32
MicroPython version
I have a problem on 4M variant of ESP32S3 (ESP32S3 Super Mini)
4M variant of firmware working good, without any problems.
But 4M firmware download is missing now on Micropython firmware download page.
I try to flash "universal" firmware v1.25.0 (2025-04-15)
and now my Filesystem not working.
MPY: soft reboot
Traceback (most recent call last):
File "_boot.py", line 11, in <module>
File "inisetup.py", line 38, in setup
File "inisetup.py", line 7, in check_bootsec
OSError: (-24579, 'ESP_ERR_FLASH_NOT_INITIALISED')
MicroPython v1.25.0 on 2025-04-15; Generic ESP32S3 module with ESP32S3
I try to compare 4M firmware and new firmware, and partition table at adress 0x8000 in flash memory is different.
Partition table in new firmware is for 6MB filesystem.
Please bring back the 4M variant of Micropython
Reproduction
Download new image from Micropython website for ESP32S3
https://micropython.org/resources/firmware/ESP32_GENERIC_S3-20250415-v1.25.0.bin
Upload it to 4M variant of ESP32S3 and open REPL
Expected behaviour
I expected working filesystem, but vfs partition is broken now.
Observed behaviour
Flashing back to 4M Variant firmware helps... but for other people 4M build is missing now on download page
Additional Information
No, I've provided everything above.
Code of Conduct
Yes, I agree