2018-08-28 03:02 PM
Hi,
I am planning to use "arm_math" function with a project generate by CubeMX, the IDE I use was SW4STM32.
The include "arm_math.h" works fine and report no error while compiling
But when I tend to use function which only has prototypes in "arm_math.h", the errors shows up as: "undefined reference to......"
After some research, I've try adding path of "arm_cortexM4lf_math" and similar to
Properties -> C/C++ General -> Paths and Symbols -> libraries
Properties -> C/C++ General -> Paths and Symbols -> library paths
Properties -> C/C++ Build -> Settings -> MCU GCC Linker -> libraries
Non of the method so far I find works and the error is all the same:
"cannot find -larm_cortexM4lf_math.lib"
Although the file is obviously located right at the position.
Has anyone encounter this problem before? Am I doing any step wrong?
Or, has anyone successfully use function in "arm_math" with CubeMX tool?
Thank you!