File tree 4 files changed +15
-13
lines changed
GCC/ARM_CM33_NTZ/non_secure
4 files changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,8 @@ CMSIS-RTOSv2.
111
111
| --- | :---: | :---: | :---: | :---: | :---: |
112
112
| [ Nucleo F091RC (Cortex-M0)] ( http://www.st.com/en/evaluation-tools/nucleo-f091rc.html ) | PASSED | PASSED | FAILED | PASSED | PASSED |
113
113
| [ Nucleo G071RB (Cortex-M0+)] ( http://www.st.com/en/evaluation-tools/nucleo-g071rb.html ) | PASSED | PASSED | FAILED | PASSED | PASSED |
114
- | [ Nucleo L476RG (Cortex-M3)] ( http://www.st.com/en/evaluation-tools/nucleo-l476rg .html ) | PASSED | PASSED | PASSED | PASSED | PASSED |
114
+ | [ Nucleo F103RB (Cortex-M3)] ( http://www.st.com/en/evaluation-tools/nucleo-f103rb .html ) | PASSED | PASSED | PASSED | PASSED | PASSED |
115
115
| [ Nucleo L476RG (Cortex-M4)] ( http://www.st.com/en/evaluation-tools/nucleo-l476rg.html ) | PASSED | PASSED | PASSED | PASSED | PASSED |
116
116
| [ Nucleo H743ZI (Cortex-M7)] ( https://www.st.com/en/evaluation-tools/nucleo-h743zi.html ) | PASSED | PASSED | PASSED | PASSED | PASSED |
117
+ | [ Nucleo L552ZE-Q (Cortex-M33)] ( https://www.st.com/en/evaluation-tools/nucleo-l552ze-q.html ) | PASSED | PASSED | PASSED | PASSED | PASSED |
118
+ | [ Nucleo U575ZI-Q (Cortex-M33)] ( https://www.st.com/en/evaluation-tools/nucleo-u575zi-q.html ) | PASSED | PASSED | PASSED | PASSED | PASSED |
Original file line number Diff line number Diff line change @@ -156,8 +156,8 @@ extern void xPortSysTickHandler (void);
156
156
SysTick handler implementation that also clears overflow flag.
157
157
*/
158
158
/* SysTick handler implementation done in the core and call osSystickHandler */
159
- #if !defined( ARDUINO_ARCH_STM32 ) && (USE_CUSTOM_SYSTICK_HANDLER_IMPLEMENTATION == 0 )
160
- void SysTick_Handler (void ) {
159
+ #if (USE_CUSTOM_SYSTICK_HANDLER_IMPLEMENTATION == 0 )
160
+ void osSystickHandler (void ) {
161
161
/* Clear overflow flag */
162
162
SysTick -> CTRL ;
163
163
@@ -166,7 +166,7 @@ void SysTick_Handler (void) {
166
166
xPortSysTickHandler ();
167
167
}
168
168
}
169
- #endif /* !ARDUINO_ARCH_STM32 && ( USE_CUSTOM_SYSTICK_HANDLER_IMPLEMENTATION == 0) */
169
+ #endif /* USE_CUSTOM_SYSTICK_HANDLER_IMPLEMENTATION == 0*/
170
170
#endif /* SysTick */
171
171
172
172
/*
Original file line number Diff line number Diff line change @@ -333,7 +333,9 @@ void vPortExitCritical( void ) PRIVILEGED_FUNCTION;
333
333
/**
334
334
* @brief SysTick handler.
335
335
*/
336
- void SysTick_Handler ( void ) PRIVILEGED_FUNCTION ;
336
+ /* Fix for STM32 core */
337
+ /* void SysTick_Handler( void ) PRIVILEGED_FUNCTION; */
338
+ void xPortSysTickHandler ( void ) PRIVILEGED_FUNCTION ;
337
339
338
340
/**
339
341
* @brief C part of SVC handler.
@@ -733,7 +735,9 @@ void vPortExitCritical( void ) /* PRIVILEGED_FUNCTION */
733
735
}
734
736
/*-----------------------------------------------------------*/
735
737
736
- void SysTick_Handler ( void ) /* PRIVILEGED_FUNCTION */
738
+ /* Fix for STM32 core */
739
+ /* void SysTick_Handler( void ) */ /* PRIVILEGED_FUNCTION */
740
+ void xPortSysTickHandler ( void ) /* PRIVILEGED_FUNCTION */
737
741
{
738
742
uint32_t ulPreviousMask ;
739
743
Original file line number Diff line number Diff line change @@ -215,15 +215,11 @@ header file. */
215
215
216
216
/*
217
217
* IMPORTANT:
218
- * osSystickHandler is called in the core SysTick_Handler definition and is defined as weak.
219
- * For CMSIS-RTOSv2: osSystickHandler is defined as xPortSysTickHandler
220
- * For CMSIS-RTOS: osSystickHandler is defined by the cmsis_os and xPortSysTickHandler
221
- * must not be defined to prevent overwriting SysTick_Handler
218
+ * SysTick_Handler() from stm32duino core is calling weak osSystickHandler().
219
+ * Both CMSIS-RTOSv2 and CMSIS-RTOS override osSystickHandler()
220
+ * which is calling xPortSysTickHandler(), defined in respective CortexM-x port
222
221
*/
223
222
/* #define xPortSysTickHandler SysTick_Handler */
224
- #if defined(configUSE_CMSIS_RTOS_V2 ) && (configUSE_CMSIS_RTOS_V2 == 1 )
225
- #define xPortSysTickHandler osSystickHandler
226
- #endif
227
223
228
224
#endif /* FREERTOS_CONFIG_DEFAULT_H */
229
225
You can’t perform that action at this time.
0 commit comments