Intellisense problem in VSCode while using touch_sensor library

User avatar
HinaSorasaki
Posts: 1
Joined: Wed Aug 02, 2023 1:06 pm

Intellisense problem in VSCode while using touch_sensor library

Postby HinaSorasaki » Thu Aug 03, 2023 10:22 am

I'm currently working on a project using the ESP32-S2 chip, alongside ESP-IDF 5.1 in VSCode. However, I've encountered a problem while utilizing the touch_sensor library. It seems that VSCode is unable to resolve some functions correctly.
Image

I did some research and found that the touch_sensor.h header file for ESP32-S2 should be located in[/url], the touch_sensor.h header file for ESP32-S2 is located in components/driver/touch_sensor/esp32s2/include/driver/touch_sensor.h

Unlike the ESP32, the ESP32-S2 has some different APIs, and it seems that VSCode included touch_sensor.h meant for ESP32 rather than ESP32-S2.
Image

Here is my c_cpp_properties.json config
Image

Who is online

Users browsing this forum: No registered users and 107 guests