How do i define the task size in xTaskCreate()?

374 Views Asked by At

I'm trying to write a simple code to blink the on board LED using the xTaskCreate() function. But i dont know what put in the stack size parameter

1

There are 1 best solutions below

0
niavlys On

The FreeRTOSConfig.h file provide a defined value configMINIMAL_STACK_SIZE. This is a good starting point, especially for a such simple code (LED blinking).