从Micropython官网下载的源码,用idf5编译的时候发现各种头文件找不到,调整后头文件都没问题了,但是遇到如下错误,不知道怎么搞。
n file included from /home/mars/esp/micropython-1.18/py/mphal.h:35,
from /home/mars/esp/micropython-1.18/py/modbuiltins.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
各位有经验的帮忙分析分析呗。
紧急求助,编译Micropython的时候遇到implicit declaration of function 'gpio_pad_select_gpio'的问题,如从下手
Who is online
Users browsing this forum: No registered users and 101 guests