From 7d22893a937df028e2d702dadc5da8375d6239e3 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Fri, 1 Dec 2017 14:44:23 +0000 Subject: PAL-board changes, phase 1. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11097 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/STM32F7xx/hal_lld.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'os/hal/ports/STM32/STM32F7xx') diff --git a/os/hal/ports/STM32/STM32F7xx/hal_lld.c b/os/hal/ports/STM32/STM32F7xx/hal_lld.c index 8f5645b88..16595bdc0 100644 --- a/os/hal/ports/STM32/STM32F7xx/hal_lld.c +++ b/os/hal/ports/STM32/STM32F7xx/hal_lld.c @@ -114,8 +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).*/ - rccResetAHB1(~0); + been initialized in the board initialization file (board.c). + Note, GPIO are not reset because initialized before this point in + board files.*/ + rccResetAHB1(~STM32_GPIO_EN_MASK); rccResetAHB2(~0); rccResetAPB1(~RCC_APB1RSTR_PWRRST); rccResetAPB2(~0); -- cgit v1.2.3