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.

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

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





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:36 2017 by Doxygen 1.6.1