There is no real advantage to keeping stack sizes powers of 2. They should be a multiple of the heap allocation quantum (if dynamically created), or for a MPU restricted task, the MPU region quantum.
richard-damon
(Richard Damon)
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| xTaskCreateRestricted - puxStackBuffer | 4 | 755 | December 15, 2020 | |
| Stack Size ! | 3 | 281 | January 9, 2009 | |
| STR750_GCC stack allocation | 1 | 220 | October 2, 2007 | |
| how to allocate heap size | 6 | 471 | September 10, 2015 | |
| About Stack and Heap | 2 | 336 | January 3, 2007 |