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

how to compile c code with cde functions(like __arm_cx1a) using gcc arm toolchain

Hi, 

   I am trying to compile a simple test C code which calls  a cde function __arm_cx1a.

   And always encountered with a ld error: undefined reference to '__builtin_arm_cx1asi'

   The version of arm-none-eabi-gcc i am using is  10.2.1(GNU Arm Embedded Toolchain 10-2020-q4-major)

   The command is 

   arm-none-eabi-gcc -mcpu=cortex-m33 test.c -D__ARM_FEATURE_CDE --specs=nosys.specs -mthumb

   Anyone know how to work this out?

  Thanks.