File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Filter options
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Original file line number Diff line number Diff line change @@ -148,6 +148,8 @@ extern void SysTick_Handler (void);
148
148
/* FreeRTOS tick timer interrupt handler prototype */
149
149
extern void xPortSysTickHandler (void );
150
150
151
+ /* SysTick handler implementation done in the core and call osSystickHandler */
152
+ #ifndef ARDUINO_ARCH_STM32
151
153
/*
152
154
SysTick handler implementation that also clears overflow flag.
153
155
*/
@@ -160,6 +162,7 @@ void SysTick_Handler (void) {
160
162
xPortSysTickHandler ();
161
163
}
162
164
}
165
+ #endif /* ARDUINO_ARCH_STM32 */
163
166
#endif /* SysTick */
164
167
165
168
/*
@@ -171,7 +174,7 @@ __STATIC_INLINE void SVC_Setup (void) {
171
174
/* and when its priority is lower or equal to BASEPRI, svc intruction */
172
175
/* causes a Hard Fault. */
173
176
174
- /*
177
+ /*
175
178
* the call below has introduced a regression compared to revious release
176
179
* The issue was logged under:https://github.com/ARM-software/CMSIS-FreeRTOS/issues/35
177
180
* until it is correctly fixed, the code below is commented
@@ -1469,7 +1472,7 @@ osSemaphoreId_t osSemaphoreNew (uint32_t max_count, uint32_t initial_count, cons
1469
1472
hSemaphore = xSemaphoreCreateCounting (max_count , initial_count );
1470
1473
}
1471
1474
}
1472
-
1475
+
1473
1476
#if (configQUEUE_REGISTRY_SIZE > 0 )
1474
1477
if (hSemaphore != NULL ) {
1475
1478
if (attr != NULL ) {
Original file line number Diff line number Diff line change 8
8
#if !defined(configUSE_CMSIS_RTOS_V2 ) || (configUSE_CMSIS_RTOS_V2 == 0 )
9
9
#include "../portable/CMSIS_RTOS/cmsis_os.c"
10
10
#else
11
- #include "../portable/CMSIS_RTOS_V2/cmsis_os1.c"
12
11
#include "../portable/CMSIS_RTOS_V2/cmsis_os2.c"
13
12
#endif
14
13
You can’t perform that action at this time.
0 commit comments