1. Which embOS do you use?
embOS for ARM 5.16.1 with IAR 9.40.1 and J-Link.
2. Which CPU and eval board do you use?
ST STM32WB55VG.
Hello,
We are currently migrating a couple of projects from IAR 9.32.2 to IAR 9.40.1 to test it. We have encountered some issues we didn't have with the previous versions of IAR that are embOS related.
- When trying to debug one of the projects, we get a new error when connecting to the target in the form of Wed Jun 21, 2023, 11:08:42: : Error: Unknown or ambiguous symbol. OS_Global. This is not an issue in IAR 9.32.2 and the configuration used for the project is the same.
- Related to this, We are unable to see the call stacks of different tasks during debugging using the embOS IAR plugin. All tasks shown in the tasks view show the same call stack (Shown in the attached picture "call_stack.png"). The same project with IAR 9.32.2 was fine and could show all the information.
- Finally, this is an embOS 5.16.1 specific issue, OS_HEAP_malloc() supports being called from main before OS_Start but somehow it is straight-up throwing us to OS_Error OS_ERR_INIT_NOT_CALLED (165) (This behavior did not happen in embOS 5.02a).
Is it that embOS is not supported in IAR 9.40.1? Why is OS_HEAP_malloc throwing OS_Error?
Thank you!