• nickwitha_k (he/him)@lemmy.sdf.org
    link
    fedilink
    arrow-up
    2
    ·
    5 months ago

    AFAIK FreeRTOS always ran drivers in kernel.

    At least in the docs, I see it described as a microkernel but, with a kernel that small, the differences are probably academic (and I’ll leave that to people with more formal background in CS than myself).

    You can’t even emulate MPU without MPU. The only way is running bytecode, which is still not context switching.

    You are correct here. Should have said MPU instead.

    Oh yes! That makes a lot more sense. I’ve been on-and-off looking at implementing multithreading and multiprocessing in CircuitPython. Memory protection is a big problem with making it work reliably.