Description
Port, board and/or hardware
- MicroPython Port: esp32 - Board: ESP32S3 ) - Hardware: ESP32-S3-WROOM-1-N16R8
MicroPython version
v1.25.0-24-g0b7296233
Reproduction
-
使用以下命令克隆 MicroPython 仓库:
git clone https://github.com/micropython/micropython.git
cd micropython/ports/esp32 -
设置 ESP-IDF 环境(release/v5.4.1):
cd esp-idf
./install.sh esp32
source export.sh -
构建项目:
$ make -C mpy-cross
$ cd ports/esp32
$ make submodules
$ make
$ make BOARD=ESP32_GENERIC_S3
Expected behaviour
预期构建过程顺利完成,生成可用于 ESP32 的 MicroPython 固件。
Observed behaviour
在链接阶段出现以下错误:
/home/read/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20241119/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld: esp-idf/main/libmain.a(panichandler.c.obj): in function __wrap_esp_panic_handler': /home/read/esp32/micropython/ports/esp32/build-ESP32_GENERIC_S3/../panichandler.c:49:(.text.__wrap_esp_panic_handler+0x6): undefined reference to
esp_panic_handler_reconfigure_wdts'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Additional Information
No, I've provided everything above.- 经过调查,发现 esp_panic_handler_reconfigure_wdts
在 ESP-IDF 的 commit cd887ef59a7b966a7f431754aaec6ee653849d77 中被移除。
Code of Conduct
Yes, I agree