Skip to main content
Visitor II
March 23, 2006
Question

Stack Size control

  • March 23, 2006
  • 2 replies
  • 607 views
Posted on March 23, 2006 at 03:57

Stack Size control

    This topic has been closed for replies.

    2 replies

    sjayapalAuthor
    Visitor II
    March 23, 2006
    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 :)

    Visitor II
    March 23, 2006
    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