Question
Adopt STM32F4 Discovery Board Code to STM32F405
Posted on March 22, 2014 at 10:18
My application board has STM32F405RG microcontroller. I tried to use a project came from STM32F4 Discovery Board by just changing the microcontroller from Keil manual ''Project\Select Device for Target 'ST Link Flash..., selecting STM32F405RG, then Rebuild all target files. The following error occured:
C:\Keil\ARM\CMSIS\Include\core_cm4.h(97): warning: #1215-D: #warning directive: ''Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)'' The strange thing is that after I change the device back to STM32F407VG which is the original selection and Rebuild all target files, the same error occured again. Can anyone tell me why? Thanks!