Motor doesn't work under idf 4.2.2 + micropython 1.18
I build the esp32-micropython which is based v1.18 with the idf-4.2.2, It's worked well for led, except the motor.
But when I use the micropython master branch with the idf-4.4.1.All is right.
1、Is there any konwn reason about this?
2、Is the master branch is a statable branch ? May I use this branch?
ESP32_GENERIC_C3 binary does not run if compiled with IDF 5.0.4
Port, board and/or hardware
ESP32C3, GENERIC_ESP32_C3, SEEED XIAO ESP32C3 IDF 5.0.4
MicroPython version
v1.24.0-preview.224.g6c3dc0c0b (2024-08-22) .bin
Started with branch https://github.com/micropython/micropython/commit/0a11832cddbeed57bf0267afa0c833584817312d
Reproduction
(Presumes use of IDF 5.0.4 for working binary downloads:
$strings ~/Downloads/ESP32_GENERIC_C3-20240820-v1.24.0-preview.213.g76dd4facb.bin | grep IDF
[0;32mI (%lu) %s: ESP-IDF: %s
IDF version : v5.0.4
MicroPython-1.24.0-preview-riscv-IDFv5.0.4-with-newlib4.1.0
)
- For ESP32_GENERIC_C3, Download latest preview version v1.24.0-preview.224.g6c3dc0c0b (2024-08-22) .bin
- Write to board:
esptool --chip esp32c3 --port /dev/ttyACM0 --baud 460800 write_flash -z 0x0 ~/Downloads/ESP32_GENERIC_C3-20240820-v1.24.0-preview.213.g76dd4facb.bin - Reset board
mpremote
Expected behaviour
Expected >>> prompt after carriage return
Observed behaviour
No response
Additional Information
The first revision that fails with IDV 5.0.4 is:
https://github.com/micropython/micropython/commit/0a11832cddbeed57bf0267afa0c833584817312d esp32: Use the ESP-IDF default esp_console config for ESP32-C3
If I use IDF 5.2.2 to compile the most recent development versions the binary loads and runs successfully.
Code of Conduct
Yes, I agree