[riot-devel] Thread stack size in RIOT

Kaspar Schleiser kaspar at schleiser.de
Fri Aug 19 11:57:09 CEST 2016


Hi,

On 08/19/2016 10:54 AM, Adeel Mohammad Malik wrote:
> I would like to know if there is a way in RIOT to define different thread stack sizes in RIOT for different threads. The thread size is defined here https://github.com/RIOT-OS/RIOT/blob/master/cpu/cortexm_common/include/cpu_conf_common.h#L44.

The only compile-time stack sizes are for ISRs, the main and the idle
thread. All other stack sizes get defined by passing parameters to
thread_create().

Kaspar


More information about the devel mailing list