aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32F7xx
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-12-01 14:44:23 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-12-01 14:44:23 +0000
commit7d22893a937df028e2d702dadc5da8375d6239e3 (patch)
treea2d263efb37f1588121d1ef9a6280fb16f1a8dbf /os/hal/ports/STM32/STM32F7xx
parent3253fc67035a31b1f08d51b46ca54a26fe499a9b (diff)
downloadChibiOS-7d22893a937df028e2d702dadc5da8375d6239e3.tar.gz
ChibiOS-7d22893a937df028e2d702dadc5da8375d6239e3.tar.bz2
ChibiOS-7d22893a937df028e2d702dadc5da8375d6239e3.zip
PAL-board changes, phase 1.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11097 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/STM32F7xx')
-rw-r--r--os/hal/ports/STM32/STM32F7xx/hal_lld.c6
1 files changed, 4 insertions, 2 deletions
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);