File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 3232#include "wiring.h"
3333
3434/* sketch */
35- extern void setup ( void ) ;
36- extern void loop ( void ) ;
3735
3836#ifdef __cplusplus
3937extern "C" {
4038#endif // __cplusplus
39+ extern void setup ( void ) ;
40+ extern void loop ( void ) ;
41+
4142void yield (void );
4243#ifdef __cplusplus
4344} // extern "C"
Original file line number Diff line number Diff line change @@ -125,6 +125,11 @@ uint32_t GetCurrentMilli(void)
125125 return HAL_GetTick ();
126126}
127127
128+ void noOsSystickHandler (){
129+
130+ }
131+
132+ void osSystickHandler () __attribute__((weak , alias ("noOsSystickHandler" )));
128133/**
129134 * @brief Function called when t he tick interruption falls
130135 * @param None
@@ -134,6 +139,7 @@ void SysTick_Handler(void)
134139{
135140 HAL_IncTick ();
136141 HAL_SYSTICK_IRQHandler ();
142+ osSystickHandler ();
137143}
138144
139145/**
You can’t perform that action at this time.
0 commit comments