Having different physical memories to run kernel space and user space

Hi,

I am using nCS based application running on nrf52840dk, wherein we have QSPI based external flash memory available onboard.

My question is, since zephyr RTOS provides for separate kernel space and user space model for application development.

Is also possible to run kernel space in separate memory like internal flash and user space to be run via QSPI based external flash memory..?

Like in higher end RTOSes, there is physical distinction of memory space for kernel space to start from so and so address and user space to start from a different address.

I understand that this is based from RAM, which we cannot do on a embedded controller due to low memory.

Want to know if it is possible at all.

Thanks,

Related