Skip to content

Project can build but indexer is not working on ESP32-2.0.17 #1686

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Nakio195 opened this issue Oct 27, 2024 · 1 comment
Closed

Project can build but indexer is not working on ESP32-2.0.17 #1686

Nakio195 opened this issue Oct 27, 2024 · 1 comment

Comments

@Nakio195
Copy link

First of all, so many thanks for your work, it's been 4 years I'm using Sloeber and it's just fantastic, !

Describe your environment

  • Sloeber Product version 4.4.3 on Windows 10

Describe the bug
On a fresh install and in a new workspace with the esp32-2.0.17 (so the last one before the 3.0.0 on which I get troubles as mentionned in #1649 and #1652 ), the project builds and upload but the indexer is not working at all.

To Reproduce

  1. Install Sloeber 4.4.3 product
  2. Add ESP32-2.0.17
  3. Create a simple project for a ESP32 Board (in my case WEMOS ESP32 MINI)
  4. The project builds but the indexer doesn't recognize anythings from pinMode to uint8
  5. Create a simple project for Arduino UNO, or ESP8266
  6. The projects builds and the indexer is ok

image

Expected behavior
The indexer doesn't seem to parse the includes

I tested on the last Nightly Build and the indexer is working fine.

Here are some screenshots, the workspace thats shows that there is no "Includes" folder in the ESP32 project
Workspace

The indexer working fine on a uno project and not working on the ESP32
IndexerUno
NoIndexer

The Paths settings showing an empty configuration on the ESP32 in opposition with a lot of things on a ESP8266 project
PrepocESP8266
PrepocESP32_2 0 17

Here are two pastebins showing the result of the indexer log for the two main of the project for a ESP32 and for the UNO
https://pastebin.com/NH5EGNsM --> ESP32
https://pastebin.com/5hzT9vnU --> ESP8266

I also tried on Sloeber 4.4.2, same result. Maybe it comes from the ESP32 2.0.17 or from my setup, but I can't find a way to add the includes path to be processed in Prepoc tabs under C / C++ General > Preprocessor Include Path, Macros, etc... > Entries

Even if the build succeed it is quite unusable working on a all red underlined code....

@jantje
Copy link
Member

jantje commented Oct 28, 2024

There are quite a bit of issues with the ESP releases (both due to ESP and Sloeber)
Version 5 (trying to finalize it this year) fixes some (hopefully all) of the Sloeber related issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants