Trying to build this with the latest esp-idf and xtensa prebuilt toolkit, having not touched it for a year. make menuconfig runs ok, but I get the following error trying to make all:
CC build/arduino/cores/esp32/esp32-hal-misc.o
/home/solitaire/gits/iotuz-esp32-firmware/components/arduino/cores/esp32/esp32-hal-misc.c: In function 'arduino_phy_init':
/home/solitaire/gits/iotuz-esp32-firmware/components/arduino/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: some warnings being treated as errors
/home/solitaire/gits/iotuz-esp32-firmware/esp-idf/make/component_wrapper.mk:285: recipe for target 'cores/esp32/esp32-hal-misc.o' failed
make[1]: [cores/esp32/esp32-hal-misc.o] Error 1
/home/solitaire/gits/iotuz-esp32-firmware/esp-idf/make/project.mk:505: recipe for target 'component-arduino-build' failed
make: [component-arduino-build] Error 2
Changing the menuconfig options for PHY init options doesn't seem to help.
Trying to build this with the latest esp-idf and xtensa prebuilt toolkit, having not touched it for a year. make menuconfig runs ok, but I get the following error trying to make all:
CC build/arduino/cores/esp32/esp32-hal-misc.o /home/solitaire/gits/iotuz-esp32-firmware/components/arduino/cores/esp32/esp32-hal-misc.c: In function 'arduino_phy_init': /home/solitaire/gits/iotuz-esp32-firmware/components/arduino/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: some warnings being treated as errors /home/solitaire/gits/iotuz-esp32-firmware/esp-idf/make/component_wrapper.mk:285: recipe for target 'cores/esp32/esp32-hal-misc.o' failed make[1]: [cores/esp32/esp32-hal-misc.o] Error 1 /home/solitaire/gits/iotuz-esp32-firmware/esp-idf/make/project.mk:505: recipe for target 'component-arduino-build' failed make: [component-arduino-build] Error 2
Changing the menuconfig options for PHY init options doesn't seem to help.
Any suggestions?