Thanks very much for your reply.
Although I will try all of your other suggestions, I think that the code was compiling because it was in the "main.c" file, but the "Linter" from PlatformIO still analyzed as it was C++ (I guess?).
Thanks a lot,
Regards, Francesco.
Search found 4 matches
- Wed Sep 05, 2018 7:51 pm
- Forum: ESP-IDF
- Topic: PlatformIO Linter Error but then it compiles
- Replies: 3
- Views: 5130
- Tue Sep 04, 2018 9:24 pm
- Forum: ESP-IDF
- Topic: PlatformIO Linter Error but then it compiles
- Replies: 3
- Views: 5130
PlatformIO Linter Error but then it compiles
Good evening everyone, I am running the several wi-fi examples for esp32 with platformIO on Atom (MAC). The so called "Linter" which from what I have understood is a sort of intellisense that seeks for errors in the code, tells me that I cannot do the following because "C99 designator is outside agg...
- Fri Aug 31, 2018 6:30 am
- Forum: ESP-IDF
- Topic: Implementation of prvInitialiseNewTask
- Replies: 2
- Views: 3733
Re: Implementation of prvInitialiseNewTask
Good morning Angus and thanks for your answer. I am a bit embarrassed because I know what forward declarations are in C, but for some reason the regexp that I was using to search the implementation of the function was finding only the declaration. I wrongly thought that it might have been a function...
- Tue Aug 28, 2018 9:03 pm
- Forum: ESP-IDF
- Topic: Implementation of prvInitialiseNewTask
- Replies: 2
- Views: 3733
Implementation of prvInitialiseNewTask
Good evening everyone, I was browsing the source code of the IDF libs, particuarly I was looking in the FreeRTOS folder. I wished to learn about the implementation of "xTaskCreateStaticPinnedToCore", which is re-implemented by IDF to allow the user to specify which core should run the task. As I pro...