agieson_cl
New Contributor
11 months agoALT_EXCEPTION_STACK macro does not create exception_stack memory region
Hi!
I'm using Quartus Standard Prime 23.1.1 to upgrade a NiosII C10LP design to NiosV and I'm having trouble with the BSP / Linker.
From the description of the hal.linker.enable_exception_stack option in settings.bsp:
Enables use of a separate exception stack. If true, defines the macro ALT_EXCEPTION_STACK in linker.h, adds a memory region called exception_stack to linker.x, and provides the symbols __alt_exception_stack_pointer and __alt_exception_stack_limit in linker.x.
So, in my linker.h file I do see the macro ALT_EXCEPTION_STACK defined; however, in my linker.x there is no memory region called exception_stack.
Is there something else I need to do to make sure this memory region is generated?