#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
Hi, I downloaded X-CUBE-DSPDEMO from https://my.st.com/content/my_st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32cube-expansion-packages/x-cube-dspdemo.license=1593557368708.product=X-CUBE-DSPDEMO.version=1. 0.0.html
When I try to compile the STM32F746_DSPDEMO from Keil, i.e., MDK-ARM version of the code, I get the following errors, what is wrong?
Build started: Project: Project
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'X-CUBE-DSPDEMO'
compiling main.c...
compiling DistanceFunctions.c...
..\..\..\..\Drivers\CMSIS\Include\core_cm7.h(129): error: #35: #error directive: "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
C:\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\DSP\Source\DistanceFunctions\DistanceFunctions.c: 0 warnings, 1 error
compiling FastMathFunctions.c...
..\..\..\..\Drivers\CMSIS\Include\core_cm7.h(129): error: #35: #error directive: "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
C:\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\DSP\Source\FastMathFunctions\FastMathFunctions.c: 0 warnings, 1 error
compiling FilteringFunctions.c...
..\..\..\..\Drivers\CMSIS\Include\core_cm7.h(129): error: #35: #error directive: "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
C:\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\DSP\Source\FilteringFunctions\FilteringFunctions.c: 0 warnings, 1 error
compiling MatrixFunctions.c...
..\..\..\..\Drivers\CMSIS\Include\core_cm7.h(129): error: #35: #error directive: "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
C:\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\DSP\Source\MatrixFunctions\MatrixFunctions.c: 0 warnings, 1 error
compiling SVMFunctions.c...
..\..\..\..\Drivers\CMSIS\Include\core_cm7.h(129): error: #35: #error directive: "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
C:\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\DSP\Source\SVMFunctions\SVMFunctions.c: 0 warnings, 1 error
compiling StatisticsFunctions.c...
..\..\..\..\Drivers\CMSIS\Include\core_cm7.h(129): error: #35: #error directive: "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
C:\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\DSP\Source\StatisticsFunctions\StatisticsFunctions.c: 0 warnings, 1 error
compiling SupportFunctions.c...
..\..\..\..\Drivers\CMSIS\Include\core_cm7.h(129): error: #35: #error directive: "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
C:\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\DSP\Source\SupportFunctions\SupportFunctions.c: 0 warnings, 1 error
compiling TransformFunctions.c...
..\..\..\..\Drivers\CMSIS\Include\core_cm7.h(129): error: #35: #error directive: "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
C:\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\DSP\Source\TransformFunctions\TransformFunctions.c: 0 warnings, 1 error
compiling BayesFunctions.c...
..\..\..\..\Drivers\CMSIS\Include\core_cm7.h(129): error: #35: #error directive: "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
C:\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\DSP\Source\BayesFunctions\BayesFunctions.c: 0 warnings, 1 error
compiling ComplexMathFunctions.c...
..\..\..\..\Drivers\CMSIS\Include\core_cm7.h(129): error: #35: #error directive: "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
C:\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\DSP\Source\ComplexMathFunctions\ComplexMathFunctions.c: 0 warnings, 1 error
compiling BasicMathFunctions.c...
..\..\..\..\Drivers\CMSIS\Include\core_cm7.h(129): error: #35: #error directive: "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
C:\Local\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\DSP\Source\BasicMathFunctions\BasicMathFunctions.c: 0 warnings, 1 error
compiling ControllerFunctions.c...
..\..\..\..\Drivers\CMSIS\Include\core_cm7.h(129): error: #35: #error directive: "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
C:\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\DSP\Source\ControllerFunctions\ControllerFunctions.c: 0 warnings, 1 error
compiling CommonTables.c...
..\..\..\..\Drivers\CMSIS\Include\core_cm7.h(129): error: #35: #error directive: "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
C:\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\DSP\Source\CommonTables\CommonTables.c: 0 warnings, 1 error
compiling LCDConf.c...
"STM32746G_DISCOVERY\X-CUBE-DSPDEMO.axf" - 13 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:12
