Change Note 2025-08-11
New kernel-v4 variant.
Kernels
New Kernel-v4
- Based on kernel-v3, adding background tasks.
- Plus periodic tick events, based on sys tick interrupt.
- Plus semaphores, and kernel alarms for micro-seconds timing events.
- See Description.
- Example programs
K4base
,K4sema
, andK4alarms
for RP2350 (Pico2).
Kernel-v3, Kernel-v3t
- Use correct
SYSTEM.EMITH
in lieu ofSYSTEM.EMIT
. - Clean-up.
Remarks
- Kernel-v3 and kernel-v3t are of exploratory nature, and will not get any more work. They will remain in the repo, but will not appear any more in the docs (website).
- Same for kernel-v2.
- The nomenclature and documentation are a bit all over the map right now, and will be consolidated once the new kernel library modules have reached a more stable structure.
- The code still contains (mostly?) commented out debugging code. To be cleaned up.
Other Library Modules lib/v2.1
Alarms
- Use
Alarms.Device
forGetTime
, not timer number.
MCU2
- Change
CPSIE
toCPSIE_I
,CPSID
toCPSID_I
(assembly code to modifyPRIMASK
). - Add
CPSIE_F
andCPSID_F
to modifyFAULTMASK
.
Config Files
- Add kernel-v4 config for Pico2.
Example Programs
K4base
: basic test program for kernel-v4 for background tasks.K4sema
: test the use of semaphores.K4alarm
: test the use of the kernel alarms.