Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

How do I increase NIOS Stack Size ?

Altera_Forum
Honored Contributor II
2,159 Views

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

0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
955 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
955 Views

Do you mean the stack for the host tools ? 

Or the stack for the target nios code ?
0 Kudos
Altera_Forum
Honored Contributor II
955 Views

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

0 Kudos
Reply