The linker options under Eclipse don't have a stack size setting, neither does the ld command line.
Which file do I have to change?
Thanks
Anyone has any clues???
Do Freescale people respond in these forums?!
Hi Shaun,
the stack size is set in the linker (.ld) file, look for something like this:
__stack_size = 0x0200; | /* required amount of stack */ |
I hope this helps,
Erich
There is no .ld linker file in the mbed project environment.
Ideally, I would like to pass the stack size parameter to the linker from the configuration in the "other linker flags" field below, using the -Xlinker switch. However, the map file does not specify a particular stack_size variable that I can override. I can see my setting appearing in the map file, but I don't think it is used, because the .stack segment does not change. Also the linker does not recognize a switch like -mstack-size=0x1000.
Using arm-none-eabi-g++ tools.
Clues?