From 3ef911345c94a6d612ab50c1e912e81cb2cc3f71 Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 6 Aug 2014 22:33:31 +0100 Subject: stmhal: Update STM32Cube F4 HAL driver to V1.3.0. This patch updates ST's HAL to the latest version, V1.3.0, dated 19 June 2014. Files were copied verbatim from the ST package. Only change was to suppress compiler warning of unused variables in 4 places. A lot of the changes from ST are cosmetic: comments and white space. Some small code changes here and there, and addition of F411 header. Main code change is how SysTick interrupt is set: it now has a configuration variable to set the priority, so we no longer need to work around this (originall in system_stm32f4xx.c). --- stmhal/system_stm32f4xx.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'stmhal/system_stm32f4xx.c') diff --git a/stmhal/system_stm32f4xx.c b/stmhal/system_stm32f4xx.c index bc9c5dff4..4f8090204 100644 --- a/stmhal/system_stm32f4xx.c +++ b/stmhal/system_stm32f4xx.c @@ -348,9 +348,4 @@ void SystemClock_Config(void) { __fatal_error("HAL_RCC_ClockConfig"); } - - // SysTick_Config (called from HL_RCC_ClockConfig) sets the SysTick_IRQn to - // be the lowest priority, but we want it to be the highest priority, so fix - // things here. - HAL_NVIC_SetPriority(SysTick_IRQn, 0, 0); } -- cgit v1.2.3