This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Defining new stack area for analysis in IAR


I'm using S32DS Platform to configure S32k146 microcontroller and due to project reqirements I export project to IAR 9.10.

The generated startup file, map file,... are not fully compatible with IAR and need modifications. for example project entry point and vector table names needs modification as mentioned in link below:

The problem is that IAR recognizes CSTACK symbol as stack and lets you analyze defined CSTACK area in your project map file, however in generated map file using RTD, stack is defined in different way (only upper limit and lower limit of stack is defined) and CSTACK is undefined. So I can't use stack analysis option in IAR (C_SPY debugger).

Anyone has idea how can I define my stack region for IAR for analysis?