diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-12-31 12:28:10 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-12-31 12:28:10 +1000 |
commit | 57c14b74e4d2bca53a02b58bbe4c4aafc868e187 (patch) | |
tree | ffa37c22d412e8252a37342af9bbb99a82fc0c42 /boards/base/STM32F429i-Discovery/stm32f4xx_fmc.h | |
parent | a5b80da2077047ddee8e8c75d84b2d2b156f8f2d (diff) | |
download | uGFX-57c14b74e4d2bca53a02b58bbe4c4aafc868e187.tar.gz uGFX-57c14b74e4d2bca53a02b58bbe4c4aafc868e187.tar.bz2 uGFX-57c14b74e4d2bca53a02b58bbe4c4aafc868e187.zip |
Add Chibios v3 example files for the STM32F429iDiscovery board.
Diffstat (limited to 'boards/base/STM32F429i-Discovery/stm32f4xx_fmc.h')
-rw-r--r-- | boards/base/STM32F429i-Discovery/stm32f4xx_fmc.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/boards/base/STM32F429i-Discovery/stm32f4xx_fmc.h b/boards/base/STM32F429i-Discovery/stm32f4xx_fmc.h index 3764c794..1196f135 100644 --- a/boards/base/STM32F429i-Discovery/stm32f4xx_fmc.h +++ b/boards/base/STM32F429i-Discovery/stm32f4xx_fmc.h @@ -28,12 +28,20 @@ extern "C" { #endif -//FIXME this should not be needed +// HACKS to fix portability issues. #define STM32F429_439xx /* Includes ------------------------------------------------------------------*/ #include "stm32f4xx.h" +// More HACKS to fix portability issues. +#if !defined(FMC_Bank2) && !defined(FMC_Bank3) + #define FMC_Bank2 FMC_Bank2_3 + #define FMC_Bank3 FMC_Bank2_3 +#endif + + + /** @addtogroup STM32F4xx_StdPeriph_Driver * @{ */ |