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 seeing the below errors when I try to compile my code in Arm Compiler 6. Can you please help me to resolve this issue?
error: invalid operand for instruction MRS r0, PSP
error: invalid operand for instruction MRS r0, MSP
Environment are below:
CORE = cortex-m4FPU = fpv4-sp-d16ARCH = armv7-a
Pradeep
You must change the -march option to -march=armv7-m.
Also, remove -marm.
I dont think the -mfpu option you have is valid either.