Solved
Need help with VScode + cmsis arm_math.h
Hi Guys, I'm new about VScode. I try to use arm_math.h in my program. but after i set include path in json file, the vscode can't find the function. and give me the message <<Function definition for 'arm_mat_init_f32' not found.C/C++>> my board is nucleo -H723ZG
and i also try to connect the library in the st-project.cmake like below
target_link_libraries(
${TARGET_NAME} PRIVATE
"arm_cortexM7l_math"
)
target_link_directories(
${TARGET_NAME} PRIVATE
"${PROJECT_SOURCE_DIR}/Middlewares/ST/ARM/DSP/Lib/"
)
and set
add_definitions(-DARM_MATH_CM7)
add_definitions(-D__FPU_PRESENT)
but it still doesn't work. anyone can give me some idea about it?
