That definitely helps. The errors disappear. They reappear when I change the editor window to another file and then back to main. This solves my problem, I don't have to sort through false errors.
Thanks for your help
Search found 16 matches
- Mon Jun 27, 2022 2:29 pm
- Forum: IDEs for ESP-IDF
- Topic: Eclipse ESP-IDF Indexer Issue: Symbol could not be resolved
- Replies: 4
- Views: 8864
- Thu Jun 23, 2022 1:50 pm
- Forum: IDEs for ESP-IDF
- Topic: Eclipse ESP-IDF Indexer Issue: Symbol could not be resolved
- Replies: 4
- Views: 8864
Re: Eclipse ESP-IDF Indexer Issue: Symbol could not be resolved
The snippet is: extern "C" void app_main(void) { initArduino(); esp_err_t err; // Initialize the GPIO ISR handler service err = gpio_install_isr_service(ESP_INTR_FLAG_IRAM); ESP_ERROR_CHECK(err); // Initialize the NVS (non-volatile storage) for saving and restoring the keys err = nvs_flash_init(); E...
- Wed Jun 22, 2022 11:35 pm
- Forum: ESP-IDF
- Topic: Using Eclipse EGit causes component dirs to disappear
- Replies: 0
- Views: 1111
Using Eclipse EGit causes component dirs to disappear
I am trying to add Git version control to a project. The project uses several component dirs. The project compiles and runs. Following the EGit documentation I moved the project out of my esp-idf-workspace into it's own directory tree. Still compiles and runs using esp-idf. I used EGit to import the...
- Wed Jun 15, 2022 12:34 am
- Forum: IDEs for ESP-IDF
- Topic: Eclipse ESP-IDF Indexer Issue: Symbol could not be resolved
- Replies: 4
- Views: 8864
Eclipse ESP-IDF Indexer Issue: Symbol could not be resolved
In building "https://github.com/manuelbl/ttn-esp32" examples I have run across symbol or field could not be resolved errors. The programs seem to execute correctly so it appears this is an indexer issue. A particular symbol is "max_transfer_sz." It is found in C:/Espressif/frameworks/esp-idf-v4.4.1/...
- Thu Jun 09, 2022 6:20 pm
- Forum: ESP-IDF
- Topic: Using Arduino as an IDF component: fatal error: Arduino.h: No such file or directory
- Replies: 2
- Views: 4900
Re: Using Arduino as an IDF component: fatal error: Arduino.h: No such file or directory
Here is the CMakeLists.txt file for the Temp18x20 directory:
And then you have to add the OneWIre library and it's CMakeLists.txt files
Code: Select all
idf_component_register(SRCS "Temp18x20.cpp"
INCLUDE_DIRS "include"
REQUIRES arduino OneWire)
- Sun Jun 05, 2022 11:11 pm
- Forum: ESP-IDF
- Topic: Using Arduino as an IDF component: fatal error: Arduino.h: No such file or directory
- Replies: 2
- Views: 4900
Re: Using Arduino as an IDF component: fatal error: Arduino.h: No such file or directory
I believe I need a CMakeLists.txt entry so that Temp18x20 will access the Arduino library just like main.cpp. Adding the 3rd line below starts compilation but error are thrown when other portions of the Arduino Library are not found. The CMakeLists.txt file in Temp18x20: idf_component_register(SRCS ...
- Sat Jun 04, 2022 11:26 pm
- Forum: ESP-IDF
- Topic: Using Arduino as an IDF component: fatal error: Arduino.h: No such file or directory
- Replies: 2
- Views: 4900
Using Arduino as an IDF component: fatal error: Arduino.h: No such file or directory
I created a project using Arduino as an IDF component. The test program works. I then added my own library function. The library function uses Arduino and therefore has a "# include Arduino.h" statement. For the library function I get "fatal error: Arduino.h: No such file or directory." The director...
- Wed Jun 24, 2020 10:07 pm
- Forum: General Discussion
- Topic: we can use the Arduino libraries as an ESP-IDF component ?
- Replies: 8
- Views: 15714
Re: we can use the Arduino libraries as an ESP-IDF component ?
I have this same problem. I have a program using arduino that compiles and runs in IDF version 3.2. Trying to compile this in 4.1. I received the same errorL: Failed to resolve component 'ethernet'. I followed your suggestions below, still same error. I then edited CmakeFile.txt to refer to "main.cp...
- Sat Jan 25, 2020 3:42 pm
- Forum: General Discussion
- Topic: ulp code as an esp-idf project component not compiling
- Replies: 4
- Views: 6110
Re: ulp code as an esp-idf project component not compiling
Thanks for the suggestion, but the results are still the same.
- Mon Jan 20, 2020 7:13 pm
- Forum: General Discussion
- Topic: ulp code as an esp-idf project component not compiling
- Replies: 4
- Views: 6110
Re: ulp code as an esp-idf project component not compiling
This works for me as well, but not when I move the ulp files to a component subdirectory. I'm trying to create a component so that the user is insulated from the ulp code.
Thanks
Thanks