diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-05-19 14:35:30 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-05-19 14:35:30 -0600 |
commit | f1c45c43db08e8384e8620a703739a53826e5870 (patch) | |
tree | b1aff24b134f30cf104607fff12f148637636900 /nuttx/arch/arm/src/stm32/stm32_rcc.c | |
parent | 0fc2b6c2d86d4d043f2e69de03f6409c3e964cb4 (diff) | |
download | px4-nuttx-f1c45c43db08e8384e8620a703739a53826e5870.tar.gz px4-nuttx-f1c45c43db08e8384e8620a703739a53826e5870.tar.bz2 px4-nuttx-f1c45c43db08e8384e8620a703739a53826e5870.zip |
Add STM32L152X RCC PLL and FLASH support. Now compiles errorfree.
Diffstat (limited to 'nuttx/arch/arm/src/stm32/stm32_rcc.c')
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_rcc.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_rcc.c b/nuttx/arch/arm/src/stm32/stm32_rcc.c index 6b98a5664..67dfea713 100644 --- a/nuttx/arch/arm/src/stm32/stm32_rcc.c +++ b/nuttx/arch/arm/src/stm32/stm32_rcc.c @@ -76,14 +76,16 @@ /* Include chip-specific clocking initialization logic */ -#if defined(CONFIG_STM32_STM32F10XX) -# include "chip/stm32f10xxx_rcc.c" +#if defined(CONFIG_STM32_STM32L15XX) +# include "stm32l15xxx_rcc.c" +#elif defined(CONFIG_STM32_STM32F10XX) +# include "stm32f10xxx_rcc.c" #elif defined(CONFIG_STM32_STM32F20XX) -# include "chip/stm32f20xxx_rcc.c" +# include "stm32f20xxx_rcc.c" #elif defined(CONFIG_STM32_STM32F30XX) -# include "chip/stm32f30xxx_rcc.c" +# include "stm32f30xxx_rcc.c" #elif defined(CONFIG_STM32_STM32F40XX) -# include "chip/stm32f40xxx_rcc.c" +# include "stm32f40xxx_rcc.c" #else # error "Unsupported STM32 chip" #endif |