从Micropython官网下载的源码,用idf5编译的时候发现各种头文件找不到,调整后头文件都没问题了,但是遇到如下错误,不知道怎么搞。
n file included from /home/mars/esp/micropython-1.18/py/mphal.h:35,
from /home/mars/esp/micropython-1.18/py/modbuil
tins.c:232:
../mphalport.h: In function 'mp_hal_pin_input':
../mphalport.h:85:5: error: implicit declaration of function 'gpio_pad_select_gpio'; did you mean 'esp_rom_gpio_pad_select_gpio'? [-Werror=implicit-function-declaration]
gpio_pad_select_gpio(pin);
^~~~~~~~~~~~~~~~~~~~
esp_rom_gpio_pad_select_gpio
各位有经验的帮忙分析分析呗。