Replies: 1 comment
-
Use ESP-IDF 5.4.2 instead. There were some changes in IDF in between 5.4.1 and 5.4.2 that caused those build errors |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Board
ESP32-S3
Device Description
waveshare esp32-s3 pico
Hardware Configuration
No config!
Version
other
IDE Name
VSCode
Operating System
Linux Manjaro with last update
Flash frequency
80MHz
PSRAM enabled
no
Upload speed
default
Description
i create new project (ESP-IDF 5.4.1) arduino-as-component template
then add:
Add arduino as ESP-IDF component.
click build and get errors:
#include errors detected. Consider updating your compile_commands.json or includePath. Squiggles are disabled for this translation unit (/run/media/vadiki/250_GB_1TB/projects/ESP32S3/france/Wavashare_ESP32S3_Pico_LCD_Touch/LVGL/TFT_Touch_esp_idf54/main/main.cpp).C/C++(1696)
cannot open source file "Arduino.h"C/C++(1696)
ESP-IDF Hint: esp_mac.h header file is not included by esp_system.h anymore. It shall then be manually included with #include "esp_mac.h"
/run/media/vadiki/250_GB_1TB/projects/ESP32S3/france/Wavashare_ESP32S3_Pico_LCD_Touch/LVGL/TFT_Touch_esp_idf54/components/arduino/cores/esp32/esp32-hal-i2c-slave.c: In function 'i2cSlaveInit':
/run/media/vadiki/250_GB_1TB/projects/ESP32S3/france/Wavashare_ESP32S3_Pico_LCD_Touch/LVGL/TFT_Touch_esp_idf54/components/arduino/cores/esp32/esp32-hal-i2c-slave.c:339:3: error: implicit declaration of function 'i2c_ll_set_mode'; did you mean 'i2c_ll_set_tout'? [-Wimplicit-function-declaration]
339 | i2c_ll_set_mode(i2c->dev, I2C_BUS_MODE_SLAVE);
| ^~~~~~~~~~~~~~~
| i2c_ll_set_tout
/run/media/vadiki/250_GB_1TB/projects/ESP32S3/france/Wavashare_ESP32S3_Pico_LCD_Touch/LVGL/TFT_Touch_esp_idf54/components/arduino/cores/esp32/esp32-hal-i2c-slave.c:339:29: error: 'I2C_BUS_MODE_SLAVE' undeclared (first use in this function); did you mean 'I2C_MODE_SLAVE'?
339 | i2c_ll_set_mode(i2c->dev, I2C_BUS_MODE_SLAVE);
| ^~~~~~~~~~~~~~~~~~
| I2C_MODE_SLAVE
/run/media/vadiki/250_GB_1TB/projects/ESP32S3/france/Wavashare_ESP32S3_Pico_LCD_Touch/LVGL/TFT_Touch_esp_idf54/components/arduino/cores/esp32/esp32-hal-i2c-slave.c:339:29: note: each undeclared identifier is reported only once for each function it appears in
/run/media/vadiki/250_GB_1TB/projects/ESP32S3/france/Wavashare_ESP32S3_Pico_LCD_Touch/LVGL/TFT_Touch_esp_idf54/components/arduino/cores/esp32/esp32-hal-i2c-slave.c:340:3: error: implicit declaration of function 'i2c_ll_enable_pins_open_drain' [-Wimplicit-function-declaration]
340 | i2c_ll_enable_pins_open_drain(i2c->dev, true);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[1461/1713] Building C object esp-idf/arduino/CMakeFiles/__idf_arduino.dir/cores/esp32/esp32-hal-misc.c.obj
ninja: build stopped: subcommand failed.
Sketch
Debug Message
Other Steps to Reproduce
I have checked existing issues, online documentation and the Troubleshooting Guide
Beta Was this translation helpful? Give feedback.
All reactions