2016-02-07 07:42 PM
I am attempting to build for the first time with my STM32F429I-DISCO using eclipse and the STM32 standard periph. I set up my toolchain from the instrcutions
. One thing I am stuck on is in stm32f4xx_fsmc.c I am getting 'FSMC_Bank1' undeclared errors. Also similar errors for Bank 2, Bank 3, Bank 4, BTCR and many others starting with FSMC_...I have pointed my includes to the path containing stm32f4xx.h but I still can't get the variables to resolve. I have included STM32F439NIHx_FLASH.ld in my project root, and project properties have the symbols STM32F429_439xx and USE_STDPERIPH_DRIVER (all configurations). #fsmc-fmc-stm32f429-build #stm32f4-eclipse-toolchain-build2016-02-08 05:53 AM
2016-02-08 09:02 AM
Yes, the tutorial is for an older model DISCO board, the one you have used the FMC for the SDRAM.
You'll have to cherry pick which C source files are used in the project, and which include files the stm32f4xx_conf.h file pulls in.2016-02-09 04:04 AM