cancel
Showing results for 
Search instead for 
Did you mean: 

CMSIS-DSP with STM32F302

ermes
Associate

Dear all,

is it possible to use CMSIS-DSP with STM32F302XXX?

Actually I'm working with NUCLEO STM32F302R8Tx (but final board will have STM32F302RCT6) and I have two issues :

1) I am not able to find lib *.a in repository CMSIS_DSP 

2) Following this guide Guide I get this error ../Drivers/CMSIS/Include/core_cm4.h:105:8: error: #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"

 

Is there some hardware limitation?

Or am I missing some step?

 

Thank you

2 REPLIES 2
Andrew Neil
Evangelist III

@ermes wrote:

2) Following this guide Guide I get this error ../Drivers/CMSIS/Include/core_cm4.h:105:8: error: #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"


Well, the STM32F302R8 does have an FPU - so there must be a problem in your configuration:

https://www.st.com/en/microcontrollers-microprocessors/stm32f302r8.html#:~:text=embedding%20a%20floating%20point%20unit%20(FPU)

Have you tried a search of the forum?

https://community.st.com/t5/forums/searchpage/tab/message?q=cmsis%20dsp%20stm32f3&noSynonym=false&collapse_discussion=true 

https://community.st.com/t5/forums/searchpage/tab/message?advanced=false&allow_punctuation=false&q=cmsis%20dsp

 

 

SofLit
ST Employee

Hello,

As stated by @Andrew Neil  STM32F302 has a HW FPU.

Check out the DSP demo provided in X-CUBE-DSPDEMO (STM32F429I-Discovery project) which you can inspire from.

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.