Implicit Function Declaration #9289
-
Dear community members, I am using arduino as a component in VS Code, I am having issues in ESP32 Core header files. it is saying implicit declaration for some of the i2c functions: D:/esp32/Test-Helloworld/hello_world/components/cores/esp32/esp32-hal-i2c-slave.c:517:5: error: implicit declaration of function 'i2c_ll_cal_bus_clk' [-Werror=implicit-function-declaration] I tried multiple solutions, but nothing worked for me. Can anyone help me solve this error? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@M-Rizwan-Anwar - Arduino as Component requests that IDF version matches the correct Arduino Core version. |
Beta Was this translation helpful? Give feedback.
-
It looks like the function names have changed: |
Beta Was this translation helpful? Give feedback.
There is no Arduino Core that uses IDF 5.2. Please change the IDF version using
git checkout <TAG>
in order to use the right IDF version.The right version of IDF can be found in each Arduino Core version Release Notes.
Example: Arduino Core 2.0.14 uses IDF 4.4.6 as written in https://github.com/espressif/arduino-esp32/releases/tag/2.0.14