Intellisense issue with Arduino ESP32 Project

Sysprogs forums Forums VisualGDB Intellisense issue with Arduino ESP32 Project

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #37135
    suremicro
    Participant

    Hi, since upgrading to the Arduino 2.3.8 IDE from 1.8 recently, all VisualGDB Arduino projects show intellisense errors for the ‘default’ libraries – such as Wire or Serial.

    For example, a Wire command such as Wire.begin() the Wire portion is highlighted as an error with “[CLang Intellisense] Error: Use of undeclared identifier ‘Wire'” popup message. All serial commands such as Serial.println() has the Serial in purple and the error underscoring println() with “[CLang Intellisense] Error: No matching member function for call to ‘println'”. This being due to it recognising Serial as a constant.

    With the Clang debugging on hovering over any error, many errors are listed, such as:

    [+1:23:22.460] Previously missing esp_idf_version.h is still missing
    [+1:23:22.460] Previously missing soc/soc_caps.h is still missing
    [+1:23:22.460] Previously missing driver/gpio.h is still missing
    [+1:23:22.460] Previously missing soc/soc_caps.h is still missing
    [+1:23:22.460] Previously missing soc/soc_caps.h is still missing
    [+1:23:22.461] Previously missing soc/gpio_sig_map.h is still missing
    [+1:23:22.462] Previously missing esp_log.h is still missing
    [+1:23:22.462] Previously missing rom/ets_sys.h is still missing
    [+1:23:22.463] Previously missing esp_timer.h is still missing
    [+1:23:22.463] Previously missing freertos/event_groups.h is still missing
    [+1:23:22.463] Previously missing freertos/semphr.h is still missing
    [+1:23:22.464] Previously missing freertos/queue.h is still missing
    [+1:23:22.464] Previously missing freertos/task.h is still missing
    [+1:23:22.464] Previously missing freertos/FreeRTOS.h is still missing
    [+1:23:22.465] Previously missing esp_sleep.h is still missing

    The code still compiles correctly. All the Project Settings are the same as before. I uninstalled Arduino 1.8 before installing the new version.

    Visual Studio 2020 17.14.27, Arduino IDE 2.3.8, Visual GDB 6.0R8 5338, Windows 10

    ESP32 toolchain GCC 13.2.0; GDB 12.1, Arduino esp32 3.3.7

    Any ideas?

     

    • This topic was modified 1 day, 23 hours ago by suremicro.
    #37137
    suremicro
    Participant

    Additional information: The intellisense works for AVR boards and also ESP-IDF projects, it just seems to be an issue with Arduino ESP32.

    I have also uninstalled VisualGDB and Arduino, remove all references and settings I could find and installed both again with the same result.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.