aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-02-12 13:07:07 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-02-12 13:07:07 +0000
commit276903d456eb23037421412fbc549ce56f99adc0 (patch)
tree4bdbfe16e9902485f775468262406d0a4f1f5819 /os/hal/platforms/STM32
parent64c0f991ec737f08e82dfe9d74dd7ce560d2aa93 (diff)
downloadChibiOS-276903d456eb23037421412fbc549ce56f99adc0.tar.gz
ChibiOS-276903d456eb23037421412fbc549ce56f99adc0.tar.bz2
ChibiOS-276903d456eb23037421412fbc549ce56f99adc0.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5159 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32')
-rw-r--r--os/hal/platforms/STM32/GPIOv2/pal_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32/GPIOv2/pal_lld.c b/os/hal/platforms/STM32/GPIOv2/pal_lld.c
index 1d0b1f9fc..f58c6b7c3 100644
--- a/os/hal/platforms/STM32/GPIOv2/pal_lld.c
+++ b/os/hal/platforms/STM32/GPIOv2/pal_lld.c
@@ -51,7 +51,7 @@
RCC_AHB1ENR_GPIOGEN | RCC_AHB1ENR_GPIOHEN | \
RCC_AHB1ENR_GPIOIEN)
#define AHB1_LPEN_MASK AHB1_EN_MASK
-#elif defined(STM32F30X)
+#elif defined(STM32F30X) || defined(STM32F37X)
#define AHB_EN_MASK (RCC_AHBENR_GPIOAEN | RCC_AHBENR_GPIOBEN | \
RCC_AHBENR_GPIOCEN | RCC_AHBENR_GPIODEN | \
RCC_AHBENR_GPIOEEN | RCC_AHBENR_GPIOFEN)