From 69ed56536ca4fadff1ee6b8ac5d5ab91f8302f1c Mon Sep 17 00:00:00 2001 From: Frank Voorburg Date: Mon, 8 Aug 2022 13:28:31 +0000 Subject: [PATCH] Refs #1550. Improved SysTick_Handler handling. git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@979 5dc33758-31d5-4daf-9ae8-b24bf3d40d73 --- .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/startup_stm32f051.s | 5 ++++- .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/startup_stm32f091.s | 5 ++++- .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/startup_stm32g071xx.s | 5 ++++- .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/startup_stm32g0b1xx.s | 5 ++++- .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/startup_stm32l552xx.s | 6 +++++- .../Boot/main.c | 15 +++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/startup_stm32f103xb.s | 5 ++++- .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/startup_stm32f103xb.s | 5 ++++- .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/startup_stm32f103xb.s | 5 ++++- .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/startup_stm32f103xb.s | 5 ++++- .../Boot/main.c | 15 +++++++++++++++ .../Boot/main.c | 15 +++++++++++++++ .../Boot/main.c | 15 +++++++++++++++ .../Boot/startup_stm32f207xx.s | 5 ++++- .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/startup_stm32f303xc.s | 5 ++++- .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/ide/stm32f303.uvoptx | 2 +- .../Boot/ide/stm32f303.uvprojx | 6 +++--- .../Boot/main.c | 16 ++++++++++++++++ .../Boot/startup_stm32f303x8.s | 5 ++++- .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/startup_stm32f429xx.s | 5 ++++- .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/startup_stm32f405xx.s | 5 ++++- .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/startup_stm32g474xx.s | 5 ++++- .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/startup_stm32l476xx.s | 5 ++++- .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/startup_stm32l496xx.s | 5 ++++- .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/startup_stm32f746xx.s | 5 ++++- .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/startup_stm32f767xx.s | 5 ++++- .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/main.c | 16 ++++++++++++++++ .../Boot/startup_stm32h743xx.s | 5 ++++- Target/Source/ARMCM0_STM32F0/timer.c | 17 ----------------- Target/Source/ARMCM0_STM32G0/timer.c | 17 ----------------- Target/Source/ARMCM33_STM32L5/timer.c | 17 ----------------- Target/Source/ARMCM3_STM32F1/timer.c | 17 ----------------- Target/Source/ARMCM3_STM32F2/timer.c | 17 ----------------- Target/Source/ARMCM4_STM32F3/timer.c | 17 ----------------- Target/Source/ARMCM4_STM32F4/timer.c | 17 ----------------- Target/Source/ARMCM4_STM32G4/timer.c | 17 ----------------- Target/Source/ARMCM4_STM32L4/timer.c | 17 ----------------- Target/Source/ARMCM7_STM32F7/timer.c | 17 ----------------- Target/Source/ARMCM7_STM32H7/timer.c | 17 ----------------- 93 files changed, 1041 insertions(+), 211 deletions(-) diff --git a/Target/Demo/ARMCM0_STM32F0_Discovery_STM32F051_GCC/Boot/main.c b/Target/Demo/ARMCM0_STM32F0_Discovery_STM32F051_GCC/Boot/main.c index ebe14b19..0e6cc23e 100644 --- a/Target/Demo/ARMCM0_STM32F0_Discovery_STM32F051_GCC/Boot/main.c +++ b/Target/Demo/ARMCM0_STM32F0_Discovery_STM32F051_GCC/Boot/main.c @@ -219,4 +219,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM0_STM32F0_Discovery_STM32F051_IAR/Boot/main.c b/Target/Demo/ARMCM0_STM32F0_Discovery_STM32F051_IAR/Boot/main.c index 0dfdc36c..806bb346 100644 --- a/Target/Demo/ARMCM0_STM32F0_Discovery_STM32F051_IAR/Boot/main.c +++ b/Target/Demo/ARMCM0_STM32F0_Discovery_STM32F051_IAR/Boot/main.c @@ -216,4 +216,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM0_STM32F0_Discovery_STM32F051_Keil/Boot/main.c b/Target/Demo/ARMCM0_STM32F0_Discovery_STM32F051_Keil/Boot/main.c index dac6784d..4995a697 100644 --- a/Target/Demo/ARMCM0_STM32F0_Discovery_STM32F051_Keil/Boot/main.c +++ b/Target/Demo/ARMCM0_STM32F0_Discovery_STM32F051_Keil/Boot/main.c @@ -219,4 +219,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM0_STM32F0_Discovery_STM32F051_Keil/Boot/startup_stm32f051.s b/Target/Demo/ARMCM0_STM32F0_Discovery_STM32F051_Keil/Boot/startup_stm32f051.s index e6048c00..27bc16c5 100644 --- a/Target/Demo/ARMCM0_STM32F0_Discovery_STM32F051_Keil/Boot/startup_stm32f051.s +++ b/Target/Demo/ARMCM0_STM32F0_Discovery_STM32F051_Keil/Boot/startup_stm32f051.s @@ -61,7 +61,6 @@ __heap_limit ; Vector Table Mapped to Address 0 at Reset AREA RESET, DATA, READONLY - IMPORT SysTick_Handler EXPORT __Vectors EXPORT __Vectors_End EXPORT __Vectors_Size @@ -181,6 +180,10 @@ PendSV_Handler PROC EXPORT PendSV_Handler [WEAK] B . ENDP +SysTick_Handler PROC + EXPORT SysTick_Handler [WEAK] + B . + ENDP Default_Handler PROC diff --git a/Target/Demo/ARMCM0_STM32F0_Nucleo_F091RC_GCC/Boot/main.c b/Target/Demo/ARMCM0_STM32F0_Nucleo_F091RC_GCC/Boot/main.c index c66cf9c6..05b53eac 100644 --- a/Target/Demo/ARMCM0_STM32F0_Nucleo_F091RC_GCC/Boot/main.c +++ b/Target/Demo/ARMCM0_STM32F0_Nucleo_F091RC_GCC/Boot/main.c @@ -243,4 +243,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM0_STM32F0_Nucleo_F091RC_IAR/Boot/main.c b/Target/Demo/ARMCM0_STM32F0_Nucleo_F091RC_IAR/Boot/main.c index 73502005..209103a9 100644 --- a/Target/Demo/ARMCM0_STM32F0_Nucleo_F091RC_IAR/Boot/main.c +++ b/Target/Demo/ARMCM0_STM32F0_Nucleo_F091RC_IAR/Boot/main.c @@ -240,4 +240,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM0_STM32F0_Nucleo_F091RC_Keil/Boot/main.c b/Target/Demo/ARMCM0_STM32F0_Nucleo_F091RC_Keil/Boot/main.c index dfb17517..c3a388fe 100644 --- a/Target/Demo/ARMCM0_STM32F0_Nucleo_F091RC_Keil/Boot/main.c +++ b/Target/Demo/ARMCM0_STM32F0_Nucleo_F091RC_Keil/Boot/main.c @@ -243,4 +243,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM0_STM32F0_Nucleo_F091RC_Keil/Boot/startup_stm32f091.s b/Target/Demo/ARMCM0_STM32F0_Nucleo_F091RC_Keil/Boot/startup_stm32f091.s index c3d1d6b3..b06c4ab4 100644 --- a/Target/Demo/ARMCM0_STM32F0_Nucleo_F091RC_Keil/Boot/startup_stm32f091.s +++ b/Target/Demo/ARMCM0_STM32F0_Nucleo_F091RC_Keil/Boot/startup_stm32f091.s @@ -62,7 +62,6 @@ __heap_limit ; Vector Table Mapped to Address 0 at Reset AREA RESET, DATA, READONLY - IMPORT SysTick_Handler EXPORT __Vectors EXPORT __Vectors_End EXPORT __Vectors_Size @@ -181,6 +180,10 @@ PendSV_Handler PROC EXPORT PendSV_Handler [WEAK] B . ENDP +SysTick_Handler PROC + EXPORT SysTick_Handler [WEAK] + B . + ENDP Default_Handler PROC diff --git a/Target/Demo/ARMCM0_STM32G0_Nucleo_G071RB_GCC/Boot/main.c b/Target/Demo/ARMCM0_STM32G0_Nucleo_G071RB_GCC/Boot/main.c index eebc0249..98c7ceac 100644 --- a/Target/Demo/ARMCM0_STM32G0_Nucleo_G071RB_GCC/Boot/main.c +++ b/Target/Demo/ARMCM0_STM32G0_Nucleo_G071RB_GCC/Boot/main.c @@ -225,4 +225,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM0_STM32G0_Nucleo_G071RB_IAR/Boot/main.c b/Target/Demo/ARMCM0_STM32G0_Nucleo_G071RB_IAR/Boot/main.c index ddbabecf..4ab67e7e 100644 --- a/Target/Demo/ARMCM0_STM32G0_Nucleo_G071RB_IAR/Boot/main.c +++ b/Target/Demo/ARMCM0_STM32G0_Nucleo_G071RB_IAR/Boot/main.c @@ -222,4 +222,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM0_STM32G0_Nucleo_G071RB_Keil/Boot/main.c b/Target/Demo/ARMCM0_STM32G0_Nucleo_G071RB_Keil/Boot/main.c index 13dd5743..632f6b16 100644 --- a/Target/Demo/ARMCM0_STM32G0_Nucleo_G071RB_Keil/Boot/main.c +++ b/Target/Demo/ARMCM0_STM32G0_Nucleo_G071RB_Keil/Boot/main.c @@ -225,4 +225,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM0_STM32G0_Nucleo_G071RB_Keil/Boot/startup_stm32g071xx.s b/Target/Demo/ARMCM0_STM32G0_Nucleo_G071RB_Keil/Boot/startup_stm32g071xx.s index 87b6a45b..bf3cc1fd 100644 --- a/Target/Demo/ARMCM0_STM32G0_Nucleo_G071RB_Keil/Boot/startup_stm32g071xx.s +++ b/Target/Demo/ARMCM0_STM32G0_Nucleo_G071RB_Keil/Boot/startup_stm32g071xx.s @@ -56,7 +56,6 @@ __heap_limit EXPORT __Vectors EXPORT __Vectors_End EXPORT __Vectors_Size - IMPORT SysTick_Handler __Vectors DCD __initial_sp ; Top of Stack DCD Reset_Handler ; Reset Handler @@ -144,6 +143,10 @@ PendSV_Handler PROC EXPORT PendSV_Handler [WEAK] B . ENDP +SysTick_Handler PROC + EXPORT SysTick_Handler [WEAK] + B . + ENDP Default_Handler PROC diff --git a/Target/Demo/ARMCM0_STM32G0_Nucleo_G0B1RE_GCC/Boot/main.c b/Target/Demo/ARMCM0_STM32G0_Nucleo_G0B1RE_GCC/Boot/main.c index 0910e94b..0d6feea4 100644 --- a/Target/Demo/ARMCM0_STM32G0_Nucleo_G0B1RE_GCC/Boot/main.c +++ b/Target/Demo/ARMCM0_STM32G0_Nucleo_G0B1RE_GCC/Boot/main.c @@ -254,4 +254,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM0_STM32G0_Nucleo_G0B1RE_IAR/Boot/main.c b/Target/Demo/ARMCM0_STM32G0_Nucleo_G0B1RE_IAR/Boot/main.c index 9d726136..b51c9849 100644 --- a/Target/Demo/ARMCM0_STM32G0_Nucleo_G0B1RE_IAR/Boot/main.c +++ b/Target/Demo/ARMCM0_STM32G0_Nucleo_G0B1RE_IAR/Boot/main.c @@ -251,4 +251,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM0_STM32G0_Nucleo_G0B1RE_Keil/Boot/main.c b/Target/Demo/ARMCM0_STM32G0_Nucleo_G0B1RE_Keil/Boot/main.c index 8f19d2ee..0c6c25cf 100644 --- a/Target/Demo/ARMCM0_STM32G0_Nucleo_G0B1RE_Keil/Boot/main.c +++ b/Target/Demo/ARMCM0_STM32G0_Nucleo_G0B1RE_Keil/Boot/main.c @@ -254,4 +254,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM0_STM32G0_Nucleo_G0B1RE_Keil/Boot/startup_stm32g0b1xx.s b/Target/Demo/ARMCM0_STM32G0_Nucleo_G0B1RE_Keil/Boot/startup_stm32g0b1xx.s index 9387c4f8..6f0604b0 100644 --- a/Target/Demo/ARMCM0_STM32G0_Nucleo_G0B1RE_Keil/Boot/startup_stm32g0b1xx.s +++ b/Target/Demo/ARMCM0_STM32G0_Nucleo_G0B1RE_Keil/Boot/startup_stm32g0b1xx.s @@ -55,7 +55,6 @@ __heap_limit EXPORT __Vectors EXPORT __Vectors_End EXPORT __Vectors_Size - IMPORT SysTick_Handler __Vectors DCD __initial_sp ; Top of Stack DCD Reset_Handler ; Reset Handler @@ -143,6 +142,10 @@ PendSV_Handler PROC EXPORT PendSV_Handler [WEAK] B . ENDP +SysTick_Handler PROC + EXPORT SysTick_Handler [WEAK] + B . + ENDP Default_Handler PROC diff --git a/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_GCC/Boot/main.c b/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_GCC/Boot/main.c index 9193ab27..c64c7fc6 100644 --- a/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_GCC/Boot/main.c +++ b/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_GCC/Boot/main.c @@ -301,4 +301,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_IAR/Boot/main.c b/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_IAR/Boot/main.c index bba419d3..1a65e5c2 100644 --- a/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_IAR/Boot/main.c +++ b/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_IAR/Boot/main.c @@ -298,4 +298,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_Keil/Boot/main.c b/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_Keil/Boot/main.c index 589f13c3..79d1a447 100644 --- a/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_Keil/Boot/main.c +++ b/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_Keil/Boot/main.c @@ -301,4 +301,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_Keil/Boot/startup_stm32l552xx.s b/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_Keil/Boot/startup_stm32l552xx.s index 36388220..ec9af8e9 100644 --- a/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_Keil/Boot/startup_stm32l552xx.s +++ b/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_Keil/Boot/startup_stm32l552xx.s @@ -55,7 +55,6 @@ __heap_limit ; Vector Table Mapped to Address 0 at Reset AREA RESET, DATA, READONLY - IMPORT SysTick_Handler EXPORT __Vectors EXPORT __Vectors_End EXPORT __Vectors_Size @@ -254,6 +253,11 @@ PendSV_Handler\ EXPORT PendSV_Handler [WEAK] B . ENDP +SysTick_Handler\ + PROC + EXPORT SysTick_Handler [WEAK] + B . + ENDP Default_Handler PROC diff --git a/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Boot/main.c b/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Boot/main.c index 771245d4..3227ffb9 100644 --- a/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Boot/main.c +++ b/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Boot/main.c @@ -219,4 +219,19 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_IAR/Boot/main.c b/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_IAR/Boot/main.c index 351625e9..c4a50304 100644 --- a/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_IAR/Boot/main.c +++ b/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_IAR/Boot/main.c @@ -216,4 +216,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_Keil/Boot/main.c b/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_Keil/Boot/main.c index 245fabe1..b77e3378 100644 --- a/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_Keil/Boot/main.c +++ b/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_Keil/Boot/main.c @@ -219,4 +219,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_Keil/Boot/startup_stm32f103xb.s b/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_Keil/Boot/startup_stm32f103xb.s index b56053c7..56229837 100644 --- a/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_Keil/Boot/startup_stm32f103xb.s +++ b/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_Keil/Boot/startup_stm32f103xb.s @@ -54,7 +54,6 @@ __heap_limit ; Vector Table Mapped to Address 0 at Reset AREA RESET, DATA, READONLY - IMPORT SysTick_Handler EXPORT __Vectors EXPORT __Vectors_End EXPORT __Vectors_Size @@ -176,6 +175,10 @@ PendSV_Handler PROC EXPORT PendSV_Handler [WEAK] B . ENDP +SysTick_Handler PROC + EXPORT SysTick_Handler [WEAK] + B . + ENDP Default_Handler PROC diff --git a/Target/Demo/ARMCM3_STM32F1_Olimex_STM32H103_GCC/Boot/main.c b/Target/Demo/ARMCM3_STM32F1_Olimex_STM32H103_GCC/Boot/main.c index 6e54c78b..a1d60473 100644 --- a/Target/Demo/ARMCM3_STM32F1_Olimex_STM32H103_GCC/Boot/main.c +++ b/Target/Demo/ARMCM3_STM32F1_Olimex_STM32H103_GCC/Boot/main.c @@ -218,4 +218,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM3_STM32F1_Olimex_STM32H103_IAR/Boot/main.c b/Target/Demo/ARMCM3_STM32F1_Olimex_STM32H103_IAR/Boot/main.c index 9283f550..8f80b1e3 100644 --- a/Target/Demo/ARMCM3_STM32F1_Olimex_STM32H103_IAR/Boot/main.c +++ b/Target/Demo/ARMCM3_STM32F1_Olimex_STM32H103_IAR/Boot/main.c @@ -215,4 +215,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM3_STM32F1_Olimex_STM32H103_Keil/Boot/main.c b/Target/Demo/ARMCM3_STM32F1_Olimex_STM32H103_Keil/Boot/main.c index b342b38c..6edd1e26 100644 --- a/Target/Demo/ARMCM3_STM32F1_Olimex_STM32H103_Keil/Boot/main.c +++ b/Target/Demo/ARMCM3_STM32F1_Olimex_STM32H103_Keil/Boot/main.c @@ -218,4 +218,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM3_STM32F1_Olimex_STM32H103_Keil/Boot/startup_stm32f103xb.s b/Target/Demo/ARMCM3_STM32F1_Olimex_STM32H103_Keil/Boot/startup_stm32f103xb.s index b56053c7..56229837 100644 --- a/Target/Demo/ARMCM3_STM32F1_Olimex_STM32H103_Keil/Boot/startup_stm32f103xb.s +++ b/Target/Demo/ARMCM3_STM32F1_Olimex_STM32H103_Keil/Boot/startup_stm32f103xb.s @@ -54,7 +54,6 @@ __heap_limit ; Vector Table Mapped to Address 0 at Reset AREA RESET, DATA, READONLY - IMPORT SysTick_Handler EXPORT __Vectors EXPORT __Vectors_End EXPORT __Vectors_Size @@ -176,6 +175,10 @@ PendSV_Handler PROC EXPORT PendSV_Handler [WEAK] B . ENDP +SysTick_Handler PROC + EXPORT SysTick_Handler [WEAK] + B . + ENDP Default_Handler PROC diff --git a/Target/Demo/ARMCM3_STM32F1_Olimex_STM32P103_GCC/Boot/main.c b/Target/Demo/ARMCM3_STM32F1_Olimex_STM32P103_GCC/Boot/main.c index 051d5a92..9185a343 100644 --- a/Target/Demo/ARMCM3_STM32F1_Olimex_STM32P103_GCC/Boot/main.c +++ b/Target/Demo/ARMCM3_STM32F1_Olimex_STM32P103_GCC/Boot/main.c @@ -267,4 +267,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM3_STM32F1_Olimex_STM32P103_IAR/Boot/main.c b/Target/Demo/ARMCM3_STM32F1_Olimex_STM32P103_IAR/Boot/main.c index e6e92552..9843c313 100644 --- a/Target/Demo/ARMCM3_STM32F1_Olimex_STM32P103_IAR/Boot/main.c +++ b/Target/Demo/ARMCM3_STM32F1_Olimex_STM32P103_IAR/Boot/main.c @@ -264,4 +264,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM3_STM32F1_Olimex_STM32P103_Keil/Boot/main.c b/Target/Demo/ARMCM3_STM32F1_Olimex_STM32P103_Keil/Boot/main.c index bf4c611a..d7496c7f 100644 --- a/Target/Demo/ARMCM3_STM32F1_Olimex_STM32P103_Keil/Boot/main.c +++ b/Target/Demo/ARMCM3_STM32F1_Olimex_STM32P103_Keil/Boot/main.c @@ -266,4 +266,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM3_STM32F1_Olimex_STM32P103_Keil/Boot/startup_stm32f103xb.s b/Target/Demo/ARMCM3_STM32F1_Olimex_STM32P103_Keil/Boot/startup_stm32f103xb.s index acf06ae8..92ad69db 100644 --- a/Target/Demo/ARMCM3_STM32F1_Olimex_STM32P103_Keil/Boot/startup_stm32f103xb.s +++ b/Target/Demo/ARMCM3_STM32F1_Olimex_STM32P103_Keil/Boot/startup_stm32f103xb.s @@ -71,7 +71,6 @@ __heap_limit ; Vector Table Mapped to Address 0 at Reset AREA RESET, DATA, READONLY - IMPORT SysTick_Handler EXPORT __Vectors EXPORT __Vectors_End EXPORT __Vectors_Size @@ -195,6 +194,10 @@ PendSV_Handler PROC EXPORT PendSV_Handler [WEAK] B . ENDP +SysTick_Handler PROC + EXPORT SysTick_Handler [WEAK] + B . + ENDP Default_Handler PROC diff --git a/Target/Demo/ARMCM3_STM32F1_Olimexino_STM32_GCC/Boot/main.c b/Target/Demo/ARMCM3_STM32F1_Olimexino_STM32_GCC/Boot/main.c index fa06c328..43f5a810 100644 --- a/Target/Demo/ARMCM3_STM32F1_Olimexino_STM32_GCC/Boot/main.c +++ b/Target/Demo/ARMCM3_STM32F1_Olimexino_STM32_GCC/Boot/main.c @@ -256,4 +256,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM3_STM32F1_Olimexino_STM32_IAR/Boot/main.c b/Target/Demo/ARMCM3_STM32F1_Olimexino_STM32_IAR/Boot/main.c index c8a25b50..c646ba9c 100644 --- a/Target/Demo/ARMCM3_STM32F1_Olimexino_STM32_IAR/Boot/main.c +++ b/Target/Demo/ARMCM3_STM32F1_Olimexino_STM32_IAR/Boot/main.c @@ -253,4 +253,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM3_STM32F1_Olimexino_STM32_Keil/Boot/main.c b/Target/Demo/ARMCM3_STM32F1_Olimexino_STM32_Keil/Boot/main.c index e5d631c4..816b49c1 100644 --- a/Target/Demo/ARMCM3_STM32F1_Olimexino_STM32_Keil/Boot/main.c +++ b/Target/Demo/ARMCM3_STM32F1_Olimexino_STM32_Keil/Boot/main.c @@ -256,4 +256,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM3_STM32F1_Olimexino_STM32_Keil/Boot/startup_stm32f103xb.s b/Target/Demo/ARMCM3_STM32F1_Olimexino_STM32_Keil/Boot/startup_stm32f103xb.s index 3274cdb5..02a75e29 100644 --- a/Target/Demo/ARMCM3_STM32F1_Olimexino_STM32_Keil/Boot/startup_stm32f103xb.s +++ b/Target/Demo/ARMCM3_STM32F1_Olimexino_STM32_Keil/Boot/startup_stm32f103xb.s @@ -54,7 +54,6 @@ __heap_limit ; Vector Table Mapped to Address 0 at Reset AREA RESET, DATA, READONLY - IMPORT SysTick_Handler EXPORT __Vectors EXPORT __Vectors_End EXPORT __Vectors_Size @@ -176,6 +175,10 @@ PendSV_Handler PROC EXPORT PendSV_Handler [WEAK] B . ENDP +SysTick_Handler PROC + EXPORT SysTick_Handler [WEAK] + B . + ENDP Default_Handler PROC diff --git a/Target/Demo/ARMCM3_STM32F2_Olimex_STM32P207_GCC/Boot/main.c b/Target/Demo/ARMCM3_STM32F2_Olimex_STM32P207_GCC/Boot/main.c index 43fdbde4..2aa1917e 100644 --- a/Target/Demo/ARMCM3_STM32F2_Olimex_STM32P207_GCC/Boot/main.c +++ b/Target/Demo/ARMCM3_STM32F2_Olimex_STM32P207_GCC/Boot/main.c @@ -266,5 +266,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM3_STM32F2_Olimex_STM32P207_IAR/Boot/main.c b/Target/Demo/ARMCM3_STM32F2_Olimex_STM32P207_IAR/Boot/main.c index 4fbf440d..19abdaf9 100644 --- a/Target/Demo/ARMCM3_STM32F2_Olimex_STM32P207_IAR/Boot/main.c +++ b/Target/Demo/ARMCM3_STM32F2_Olimex_STM32P207_IAR/Boot/main.c @@ -263,5 +263,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM3_STM32F2_Olimex_STM32P207_Keil/Boot/main.c b/Target/Demo/ARMCM3_STM32F2_Olimex_STM32P207_Keil/Boot/main.c index 684f3e40..24b566fd 100644 --- a/Target/Demo/ARMCM3_STM32F2_Olimex_STM32P207_Keil/Boot/main.c +++ b/Target/Demo/ARMCM3_STM32F2_Olimex_STM32P207_Keil/Boot/main.c @@ -266,5 +266,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM3_STM32F2_Olimex_STM32P207_Keil/Boot/startup_stm32f207xx.s b/Target/Demo/ARMCM3_STM32F2_Olimex_STM32P207_Keil/Boot/startup_stm32f207xx.s index 8788642a..e1ccdbb9 100644 --- a/Target/Demo/ARMCM3_STM32F2_Olimex_STM32P207_Keil/Boot/startup_stm32f207xx.s +++ b/Target/Demo/ARMCM3_STM32F2_Olimex_STM32P207_Keil/Boot/startup_stm32f207xx.s @@ -54,7 +54,6 @@ __heap_limit ; Vector Table Mapped to Address 0 at Reset AREA RESET, DATA, READONLY - IMPORT SysTick_Handler EXPORT __Vectors EXPORT __Vectors_End EXPORT __Vectors_Size @@ -217,6 +216,10 @@ PendSV_Handler PROC EXPORT PendSV_Handler [WEAK] B . ENDP +SysTick_Handler PROC + EXPORT SysTick_Handler [WEAK] + B . + ENDP Default_Handler PROC diff --git a/Target/Demo/ARMCM4_STM32F3_Discovery_F303VC_GCC/Boot/main.c b/Target/Demo/ARMCM4_STM32F3_Discovery_F303VC_GCC/Boot/main.c index 8f161155..925b7b1f 100644 --- a/Target/Demo/ARMCM4_STM32F3_Discovery_F303VC_GCC/Boot/main.c +++ b/Target/Demo/ARMCM4_STM32F3_Discovery_F303VC_GCC/Boot/main.c @@ -229,4 +229,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM4_STM32F3_Discovery_F303VC_IAR/Boot/main.c b/Target/Demo/ARMCM4_STM32F3_Discovery_F303VC_IAR/Boot/main.c index d5eeac12..d5060d28 100644 --- a/Target/Demo/ARMCM4_STM32F3_Discovery_F303VC_IAR/Boot/main.c +++ b/Target/Demo/ARMCM4_STM32F3_Discovery_F303VC_IAR/Boot/main.c @@ -226,4 +226,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM4_STM32F3_Discovery_F303VC_Keil/Boot/main.c b/Target/Demo/ARMCM4_STM32F3_Discovery_F303VC_Keil/Boot/main.c index 10ed4211..a360cd50 100644 --- a/Target/Demo/ARMCM4_STM32F3_Discovery_F303VC_Keil/Boot/main.c +++ b/Target/Demo/ARMCM4_STM32F3_Discovery_F303VC_Keil/Boot/main.c @@ -229,4 +229,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM4_STM32F3_Discovery_F303VC_Keil/Boot/startup_stm32f303xc.s b/Target/Demo/ARMCM4_STM32F3_Discovery_F303VC_Keil/Boot/startup_stm32f303xc.s index 9276aab4..c69fcb47 100644 --- a/Target/Demo/ARMCM4_STM32F3_Discovery_F303VC_Keil/Boot/startup_stm32f303xc.s +++ b/Target/Demo/ARMCM4_STM32F3_Discovery_F303VC_Keil/Boot/startup_stm32f303xc.s @@ -54,7 +54,6 @@ __heap_limit ; Vector Table Mapped to Address 0 at Reset AREA RESET, DATA, READONLY - IMPORT SysTick_Handler EXPORT __Vectors EXPORT __Vectors_End EXPORT __Vectors_Size @@ -217,6 +216,10 @@ PendSV_Handler PROC EXPORT PendSV_Handler [WEAK] B . ENDP +SysTick_Handler PROC + EXPORT SysTick_Handler [WEAK] + B . + ENDP Default_Handler PROC diff --git a/Target/Demo/ARMCM4_STM32F3_Nucleo_F303K8_GCC/Boot/main.c b/Target/Demo/ARMCM4_STM32F3_Nucleo_F303K8_GCC/Boot/main.c index 95fcf244..df341ac4 100644 --- a/Target/Demo/ARMCM4_STM32F3_Nucleo_F303K8_GCC/Boot/main.c +++ b/Target/Demo/ARMCM4_STM32F3_Nucleo_F303K8_GCC/Boot/main.c @@ -243,4 +243,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM4_STM32F3_Nucleo_F303K8_IAR/Boot/main.c b/Target/Demo/ARMCM4_STM32F3_Nucleo_F303K8_IAR/Boot/main.c index 44a58f6a..4caf0586 100644 --- a/Target/Demo/ARMCM4_STM32F3_Nucleo_F303K8_IAR/Boot/main.c +++ b/Target/Demo/ARMCM4_STM32F3_Nucleo_F303K8_IAR/Boot/main.c @@ -240,4 +240,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM4_STM32F3_Nucleo_F303K8_Keil/Boot/ide/stm32f303.uvoptx b/Target/Demo/ARMCM4_STM32F3_Nucleo_F303K8_Keil/Boot/ide/stm32f303.uvoptx index 65abb2ee..e9cc9a22 100644 --- a/Target/Demo/ARMCM4_STM32F3_Nucleo_F303K8_Keil/Boot/ide/stm32f303.uvoptx +++ b/Target/Demo/ARMCM4_STM32F3_Nucleo_F303K8_Keil/Boot/ide/stm32f303.uvoptx @@ -103,7 +103,7 @@ 1 0 0 - 5 + 6 diff --git a/Target/Demo/ARMCM4_STM32F3_Nucleo_F303K8_Keil/Boot/ide/stm32f303.uvprojx b/Target/Demo/ARMCM4_STM32F3_Nucleo_F303K8_Keil/Boot/ide/stm32f303.uvprojx index 6f29bc51..c5abc361 100644 --- a/Target/Demo/ARMCM4_STM32F3_Nucleo_F303K8_Keil/Boot/ide/stm32f303.uvprojx +++ b/Target/Demo/ARMCM4_STM32F3_Nucleo_F303K8_Keil/Boot/ide/stm32f303.uvprojx @@ -10,13 +10,13 @@ Target 0x4 ARM-ADS - 5060960::V5.06 update 7 (build 960)::ARMCC + 5060960::V5.06 update 7 (build 960)::.\ARMCC 0 STM32F303K8Tx STMicroelectronics - Keil.STM32F3xx_DFP.2.1.0 + Keil.STM32F3xx_DFP.2.2.2 http://www.keil.com/pack/ IRAM(0x20000000-0x20002FFF) IRAM2(0x10000000-0x10000FFF) IROM(0x8000000-0x800FFFF) CLOCK(8000000) FPU2 CPUTYPE("Cortex-M4") TZ @@ -313,7 +313,7 @@ 1 - 2 + 3 0 0 1 diff --git a/Target/Demo/ARMCM4_STM32F3_Nucleo_F303K8_Keil/Boot/main.c b/Target/Demo/ARMCM4_STM32F3_Nucleo_F303K8_Keil/Boot/main.c index 67b36579..d5c42036 100644 --- a/Target/Demo/ARMCM4_STM32F3_Nucleo_F303K8_Keil/Boot/main.c +++ b/Target/Demo/ARMCM4_STM32F3_Nucleo_F303K8_Keil/Boot/main.c @@ -243,4 +243,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM4_STM32F3_Nucleo_F303K8_Keil/Boot/startup_stm32f303x8.s b/Target/Demo/ARMCM4_STM32F3_Nucleo_F303K8_Keil/Boot/startup_stm32f303x8.s index 955c290a..57efec13 100644 --- a/Target/Demo/ARMCM4_STM32F3_Nucleo_F303K8_Keil/Boot/startup_stm32f303x8.s +++ b/Target/Demo/ARMCM4_STM32F3_Nucleo_F303K8_Keil/Boot/startup_stm32f303x8.s @@ -54,7 +54,6 @@ __heap_limit ; Vector Table Mapped to Address 0 at Reset AREA RESET, DATA, READONLY - IMPORT SysTick_Handler EXPORT __Vectors EXPORT __Vectors_End EXPORT __Vectors_Size @@ -217,6 +216,10 @@ PendSV_Handler PROC EXPORT PendSV_Handler [WEAK] B . ENDP +SysTick_Handler PROC + EXPORT SysTick_Handler [WEAK] + B . + ENDP Default_Handler PROC diff --git a/Target/Demo/ARMCM4_STM32F4_Nucleo_F429ZI_GCC/Boot/main.c b/Target/Demo/ARMCM4_STM32F4_Nucleo_F429ZI_GCC/Boot/main.c index a9a50b6a..27112b09 100644 --- a/Target/Demo/ARMCM4_STM32F4_Nucleo_F429ZI_GCC/Boot/main.c +++ b/Target/Demo/ARMCM4_STM32F4_Nucleo_F429ZI_GCC/Boot/main.c @@ -304,4 +304,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM4_STM32F4_Nucleo_F429ZI_IAR/Boot/main.c b/Target/Demo/ARMCM4_STM32F4_Nucleo_F429ZI_IAR/Boot/main.c index 14ff6c68..afeec063 100644 --- a/Target/Demo/ARMCM4_STM32F4_Nucleo_F429ZI_IAR/Boot/main.c +++ b/Target/Demo/ARMCM4_STM32F4_Nucleo_F429ZI_IAR/Boot/main.c @@ -301,4 +301,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM4_STM32F4_Nucleo_F429ZI_Keil/Boot/main.c b/Target/Demo/ARMCM4_STM32F4_Nucleo_F429ZI_Keil/Boot/main.c index bde16bb3..c4a15b92 100644 --- a/Target/Demo/ARMCM4_STM32F4_Nucleo_F429ZI_Keil/Boot/main.c +++ b/Target/Demo/ARMCM4_STM32F4_Nucleo_F429ZI_Keil/Boot/main.c @@ -304,4 +304,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM4_STM32F4_Nucleo_F429ZI_Keil/Boot/startup_stm32f429xx.s b/Target/Demo/ARMCM4_STM32F4_Nucleo_F429ZI_Keil/Boot/startup_stm32f429xx.s index b93dd8a3..6d20c9f3 100644 --- a/Target/Demo/ARMCM4_STM32F4_Nucleo_F429ZI_Keil/Boot/startup_stm32f429xx.s +++ b/Target/Demo/ARMCM4_STM32F4_Nucleo_F429ZI_Keil/Boot/startup_stm32f429xx.s @@ -57,7 +57,6 @@ __heap_limit EXPORT __Vectors EXPORT __Vectors_End EXPORT __Vectors_Size - IMPORT SysTick_Handler __Vectors DCD __initial_sp ; Top of Stack DCD Reset_Handler ; Reset Handler @@ -226,6 +225,10 @@ PendSV_Handler PROC EXPORT PendSV_Handler [WEAK] B . ENDP +SysTick_Handler PROC + EXPORT SysTick_Handler [WEAK] + B . + ENDP Default_Handler PROC diff --git a/Target/Demo/ARMCM4_STM32F4_Olimex_STM32P405_GCC/Boot/main.c b/Target/Demo/ARMCM4_STM32F4_Olimex_STM32P405_GCC/Boot/main.c index 15689983..5e80afd5 100644 --- a/Target/Demo/ARMCM4_STM32F4_Olimex_STM32P405_GCC/Boot/main.c +++ b/Target/Demo/ARMCM4_STM32F4_Olimex_STM32P405_GCC/Boot/main.c @@ -292,4 +292,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM4_STM32F4_Olimex_STM32P405_IAR/Boot/main.c b/Target/Demo/ARMCM4_STM32F4_Olimex_STM32P405_IAR/Boot/main.c index 18651b48..2c0d82c8 100644 --- a/Target/Demo/ARMCM4_STM32F4_Olimex_STM32P405_IAR/Boot/main.c +++ b/Target/Demo/ARMCM4_STM32F4_Olimex_STM32P405_IAR/Boot/main.c @@ -289,4 +289,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM4_STM32F4_Olimex_STM32P405_Keil/Boot/main.c b/Target/Demo/ARMCM4_STM32F4_Olimex_STM32P405_Keil/Boot/main.c index 094cd699..79f9679d 100644 --- a/Target/Demo/ARMCM4_STM32F4_Olimex_STM32P405_Keil/Boot/main.c +++ b/Target/Demo/ARMCM4_STM32F4_Olimex_STM32P405_Keil/Boot/main.c @@ -292,4 +292,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM4_STM32F4_Olimex_STM32P405_Keil/Boot/startup_stm32f405xx.s b/Target/Demo/ARMCM4_STM32F4_Olimex_STM32P405_Keil/Boot/startup_stm32f405xx.s index 5808df7c..0e457d22 100644 --- a/Target/Demo/ARMCM4_STM32F4_Olimex_STM32P405_Keil/Boot/startup_stm32f405xx.s +++ b/Target/Demo/ARMCM4_STM32F4_Olimex_STM32P405_Keil/Boot/startup_stm32f405xx.s @@ -54,7 +54,6 @@ __heap_limit ; Vector Table Mapped to Address 0 at Reset AREA RESET, DATA, READONLY - IMPORT SysTick_Handler EXPORT __Vectors EXPORT __Vectors_End EXPORT __Vectors_Size @@ -218,6 +217,10 @@ PendSV_Handler PROC EXPORT PendSV_Handler [WEAK] B . ENDP +SysTick_Handler PROC + EXPORT SysTick_Handler [WEAK] + B . + ENDP Default_Handler PROC diff --git a/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_GCC/Boot/main.c b/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_GCC/Boot/main.c index 9c2bc1db..845f39b6 100644 --- a/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_GCC/Boot/main.c +++ b/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_GCC/Boot/main.c @@ -269,4 +269,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_IAR/Boot/main.c b/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_IAR/Boot/main.c index bd471b45..5ada5b67 100644 --- a/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_IAR/Boot/main.c +++ b/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_IAR/Boot/main.c @@ -266,4 +266,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_Keil/Boot/main.c b/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_Keil/Boot/main.c index 1b51688a..c4d69f4b 100644 --- a/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_Keil/Boot/main.c +++ b/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_Keil/Boot/main.c @@ -269,4 +269,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_Keil/Boot/startup_stm32g474xx.s b/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_Keil/Boot/startup_stm32g474xx.s index 6438074d..459628e1 100644 --- a/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_Keil/Boot/startup_stm32g474xx.s +++ b/Target/Demo/ARMCM4_STM32G4_Nucleo_G474RE_Keil/Boot/startup_stm32g474xx.s @@ -57,7 +57,6 @@ __heap_limit ; Vector Table Mapped to Address 0 at Reset AREA RESET, DATA, READONLY - IMPORT SysTick_Handler EXPORT __Vectors EXPORT __Vectors_End EXPORT __Vectors_Size @@ -240,6 +239,10 @@ PendSV_Handler PROC EXPORT PendSV_Handler [WEAK] B . ENDP +SysTick_Handler PROC + EXPORT SysTick_Handler [WEAK] + B . + ENDP Default_Handler PROC diff --git a/Target/Demo/ARMCM4_STM32L4_Nucleo_L476RG_GCC/Boot/main.c b/Target/Demo/ARMCM4_STM32L4_Nucleo_L476RG_GCC/Boot/main.c index c31041db..41625460 100644 --- a/Target/Demo/ARMCM4_STM32L4_Nucleo_L476RG_GCC/Boot/main.c +++ b/Target/Demo/ARMCM4_STM32L4_Nucleo_L476RG_GCC/Boot/main.c @@ -255,4 +255,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM4_STM32L4_Nucleo_L476RG_IAR/Boot/main.c b/Target/Demo/ARMCM4_STM32L4_Nucleo_L476RG_IAR/Boot/main.c index 7d360c7d..efc379fa 100644 --- a/Target/Demo/ARMCM4_STM32L4_Nucleo_L476RG_IAR/Boot/main.c +++ b/Target/Demo/ARMCM4_STM32L4_Nucleo_L476RG_IAR/Boot/main.c @@ -252,4 +252,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM4_STM32L4_Nucleo_L476RG_Keil/Boot/main.c b/Target/Demo/ARMCM4_STM32L4_Nucleo_L476RG_Keil/Boot/main.c index a80c9098..a839a05f 100644 --- a/Target/Demo/ARMCM4_STM32L4_Nucleo_L476RG_Keil/Boot/main.c +++ b/Target/Demo/ARMCM4_STM32L4_Nucleo_L476RG_Keil/Boot/main.c @@ -255,4 +255,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM4_STM32L4_Nucleo_L476RG_Keil/Boot/startup_stm32l476xx.s b/Target/Demo/ARMCM4_STM32L4_Nucleo_L476RG_Keil/Boot/startup_stm32l476xx.s index aa4df82c..61ab0bef 100644 --- a/Target/Demo/ARMCM4_STM32L4_Nucleo_L476RG_Keil/Boot/startup_stm32l476xx.s +++ b/Target/Demo/ARMCM4_STM32L4_Nucleo_L476RG_Keil/Boot/startup_stm32l476xx.s @@ -52,7 +52,6 @@ __heap_limit ; Vector Table Mapped to Address 0 at Reset AREA RESET, DATA, READONLY - IMPORT SysTick_Handler EXPORT __Vectors EXPORT __Vectors_End EXPORT __Vectors_Size @@ -215,6 +214,10 @@ PendSV_Handler PROC EXPORT PendSV_Handler [WEAK] B . ENDP +SysTick_Handler PROC + EXPORT SysTick_Handler [WEAK] + B . + ENDP Default_Handler PROC diff --git a/Target/Demo/ARMCM4_STM32L4_Nucleo_L496ZG_GCC/Boot/main.c b/Target/Demo/ARMCM4_STM32L4_Nucleo_L496ZG_GCC/Boot/main.c index b189caff..d9f3958a 100644 --- a/Target/Demo/ARMCM4_STM32L4_Nucleo_L496ZG_GCC/Boot/main.c +++ b/Target/Demo/ARMCM4_STM32L4_Nucleo_L496ZG_GCC/Boot/main.c @@ -269,4 +269,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM4_STM32L4_Nucleo_L496ZG_IAR/Boot/main.c b/Target/Demo/ARMCM4_STM32L4_Nucleo_L496ZG_IAR/Boot/main.c index 930783c3..a0d827a4 100644 --- a/Target/Demo/ARMCM4_STM32L4_Nucleo_L496ZG_IAR/Boot/main.c +++ b/Target/Demo/ARMCM4_STM32L4_Nucleo_L496ZG_IAR/Boot/main.c @@ -266,4 +266,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM4_STM32L4_Nucleo_L496ZG_Keil/Boot/main.c b/Target/Demo/ARMCM4_STM32L4_Nucleo_L496ZG_Keil/Boot/main.c index d694009d..17437eee 100644 --- a/Target/Demo/ARMCM4_STM32L4_Nucleo_L496ZG_Keil/Boot/main.c +++ b/Target/Demo/ARMCM4_STM32L4_Nucleo_L496ZG_Keil/Boot/main.c @@ -269,4 +269,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM4_STM32L4_Nucleo_L496ZG_Keil/Boot/startup_stm32l496xx.s b/Target/Demo/ARMCM4_STM32L4_Nucleo_L496ZG_Keil/Boot/startup_stm32l496xx.s index 3efb2e8c..4af3d731 100644 --- a/Target/Demo/ARMCM4_STM32L4_Nucleo_L496ZG_Keil/Boot/startup_stm32l496xx.s +++ b/Target/Demo/ARMCM4_STM32L4_Nucleo_L496ZG_Keil/Boot/startup_stm32l496xx.s @@ -52,7 +52,6 @@ __heap_limit ; Vector Table Mapped to Address 0 at Reset AREA RESET, DATA, READONLY - IMPORT SysTick_Handler EXPORT __Vectors EXPORT __Vectors_End EXPORT __Vectors_Size @@ -224,6 +223,10 @@ PendSV_Handler PROC EXPORT PendSV_Handler [WEAK] B . ENDP +SysTick_Handler PROC + EXPORT SysTick_Handler [WEAK] + B . + ENDP Default_Handler PROC diff --git a/Target/Demo/ARMCM7_STM32F7_Nucleo_F746ZG_GCC/Boot/main.c b/Target/Demo/ARMCM7_STM32F7_Nucleo_F746ZG_GCC/Boot/main.c index cc5307fa..81886d7a 100644 --- a/Target/Demo/ARMCM7_STM32F7_Nucleo_F746ZG_GCC/Boot/main.c +++ b/Target/Demo/ARMCM7_STM32F7_Nucleo_F746ZG_GCC/Boot/main.c @@ -273,4 +273,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM7_STM32F7_Nucleo_F746ZG_IAR/Boot/main.c b/Target/Demo/ARMCM7_STM32F7_Nucleo_F746ZG_IAR/Boot/main.c index edb1b4e9..3919e7db 100644 --- a/Target/Demo/ARMCM7_STM32F7_Nucleo_F746ZG_IAR/Boot/main.c +++ b/Target/Demo/ARMCM7_STM32F7_Nucleo_F746ZG_IAR/Boot/main.c @@ -270,4 +270,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM7_STM32F7_Nucleo_F746ZG_Keil/Boot/main.c b/Target/Demo/ARMCM7_STM32F7_Nucleo_F746ZG_Keil/Boot/main.c index dc3a3128..87e05b0b 100644 --- a/Target/Demo/ARMCM7_STM32F7_Nucleo_F746ZG_Keil/Boot/main.c +++ b/Target/Demo/ARMCM7_STM32F7_Nucleo_F746ZG_Keil/Boot/main.c @@ -272,4 +272,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM7_STM32F7_Nucleo_F746ZG_Keil/Boot/startup_stm32f746xx.s b/Target/Demo/ARMCM7_STM32F7_Nucleo_F746ZG_Keil/Boot/startup_stm32f746xx.s index d8aa6fc7..d934242d 100644 --- a/Target/Demo/ARMCM7_STM32F7_Nucleo_F746ZG_Keil/Boot/startup_stm32f746xx.s +++ b/Target/Demo/ARMCM7_STM32F7_Nucleo_F746ZG_Keil/Boot/startup_stm32f746xx.s @@ -67,7 +67,6 @@ __heap_limit ; Vector Table Mapped to Address 0 at Reset AREA RESET, DATA, READONLY - IMPORT SysTick_Handler EXPORT __Vectors EXPORT __Vectors_End EXPORT __Vectors_Size @@ -245,6 +244,10 @@ PendSV_Handler PROC EXPORT PendSV_Handler [WEAK] B . ENDP +SysTick_Handler PROC + EXPORT SysTick_Handler [WEAK] + B . + ENDP Default_Handler PROC diff --git a/Target/Demo/ARMCM7_STM32F7_Nucleo_F767ZI_GCC/Boot/main.c b/Target/Demo/ARMCM7_STM32F7_Nucleo_F767ZI_GCC/Boot/main.c index 2e3b7d5c..db61ef2e 100644 --- a/Target/Demo/ARMCM7_STM32F7_Nucleo_F767ZI_GCC/Boot/main.c +++ b/Target/Demo/ARMCM7_STM32F7_Nucleo_F767ZI_GCC/Boot/main.c @@ -265,4 +265,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM7_STM32F7_Nucleo_F767ZI_IAR/Boot/main.c b/Target/Demo/ARMCM7_STM32F7_Nucleo_F767ZI_IAR/Boot/main.c index 87003249..7a3478b1 100644 --- a/Target/Demo/ARMCM7_STM32F7_Nucleo_F767ZI_IAR/Boot/main.c +++ b/Target/Demo/ARMCM7_STM32F7_Nucleo_F767ZI_IAR/Boot/main.c @@ -262,4 +262,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM7_STM32F7_Nucleo_F767ZI_Keil/Boot/main.c b/Target/Demo/ARMCM7_STM32F7_Nucleo_F767ZI_Keil/Boot/main.c index 351618c5..776faf21 100644 --- a/Target/Demo/ARMCM7_STM32F7_Nucleo_F767ZI_Keil/Boot/main.c +++ b/Target/Demo/ARMCM7_STM32F7_Nucleo_F767ZI_Keil/Boot/main.c @@ -265,4 +265,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM7_STM32F7_Nucleo_F767ZI_Keil/Boot/startup_stm32f767xx.s b/Target/Demo/ARMCM7_STM32F7_Nucleo_F767ZI_Keil/Boot/startup_stm32f767xx.s index 85c4a734..e66f3832 100644 --- a/Target/Demo/ARMCM7_STM32F7_Nucleo_F767ZI_Keil/Boot/startup_stm32f767xx.s +++ b/Target/Demo/ARMCM7_STM32F7_Nucleo_F767ZI_Keil/Boot/startup_stm32f767xx.s @@ -70,7 +70,6 @@ __heap_limit EXPORT __Vectors EXPORT __Vectors_End EXPORT __Vectors_Size - IMPORT SysTick_Handler __Vectors DCD __initial_sp ; Top of Stack DCD Reset_Handler ; Reset Handler @@ -257,6 +256,10 @@ PendSV_Handler PROC EXPORT PendSV_Handler [WEAK] B . ENDP +SysTick_Handler PROC + EXPORT SysTick_Handler [WEAK] + B . + ENDP Default_Handler PROC diff --git a/Target/Demo/ARMCM7_STM32H7_Nucleo_H743ZI_GCC/Boot/main.c b/Target/Demo/ARMCM7_STM32H7_Nucleo_H743ZI_GCC/Boot/main.c index cda777b2..5afd7c44 100644 --- a/Target/Demo/ARMCM7_STM32H7_Nucleo_H743ZI_GCC/Boot/main.c +++ b/Target/Demo/ARMCM7_STM32H7_Nucleo_H743ZI_GCC/Boot/main.c @@ -287,4 +287,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM7_STM32H7_Nucleo_H743ZI_IAR/Boot/main.c b/Target/Demo/ARMCM7_STM32H7_Nucleo_H743ZI_IAR/Boot/main.c index 8ec8b30d..5f3235db 100644 --- a/Target/Demo/ARMCM7_STM32H7_Nucleo_H743ZI_IAR/Boot/main.c +++ b/Target/Demo/ARMCM7_STM32H7_Nucleo_H743ZI_IAR/Boot/main.c @@ -284,4 +284,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM7_STM32H7_Nucleo_H743ZI_Keil/Boot/main.c b/Target/Demo/ARMCM7_STM32H7_Nucleo_H743ZI_Keil/Boot/main.c index 21cbe246..491dd154 100644 --- a/Target/Demo/ARMCM7_STM32H7_Nucleo_H743ZI_Keil/Boot/main.c +++ b/Target/Demo/ARMCM7_STM32H7_Nucleo_H743ZI_Keil/Boot/main.c @@ -287,4 +287,20 @@ void HAL_MspDeInit(void) } /*** end of HAL_MspDeInit ***/ +/************************************************************************************//** +** \brief This function handles the SysTick interrupt. The HAL driver is initialized +** before the bootloader disables the global interrupts and reconfigures the +** SysTick. It is theoretically possible that the SysTick interrupt still +** fires before the timer driver disables it. Therefore the handler is +** implemented here. If not, then the default handler from the C startup +** code is used, which hangs the system. +** \return none. +** +****************************************************************************************/ +void SysTick_Handler(void) +{ + /* Nothing to do here. */ +} /*** end of SysTick_Handler ***/ + + /*********************************** end of main.c *************************************/ diff --git a/Target/Demo/ARMCM7_STM32H7_Nucleo_H743ZI_Keil/Boot/startup_stm32h743xx.s b/Target/Demo/ARMCM7_STM32H7_Nucleo_H743ZI_Keil/Boot/startup_stm32h743xx.s index b298f2b8..296cc085 100644 --- a/Target/Demo/ARMCM7_STM32H7_Nucleo_H743ZI_Keil/Boot/startup_stm32h743xx.s +++ b/Target/Demo/ARMCM7_STM32H7_Nucleo_H743ZI_Keil/Boot/startup_stm32h743xx.s @@ -54,7 +54,6 @@ __heap_limit ; Vector Table Mapped to Address 0 at Reset AREA RESET, DATA, READONLY - IMPORT SysTick_Handler EXPORT __Vectors EXPORT __Vectors_End EXPORT __Vectors_Size @@ -286,6 +285,10 @@ PendSV_Handler PROC EXPORT PendSV_Handler [WEAK] B . ENDP +SysTick_Handler PROC + EXPORT SysTick_Handler [WEAK] + B . + ENDP Default_Handler PROC diff --git a/Target/Source/ARMCM0_STM32F0/timer.c b/Target/Source/ARMCM0_STM32F0/timer.c index ea833552..5fc91ecb 100644 --- a/Target/Source/ARMCM0_STM32F0/timer.c +++ b/Target/Source/ARMCM0_STM32F0/timer.c @@ -125,21 +125,4 @@ uint32_t HAL_GetTick(void) } /*** end of HAL_GetTick ***/ -/************************************************************************************//** -** \brief This function handles the SysTick interrupt. The HAL driver is initialized -** before this timer driver. The HAL driver configures the SysTick for -** interrupt driven mode, which is afterwards disabled by the timer driver -** initialization. It is theoretically possible that the SysTick interrupt -** still fires before the timer driver disables it. Therefore the handler -** is implemented here. If not, then the default handler from cstart.s is -** used, which hangs the system. -** \return none. -** -****************************************************************************************/ -__weak void SysTick_Handler(void) -{ - /* Nothing to do here. */ -} /*** end of SysTick_Handler ***/ - - /*********************************** end of timer.c ************************************/ diff --git a/Target/Source/ARMCM0_STM32G0/timer.c b/Target/Source/ARMCM0_STM32G0/timer.c index f5574cec..10ca7f3e 100644 --- a/Target/Source/ARMCM0_STM32G0/timer.c +++ b/Target/Source/ARMCM0_STM32G0/timer.c @@ -125,21 +125,4 @@ uint32_t HAL_GetTick(void) } /*** end of HAL_GetTick ***/ -/************************************************************************************//** -** \brief This function handles the SysTick interrupt. The HAL driver is initialized -** before this timer driver. The HAL driver configures the SysTick for -** interrupt driven mode, which is afterwards disabled by the timer driver -** initialization. It is theoretically possible that the SysTick interrupt -** still fires before the timer driver disables it. Therefore the handler -** is implemented here. If not, then the default handler from cstart.s is -** used, which hangs the system. -** \return none. -** -****************************************************************************************/ -__weak void SysTick_Handler(void) -{ - /* Nothing to do here. */ -} /*** end of SysTick_Handler ***/ - - /*********************************** end of timer.c ************************************/ diff --git a/Target/Source/ARMCM33_STM32L5/timer.c b/Target/Source/ARMCM33_STM32L5/timer.c index 66f13b0c..8a29bbaa 100644 --- a/Target/Source/ARMCM33_STM32L5/timer.c +++ b/Target/Source/ARMCM33_STM32L5/timer.c @@ -126,21 +126,4 @@ uint32_t HAL_GetTick(void) } /*** end of HAL_GetTick ***/ -/************************************************************************************//** -** \brief This function handles the SysTick interrupt. The HAL driver is initialized -** before this timer driver. The HAL driver configures the SysTick for -** interrupt driven mode, which is afterwards disabled by the timer driver -** initialization. It is theoretically possible that the SysTick interrupt -** still fires before the timer driver disables it. Therefore the handler -** is implemented here. If not, then the default handler from cstart.s is -** used, which hangs the system. -** \return none. -** -****************************************************************************************/ -__weak void SysTick_Handler(void) -{ - /* Nothing to do here. */ -} /*** end of SysTick_Handler ***/ - - /*********************************** end of timer.c ************************************/ diff --git a/Target/Source/ARMCM3_STM32F1/timer.c b/Target/Source/ARMCM3_STM32F1/timer.c index 01b5defe..5b5c2b7d 100644 --- a/Target/Source/ARMCM3_STM32F1/timer.c +++ b/Target/Source/ARMCM3_STM32F1/timer.c @@ -126,21 +126,4 @@ uint32_t HAL_GetTick(void) } /*** end of HAL_GetTick ***/ -/************************************************************************************//** -** \brief This function handles the SysTick interrupt. The HAL driver is initialized -** before this timer driver. The HAL driver configures the SysTick for -** interrupt driven mode, which is afterwards disabled by the timer driver -** initialization. It is theoretically possible that the SysTick interrupt -** still fires before the timer driver disables it. Therefore the handler -** is implemented here. If not, then the default handler from cstart.s is -** used, which hangs the system. -** \return none. -** -****************************************************************************************/ -__weak void SysTick_Handler(void) -{ - /* Nothing to do here. */ -} /*** end of SysTick_Handler ***/ - - /*********************************** end of timer.c ************************************/ diff --git a/Target/Source/ARMCM3_STM32F2/timer.c b/Target/Source/ARMCM3_STM32F2/timer.c index 564a7ef9..993a87ea 100644 --- a/Target/Source/ARMCM3_STM32F2/timer.c +++ b/Target/Source/ARMCM3_STM32F2/timer.c @@ -126,21 +126,4 @@ uint32_t HAL_GetTick(void) } /*** end of HAL_GetTick ***/ -/************************************************************************************//** -** \brief This function handles the SysTick interrupt. The HAL driver is initialized -** before this timer driver. The HAL driver configures the SysTick for -** interrupt driven mode, which is afterwards disabled by the timer driver -** initialization. It is theoretically possible that the SysTick interrupt -** still fires before the timer driver disables it. Therefore the handler -** is implemented here. If not, then the default handler from cstart.s is -** used, which hangs the system. -** \return none. -** -****************************************************************************************/ -__weak void SysTick_Handler(void) -{ - /* Nothing to do here. */ -} /*** end of SysTick_Handler ***/ - - /*********************************** end of timer.c ************************************/ diff --git a/Target/Source/ARMCM4_STM32F3/timer.c b/Target/Source/ARMCM4_STM32F3/timer.c index e8284584..b6ba3772 100644 --- a/Target/Source/ARMCM4_STM32F3/timer.c +++ b/Target/Source/ARMCM4_STM32F3/timer.c @@ -126,21 +126,4 @@ uint32_t HAL_GetTick(void) } /*** end of HAL_GetTick ***/ -/************************************************************************************//** -** \brief This function handles the SysTick interrupt. The HAL driver is initialized -** before this timer driver. The HAL driver configures the SysTick for -** interrupt driven mode, which is afterwards disabled by the timer driver -** initialization. It is theoretically possible that the SysTick interrupt -** still fires before the timer driver disables it. Therefore the handler -** is implemented here. If not, then the default handler from cstart.s is -** used, which hangs the system. -** \return none. -** -****************************************************************************************/ -__weak void SysTick_Handler(void) -{ - /* Nothing to do here. */ -} /*** end of SysTick_Handler ***/ - - /*********************************** end of timer.c ************************************/ diff --git a/Target/Source/ARMCM4_STM32F4/timer.c b/Target/Source/ARMCM4_STM32F4/timer.c index c97308fc..970f3d24 100644 --- a/Target/Source/ARMCM4_STM32F4/timer.c +++ b/Target/Source/ARMCM4_STM32F4/timer.c @@ -126,21 +126,4 @@ uint32_t HAL_GetTick(void) } /*** end of HAL_GetTick ***/ -/************************************************************************************//** -** \brief This function handles the SysTick interrupt. The HAL driver is initialized -** before this timer driver. The HAL driver configures the SysTick for -** interrupt driven mode, which is afterwards disabled by the timer driver -** initialization. It is theoretically possible that the SysTick interrupt -** still fires before the timer driver disables it. Therefore the handler -** is implemented here. If not, then the default handler from cstart.s is -** used, which hangs the system. -** \return none. -** -****************************************************************************************/ -__weak void SysTick_Handler(void) -{ - /* Nothing to do here. */ -} /*** end of SysTick_Handler ***/ - - /*********************************** end of timer.c ************************************/ diff --git a/Target/Source/ARMCM4_STM32G4/timer.c b/Target/Source/ARMCM4_STM32G4/timer.c index 4e221d08..9c357e7d 100644 --- a/Target/Source/ARMCM4_STM32G4/timer.c +++ b/Target/Source/ARMCM4_STM32G4/timer.c @@ -126,21 +126,4 @@ uint32_t HAL_GetTick(void) } /*** end of HAL_GetTick ***/ -/************************************************************************************//** -** \brief This function handles the SysTick interrupt. The HAL driver is initialized -** before this timer driver. The HAL driver configures the SysTick for -** interrupt driven mode, which is afterwards disabled by the timer driver -** initialization. It is theoretically possible that the SysTick interrupt -** still fires before the timer driver disables it. Therefore the handler -** is implemented here. If not, then the default handler from cstart.s is -** used, which hangs the system. -** \return none. -** -****************************************************************************************/ -__weak void SysTick_Handler(void) -{ - /* Nothing to do here. */ -} /*** end of SysTick_Handler ***/ - - /*********************************** end of timer.c ************************************/ diff --git a/Target/Source/ARMCM4_STM32L4/timer.c b/Target/Source/ARMCM4_STM32L4/timer.c index c16e24e1..b1a4d5f6 100644 --- a/Target/Source/ARMCM4_STM32L4/timer.c +++ b/Target/Source/ARMCM4_STM32L4/timer.c @@ -126,21 +126,4 @@ uint32_t HAL_GetTick(void) } /*** end of HAL_GetTick ***/ -/************************************************************************************//** -** \brief This function handles the SysTick interrupt. The HAL driver is initialized -** before this timer driver. The HAL driver configures the SysTick for -** interrupt driven mode, which is afterwards disabled by the timer driver -** initialization. It is theoretically possible that the SysTick interrupt -** still fires before the timer driver disables it. Therefore the handler -** is implemented here. If not, then the default handler from cstart.s is -** used, which hangs the system. -** \return none. -** -****************************************************************************************/ -__weak void SysTick_Handler(void) -{ - /* Nothing to do here. */ -} /*** end of SysTick_Handler ***/ - - /*********************************** end of timer.c ************************************/ diff --git a/Target/Source/ARMCM7_STM32F7/timer.c b/Target/Source/ARMCM7_STM32F7/timer.c index 9396af71..a318642b 100644 --- a/Target/Source/ARMCM7_STM32F7/timer.c +++ b/Target/Source/ARMCM7_STM32F7/timer.c @@ -126,21 +126,4 @@ uint32_t HAL_GetTick(void) } /*** end of HAL_GetTick ***/ -/************************************************************************************//** -** \brief This function handles the SysTick interrupt. The HAL driver is initialized -** before this timer driver. The HAL driver configures the SysTick for -** interrupt driven mode, which is afterwards disabled by the timer driver -** initialization. It is theoretically possible that the SysTick interrupt -** still fires before the timer driver disables it. Therefore the handler -** is implemented here. If not, then the default handler from cstart.s is -** used, which hangs the system. -** \return none. -** -****************************************************************************************/ -__weak void SysTick_Handler(void) -{ - /* Nothing to do here. */ -} /*** end of SysTick_Handler ***/ - - /*********************************** end of timer.c ************************************/ diff --git a/Target/Source/ARMCM7_STM32H7/timer.c b/Target/Source/ARMCM7_STM32H7/timer.c index 28f3da68..2b14ac04 100644 --- a/Target/Source/ARMCM7_STM32H7/timer.c +++ b/Target/Source/ARMCM7_STM32H7/timer.c @@ -126,21 +126,4 @@ uint32_t HAL_GetTick(void) } /*** end of HAL_GetTick ***/ -/************************************************************************************//** -** \brief This function handles the SysTick interrupt. The HAL driver is initialized -** before this timer driver. The HAL driver configures the SysTick for -** interrupt driven mode, which is afterwards disabled by the timer driver -** initialization. It is theoretically possible that the SysTick interrupt -** still fires before the timer driver disables it. Therefore the handler -** is implemented here. If not, then the default handler from cstart.s is -** used, which hangs the system. -** \return none. -** -****************************************************************************************/ -__weak void SysTick_Handler(void) -{ - /* Nothing to do here. */ -} /*** end of SysTick_Handler ***/ - - /*********************************** end of timer.c ************************************/