SysTick_Handler handler does not call sysTickHook

When using the Arduino Due, your can hook the system timer with the sysTickHook, but this does not work on the Zero. I suggest adding the lines

if (sysTickHook())
return;

to the SysTick_Handler in delay.c for the Arduino Zero.

Thanks for the report, it has been fixed here: Fixed cortex-M hooks for RTOS by cmaglie · Pull Request #13 · arduino/ArduinoCore-samd · GitHub

may you give it a try? (so you can test also ArduinoBot builds :wink: )

I tried the "Pull request" ArduinoBot, and the sysTickXXXX is working as expected now. Thanks!

Great! thank you for the feedback