2018-07-28 12:37 AM
Hello everyone. I have a problem with Stm32f407IGH EVAL.
I coppy template of source code to other file. I also modified path include.
But when I compile, build output have 30 error, all error in file stm32f4xx_fmc.c file, like FMC_Bank1 undefined, FMC_BCR1_NBKEN undefined ... I don't understand why error because everything same the code template.
Please help me with this problem. Thank you.
2018-07-28 12:39 AM
2018-07-28 05:24 AM
Make sure the compiler's command line defines correctly set the model of CPU you are using as these control the defines/structures used by different peripherals. ie expect F407 to be different to F427
With SPL code I would expect the F407 to need to use the FSMC rather than FMC
2018-08-03 08:07 PM
Thank you for your reply. I'm totally complete to solve this problem.