Loading...
 
Skip to main content

System Workbench for STM32


Errors during project compilation.

Good day to all.
There is a project written in TrueStudio v9.1.
When compiling errors appear:

expected '=', ',', ';', 'asm' or 'attribute' before 'arm_bilinear_interp_f32' arm_math.h
expected '=', ',', ';', 'asm' or 'attribute' before 'arm_bilinear_interp_q15' arm_math.h
expected '=', ',', ';', 'asm' or 'attribute' before 'arm_bilinear_interp_q31' arm_math.h
expected '=', ',', ';', 'asm' or 'attribute' before 'arm_bilinear_interp_q7' arm_math.h
expected '=', ',', ';', 'asm' or 'attribute' before 'arm_linear_interp_f32' arm_math.h

After adding ARM_MATH_CM4 to the symbols, another error emerged:

error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" core_cm4.h

But __FPU_PRESENT is already = 1U defined in another file.

Please help in solving this problem.

 
Collapse/expand modules below