Skip to main content

IAR Embedded Workbench for Arm 9.70.x

‑‑proc_stack_stack

In this section:
Syntax
‑‑proc_stack_stack=startaddress,endaddress

where stack is:

  • one of main or proc for Cortex-M, and

  • one of usr, svc, irq, fiq, und, or abt for other Arm cores

Parameters
startaddress

The start address of the stack, specified either as a value or as an expression.

endaddress

The end address of the stack, specified either as a value or as an expression.

For use with

All C-SPY drivers. Note that this command line option is only available when using C-SPY from the IDE—not in batch mode using cspybat.

Description

Use this option to provide C-SPY with information about reserved stacks. By default, C-SPY receives this information from the system startup code, but if you for some reason want to override the default values, this option can be useful.

Example
‑‑proc_stack_irq=0x8000,0x80FF

Caution

To set this option, use Project>Options>Debugger>Extra Options.