Skip to content
Snippets Groups Projects
Commit 199261e8 authored by rahix's avatar rahix
Browse files

fix(core1-control): Fix SysTick not being reset


Commit dbeec980 ("fix(pycardium): Fix delay implementation") enables
the systick on core 1 but on loading a new app, it is not reset which
makes some l0dables crash.  Fix this by always resetting (disabling) the
SysTick in the core1_reset() stub.

Fixes: dbeec980 ("fix(pycardium): Fix delay implementation")
Reported-by: default avatarBeastie <fischervincent98@gmail.com>
Signed-off-by: default avatarRahix <rahix@rahix.de>
parent d9b904fc
No related branches found
No related tags found
No related merge requests found
Pipeline #4424 passed
......@@ -76,6 +76,11 @@ void __core1_init(void)
*/
TMR_IntClear(MXC_TMR5);
/*
* Disable the SysTick
*/
SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk;
/*
* Reset Interrupts
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment