Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

How do I increase NIOS Stack Size ?

I am looking to increase the stack size for my NIOS II build. Can someone tell me how to do that. I am using the SBT for Eclipse IDE to develop my code

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    Perhaps you could try to allocate the heap to another memory you have in your system... tat would free up the stack...

    Regards,

    caridee
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Do you mean the stack for the host tools ?

    Or the stack for the target nios code ?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I mean for the target NIOS. If I create separate memory regions for stack and heap using the BSP editor and regenerate the linker file and the BSP, the linker file complains that it is unable to find _alt_stack_base