aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32F4xx/hal_lld.c
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-04-30 20:55:39 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-04-30 20:55:39 +0000
commit319540ba0ef51f949a23bb1ab441b77cadd27829 (patch)
tree88fcf49aaf1bdb642fde646c45049659b3671922 /os/hal/ports/STM32/STM32F4xx/hal_lld.c
parentdb61d719ed076c0d00d187b2b5fdd32b00411aa7 (diff)
downloadChibiOS-319540ba0ef51f949a23bb1ab441b77cadd27829.tar.gz
ChibiOS-319540ba0ef51f949a23bb1ab441b77cadd27829.tar.bz2
ChibiOS-319540ba0ef51f949a23bb1ab441b77cadd27829.zip
Added support for STM32F410Rx,
Added board files for ST_NUCLEO64_F410RB Added demo for STM32/RT-STM32F410RB-NUCLEO64 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9392 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/STM32F4xx/hal_lld.c')
-rw-r--r--os/hal/ports/STM32/STM32F4xx/hal_lld.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/STM32F4xx/hal_lld.c b/os/hal/ports/STM32/STM32F4xx/hal_lld.c
index 7f02aaa30..bbfbad2b4 100644
--- a/os/hal/ports/STM32/STM32F4xx/hal_lld.c
+++ b/os/hal/ports/STM32/STM32F4xx/hal_lld.c
@@ -114,9 +114,12 @@ 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).*/
+ been initialized in the board initialization file (board.c) and AHB2 is not
+ present in STM32F410. */
rccResetAHB1(~0);
+#if !defined(STM32F410xx)
rccResetAHB2(~0);
+#endif
rccResetAPB1(~RCC_APB1RSTR_PWRRST);
rccResetAPB2(~0);