Cannot build on STM32F429I_DISC)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-02-07 7:42 PM
Posted on February 08, 2016 at 04:42
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-build
Labels:
- Labels:
-
FMC-FSMC
-
STM32F4 Series
This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-02-08 5:53 AM
Posted on February 08, 2016 at 14:53I think the problem is that I need to exclude the stm32f4xx_fsmc files from my build since the reference manual RM0090 (chapter 36, 37) states that the FSMC only applies to STM32F40x/411x. I need to include the stm32f4xx_fmc files for the STM32F429I which I excluded by blindly following tutorial.I will check later.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-02-08 9:02 AM
Posted on February 08, 2016 at 18:02
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.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-02-09 4:04 AM
Posted on February 09, 2016 at 13:04That was the fix. Thanks for your input
