diff options
author | Damien George <damien.p.george@gmail.com> | 2014-08-06 22:33:31 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-08-06 22:33:31 +0100 |
commit | 3ef911345c94a6d612ab50c1e912e81cb2cc3f71 (patch) | |
tree | 9425ff491cd738a3f6ae11028e1834925ea746e2 /stmhal/system_stm32f4xx.c | |
parent | 8a11d693cf794c8cc276a5715df11ecdc8824ef1 (diff) | |
download | micropython-3ef911345c94a6d612ab50c1e912e81cb2cc3f71.tar.gz micropython-3ef911345c94a6d612ab50c1e912e81cb2cc3f71.zip |
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).
Diffstat (limited to 'stmhal/system_stm32f4xx.c')
-rw-r--r-- | stmhal/system_stm32f4xx.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/stmhal/system_stm32f4xx.c b/stmhal/system_stm32f4xx.c index bc9c5dff4b..4f8090204f 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); } |