We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I am trying to migrate my project to ARM compiler 6.19 from an older version (5.xx).
In Compiler 5.xx, I know that the asm instruction "PRESERVE8" is used to specify that the current file preserves the eight-byte alignment of the stack.
This instruction is causing a linker error and I couldn't find any translation in the document "Migrate ARM Compiler 5 to ARM Compiler 6" or any other online forum.
How do I rewrite this instruction compatible with ARM Compiler 6? Is there any documentation available that describes how to resolve this issue?
Any help is much appreciated. Thank you
I don't think there is any special flag needed.
Compiling for Cortex-M implies Thumb code (they do not have the concept of Arm and Thumb state).
I appreciate that porting such code can be a non-trivial task.