← index #8693Issue #15701
Related · medium · value 1.667
QUERY · ISSUE

Motor doesn't work under idf 4.2.2 + micropython 1.18

openby JackieLsopened 2022-05-24updated 2022-05-31
bugport-esp32

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?

CANDIDATE · ISSUE

ESP32_GENERIC_C3 binary does not run if compiled with IDF 5.0.4

closedby ricksorensenopened 2024-08-23updated 2024-09-03
bugport-esp32

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

)

  1. For ESP32_GENERIC_C3, Download latest preview version v1.24.0-preview.224.g6c3dc0c0b (2024-08-22) .bin
  2. 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
  3. Reset board
  4. 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

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied