Esp32S3 : Question concerning errors got during the compilation of firmware via ESP-IDF !
Posted: Tue May 20, 2025 7:40 am
Good morning,
I am using an Esp32S3 with ESP-IDF IDE.
When I am compiling the firmware using ESP-IDF, I get some unwanted errors from the compiler that I don't understand.
For example :
1) When I am calling the method : esp_task_wdt_add(NULL) in order to add a Task to the watchdog, I get the error message "Invalid arguments" from the compiler.
2) When I define a class with attributes inside, I sometimes get an error when compiling the constructor of the class saying that some attributes have not been initialized properly (However, all the attributes have been defined in the constructor).
3) When I am allocating a variable in order to initialize the ledstrip, I get an error from the compiler saying that some "arguments are not valid".
And so on....
However, when I am ready my code, everything seems to be ok at these points.
So, I need to right click on these lines of code and left click on the button quick fix in order to remove these errors.
Could you please help me on this subject and explain me what can happen ???
Thank you for your help,
Best regards,
Thomas TRUILHE
I am using an Esp32S3 with ESP-IDF IDE.
When I am compiling the firmware using ESP-IDF, I get some unwanted errors from the compiler that I don't understand.
For example :
1) When I am calling the method : esp_task_wdt_add(NULL) in order to add a Task to the watchdog, I get the error message "Invalid arguments" from the compiler.
2) When I define a class with attributes inside, I sometimes get an error when compiling the constructor of the class saying that some attributes have not been initialized properly (However, all the attributes have been defined in the constructor).
3) When I am allocating a variable in order to initialize the ledstrip, I get an error from the compiler saying that some "arguments are not valid".
And so on....
However, when I am ready my code, everything seems to be ok at these points.
So, I need to right click on these lines of code and left click on the button quick fix in order to remove these errors.
Could you please help me on this subject and explain me what can happen ???
Thank you for your help,
Best regards,
Thomas TRUILHE