aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32F4xx
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-12-02 08:35:46 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-12-02 08:35:46 +0000
commit7055e2b5aa1d15c342cd97a0750801fdc13beac6 (patch)
treeb56515171d4868ee63b65e7238dc6aa7fd84b6ee /os/hal/ports/STM32/STM32F4xx
parent7d22893a937df028e2d702dadc5da8375d6239e3 (diff)
downloadChibiOS-7055e2b5aa1d15c342cd97a0750801fdc13beac6.tar.gz
ChibiOS-7055e2b5aa1d15c342cd97a0750801fdc13beac6.tar.bz2
ChibiOS-7055e2b5aa1d15c342cd97a0750801fdc13beac6.zip
All STM32 GPIOv2 platforms reworked for the new board files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11099 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/STM32F4xx')
-rw-r--r--os/hal/ports/STM32/STM32F4xx/hal_lld.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/os/hal/ports/STM32/STM32F4xx/hal_lld.c b/os/hal/ports/STM32/STM32F4xx/hal_lld.c
index eecd50e93..f71160961 100644
--- a/os/hal/ports/STM32/STM32F4xx/hal_lld.c
+++ b/os/hal/ports/STM32/STM32F4xx/hal_lld.c
@@ -114,9 +114,10 @@ static void hal_lld_backup_domain_init(void) {
void hal_lld_init(void) {
/* Reset of all peripherals. AHB3 is not reseted because it could have
- been initialized in the board initialization file (board.c) and AHB2 is not
- present in STM32F410. */
- rccResetAHB1(~0);
+ been initialized in the board initialization file (board.c).
+ Note, GPIOs are not reset because initialized before this point in
+ board files.*/
+ rccResetAHB1(~STM32_GPIO_EN_MASK);
#if !defined(STM32F410xx)
rccResetAHB2(~0);
#endif