diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-12-04 13:03:14 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-12-04 13:03:14 +0000 |
commit | bd809f5f652f8f6bbcf7bcc1c68b979245b1b511 (patch) | |
tree | 34492d55bf4cb1cd9ac799fb8704f185f31a1eb2 /os/hal | |
parent | 1c60f17682e5ccfa2c330da98b17985422c35842 (diff) | |
download | ChibiOS-bd809f5f652f8f6bbcf7bcc1c68b979245b1b511.tar.gz ChibiOS-bd809f5f652f8f6bbcf7bcc1c68b979245b1b511.tar.bz2 ChibiOS-bd809f5f652f8f6bbcf7bcc1c68b979245b1b511.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4869 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r-- | os/hal/platforms/STM32/GPIOv2/pal_lld.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32/GPIOv2/pal_lld.c b/os/hal/platforms/STM32/GPIOv2/pal_lld.c index 7f8771b5f..2977d3644 100644 --- a/os/hal/platforms/STM32/GPIOv2/pal_lld.c +++ b/os/hal/platforms/STM32/GPIOv2/pal_lld.c @@ -111,6 +111,8 @@ void _pal_lld_init(const PALConfig *config) { RCC->AHBLPENR |= AHB_LPEN_MASK;
#elif defined(STM32F0XX)
rccEnableAHB(AHB_EN_MASK, TRUE);
+#elif defined(STM32F30X)
+ rccEnableAHB(AHB_EN_MASK, TRUE);
#elif defined(STM32F2XX) || defined(STM32F4XX)
RCC->AHB1ENR |= AHB1_EN_MASK;
RCC->AHB1LPENR |= AHB1_LPEN_MASK;
|