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.
1 year ago.
I've exported a project from the online ide into Qt Creator. It doesn't seem like much of the CMSIS stuff is enabled. I've added some macros to my config file so that arm_math.h will be included by core_cm4.h:
- define ARM_MATH_CM4
- define GNUC
- define VFP_FP
/../main.cpp:57: undefined reference to `arm_copy_f32' collect2: error: ld returned 1 exit status
It seems the implementation is missing and that I need to include (from the CMSIS github) the file libarm_cortexM4l_math.a. Is this right? Is the exporter tool really that far off? arm_math.h suggests arm_cortexM4l_math.lib which "the library installer contains".