Hi all, I’m new to rtos, I bought the book: FreeRTOS for ESP32-Arduino where the assert macro is used to catch errors, however, although it does not compromise the compilation, it does not provide any errors at runtime.
I think it is due to the arduino ide ver.2.5.6,
Can anyone help me?
Thanks
Can you elaborate what you mean by this? Were you expecting any assert to fail and it did not? Also, can you share the definition of configASSERT from your FreeRTOSConfig.h file?
Hi, I am expecting an error displayed in the Serial monitor. I want to clarify that I am not using FreeRTOS (IDF) but the Arduino IDE, by the way I do not know where to find FreeRTOSConfig.h file, which I assume is specific to the IDF environment.
However I tried the same code using Visual Studio Code, and here the assert macro works. So I assume that the Arduino IDE is not configured properly.
FreeRTOS requires FreeRTOSConfig.h file, so it must be somewhere in your environment. For Arduino IDE specific questions, I’d recommend to reach out to its maintainers.
thanks a lot for the help, i will look where the header is implemented