cancel
Showing results for 
Search instead for 
Did you mean: 

Stack Size control

sjayapal
Associate II
Posted on March 23, 2006 at 03:57

Stack Size control

2 REPLIES 2
sjayapal
Associate II
Posted on March 23, 2006 at 02:40

Micro used - ST7FL35

Compiler used - Cosmic

Memory Model used - Medium Memory Model

The physical stack grows from 0x1FF to 0x180, is it possible to reduce it to say 50 bytes? if so, the expectation is that stack should grow from 0x1FF to 0x1cd. On reaching 0x1CD it should reset back to 0x1ff and start again.

-Suganya 🙂

fggnrc
Associate II
Posted on March 23, 2006 at 03:57

There is no way to change the hardware range of the stack area.

If you want to re-use the stack ram, it is up to you to handle the stack overflows....

Bye

EtaPhi