IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page

#define setStackSize ( size   )     initLinkerSymbol(__stack_size, size)

This macro function controls the __stack_size constant, which specifies the stack size (in bytes) of the program's main task, overriding the default value. The value specified must be at least 1024 bytes or the program will fail to launch. The default stack size is 8192 bytes.

Note that the size must be a constant expression.

This would be placed in one of your C files outside the scope of any module.

setStackSize(80000) ;
SC2x3 V1.00 - CLIB V1.00
This macro does not exists in the SC1x, SC2x and SC1x3 C-Library.
See also:
setHeapInitialSize      setProgramAttributes

Top of page | Main page

Copyright © 2020 Beck IPC GmbH
Generated on Tue Jul 14 12:36:24 2020 by Doxygen 1.6.1