esp32-examples
esp32-examples copied to clipboard
Compilation problem on Lolin Lite V1.0.0
Hello The compilation provides an error due to esp32-hal-misc.c
$ make all && make flash && make monitor CC build/arduino-esp32/cores/esp32/esp32-hal-misc.o C:/msys32/home/fa125436/esp/esp32-examples/components/arduino-esp32/cores/esp32/esp32-hal-misc.c: In function 'arduino_phy_init': C:/msys32/home/fa125436/esp/esp32-examples/components/arduino-esp32/cores/esp32/esp32-hal-misc.c:53:5: error: implicit declaration of function 'esp_phy_init' [-Werror=implicit-function-declaration] esp_phy_init(init_data, calibration_mode, cal_data); ^ cc1.exe: some warnings being treated as errors make[1]: *** [/home/fa125436/esp/esp-idf/make/component_wrapper.mk:286: cores/esp32/esp32-hal-misc.o] Error 1 make: *** [C:/msys32/home/fa125436/esp/esp-idf/make/project.mk:468: component-arduino-esp32-build] Error 2
How to fix that?