RFC: Increase max stack size for tasks #523
Labels
p: wishlist
This should be worked on when there's time
rfc
This describes a feature, enhancement, or optimization in broad terms and should be discussed
Problem:
Currently tasks in PROS are limited to 64k words, or 256kb of stack space. Most applications do not appear to reach this limit, but the folks working on vex-rt have ran into issues due to rust's memory management. Currently, the limit appears to be due to the fact that the stack depth is a uint16_t:
Proposed Solution:
Change the FreeRTOS function to take a uint32_t for the stack depth, and add extra code to perform checks for things like:
Additionally, other things need to be considered such as:
The text was updated successfully, but these errors were encountered: