cancel
Showing results for 
Search instead for 
Did you mean: 

en.x-cube-dspdemo\X-CUBE-DSPDEMO Error

senthil
Associate II

en.x-cube-dspdemo\X-CUBE-DSPDEMO\Projects\STM32F429I-Discovery\STM32F429_DSPDEMO\MDK-ARM When Open and compile error come like below its fresh copy no modification done .how can i resolve that ?

compiling BasicMathFunctions.c...

..\..\..\..\Drivers\CMSIS\Include\core_cm4.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)"

e:\Users\MY PC\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\DSP\Source\BasicMathFunctions\BasicMathFunctions.c: 0 warnings, 1 error

compiling BayesFunctions.c...

..\..\..\..\Drivers\CMSIS\Include\core_cm4.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)"

e:\Users\MY PC\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\DSP\Source\BayesFunctions\BayesFunctions.c: 0 warnings, 1 error

compiling CommonTables.c...

..\..\..\..\Drivers\CMSIS\Include\core_cm4.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)"

e:\Users\MY PC\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\DSP\Source\CommonTables\CommonTables.c: 0 warnings, 1 error

compiling ComplexMathFunctions.c...

..\..\..\..\Drivers\CMSIS\Include\core_cm4.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)"

e:\Users\MY PC\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\DSP\Source\ComplexMathFunctions\ComplexMathFunctions.c: 0 warnings, 1 error

compiling DistanceFunctions.c...

..\..\..\..\Drivers\CMSIS\Include\core_cm4.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)"

e:\Users\MY PC\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\DSP\Source\DistanceFunctions\DistanceFunctions.c: 0 warnings, 1 error

compiling ControllerFunctions.c...

..\..\..\..\Drivers\CMSIS\Include\core_cm4.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)"

e:\Users\MY PC\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\DSP\Source\ControllerFunctions\ControllerFunctions.c: 0 warnings, 1 error

compiling FastMathFunctions.c...

..\..\..\..\Drivers\CMSIS\Include\core_cm4.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)"

e:\Users\MY PC\AppData\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_cm4.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)"

e:\Users\MY PC\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\DSP\Source\FilteringFunctions\FilteringFunctions.c: 0 warnings, 1 error

compiling stm32f4xx_hal_dac_ex.c...

compiling MatrixFunctions.c...

..\..\..\..\Drivers\CMSIS\Include\core_cm4.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)"

e:\Users\MY PC\AppData\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_cm4.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)"

e:\Users\MY PC\AppData\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_cm4.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)"

e:\Users\MY PC\AppData\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_cm4.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)"

e:\Users\MY PC\AppData\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_cm4.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)"

e:\Users\MY PC\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\DSP\Source\TransformFunctions\TransformFunctions.c: 0 warnings, 1 error

compiling stm32f4xx_hal_dma_ex.c...

compiling system_stm32f4xx.c...

compiling LCDConf_stm32f429i_disco_MB1075.c...

".\STM32F429I_DISCO_DSP\X-CUBE-DSPDEMO.axf" - 13 Error(s), 0 Warning(s).

Target not created.

Build Time Elapsed: 00:00:35

1 ACCEPTED SOLUTION

Accepted Solutions
Amel NASRI
ST Employee

Hi @senthil​ ,

I am using the same example and I am able to compile it without issue using Keil.

I suggest you to make sure that:

  • the whole package is extracted successfully without missing any file
  • "Floating Point Hardware" is used (Single Precision) in IDE options
  • following preprocessor defines are there: USE_HAL_DRIVER,STM32F429xx,USE_STM32F429I_DISCO,ARM_MATH_CM4

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
Amel NASRI
ST Employee

Hi @senthil​ ,

I am using the same example and I am able to compile it without issue using Keil.

I suggest you to make sure that:

  • the whole package is extracted successfully without missing any file
  • "Floating Point Hardware" is used (Single Precision) in IDE options
  • following preprocessor defines are there: USE_HAL_DRIVER,STM32F429xx,USE_STM32F429I_DISCO,ARM_MATH_CM4

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.