aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-09-01 09:03:30 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-09-01 09:03:30 +0000
commitf4cf9a546cd3005aa022946d1ecd396a2dfe74f8 (patch)
treec0e6f0173188a01b453ae3100bf211f04c26bc14 /os
parent051dd3958373c27c9ffeb06da004dca0023003b6 (diff)
downloadChibiOS-f4cf9a546cd3005aa022946d1ecd396a2dfe74f8.tar.gz
ChibiOS-f4cf9a546cd3005aa022946d1ecd396a2dfe74f8.tar.bz2
ChibiOS-f4cf9a546cd3005aa022946d1ecd396a2dfe74f8.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7227 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/hal/ports/STM32/STM32F0xx/hal_lld.c1
-rw-r--r--os/hal/ports/STM32/STM32F30x/hal_lld.c1
-rw-r--r--os/hal/ports/STM32/STM32F37x/hal_lld.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/STM32F0xx/hal_lld.c b/os/hal/ports/STM32/STM32F0xx/hal_lld.c
index 7cdc7377e..156f859e0 100644
--- a/os/hal/ports/STM32/STM32F0xx/hal_lld.c
+++ b/os/hal/ports/STM32/STM32F0xx/hal_lld.c
@@ -99,6 +99,7 @@ static void hal_lld_backup_domain_init(void) {
void hal_lld_init(void) {
/* Reset of all peripherals.*/
+ rccResetAHB(0xFFFFFFFF);
rccResetAPB1(0xFFFFFFFF);
rccResetAPB2(~RCC_APB2RSTR_DBGMCURST);
diff --git a/os/hal/ports/STM32/STM32F30x/hal_lld.c b/os/hal/ports/STM32/STM32F30x/hal_lld.c
index 1f4666a05..6e5a8db8d 100644
--- a/os/hal/ports/STM32/STM32F30x/hal_lld.c
+++ b/os/hal/ports/STM32/STM32F30x/hal_lld.c
@@ -99,6 +99,7 @@ static void hal_lld_backup_domain_init(void) {
void hal_lld_init(void) {
/* Reset of all peripherals.*/
+ rccResetAHB(0xFFFFFFFF);
rccResetAPB1(0xFFFFFFFF);
rccResetAPB2(0xFFFFFFFF);
diff --git a/os/hal/ports/STM32/STM32F37x/hal_lld.c b/os/hal/ports/STM32/STM32F37x/hal_lld.c
index 3171dd3ef..b8c3e25be 100644
--- a/os/hal/ports/STM32/STM32F37x/hal_lld.c
+++ b/os/hal/ports/STM32/STM32F37x/hal_lld.c
@@ -99,6 +99,7 @@ static void hal_lld_backup_domain_init(void) {
void hal_lld_init(void) {
/* Reset of all peripherals.*/
+ rccResetAHB(0xFFFFFFFF);
rccResetAPB1(0xFFFFFFFF);
rccResetAPB2(0xFFFFFFFF);