exception_set_exclusive_handler & ISRs #1821
nstansbury
started this conversation in
General
Replies: 1 comment
-
The SYSTICK is used to handle cycle counting in the plain core. FreeRTOS will use it for its task swapping. You could hack and remove cycle count support in non-freertos mode, I suppose. See |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have an initial Platform.IO library of a multi-core "micro-kernel" for the Pico - Postman::Pico Task Manager based on the official SDK (
v1.4
) that I am trying to port over to work with thearduino-pico
core, but I'm not able to set the Systick and SVC ISRs viaexception_set_exclusive_handler(SYSTICK_EXCEPTION, ..)
andexception_set_exclusive_handler(SVCALL_EXCEPTION, ..)
as they have both already been installed.Reading some other threads: ThreadX Porting they seems to suggest this maybe something to do with how the Pico SDK is included in
arduino-pico
and__isFreeRTOS
.Could I get some pointers on what might be happening, as I'd just assumed I'd have full access to H/W via the SDK but this appears not to be the case.
Beta Was this translation helpful? Give feedback.
All reactions