:1:2: note: instantiated into assembly here
cpsie i
^
In file included from /core-a/include\cmsis_compiler.h:41:
../../../Firmware/cmsis/core-a/include/cmsis_armclang.h:388:19: error: unrecognized instruction mnemonic
__ASM volatile ("cpsid i" : : : "memory");
^
:1:2: note: instantiated into assembly here
cpsid i
I am trying to use armclang to compile code with latest CMSIS core-a. My complier flags: -march=armv8-a --target=aarch64-arm-none-eabi -O2 -g.
However, I am getting the following errors in compiling and using __enable_irq() and __disable_irq() functions.
Any suggestions?