Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 5 months ago.
Which preprocessor configuration variables are defined?
The CMSIS library has a handful of configuration macros that are needed. Is there an easy way of build a library with some predefined symbols in the mbed environment?
For example, I have used CMSIS DSp with the M4 variants so I need this macro:
ARM_MATH_CM4
I am assuming you have defined the symbol ARM_MATH_CM3? Let me know if there is an easy way of defining a preprocessor symbol so I can get the CM4 variant of the library (to get all of the juicy CM4 ASM instructions!)
Question relating to:
1 Answer
10 years, 5 months ago.
The build system automatically defines ARM_MATH_CM4 if you're compiling for an M4.