Guidance on Plugin Architecture for Firmware with FreeRTOS, Supporting PIC and Distinct RAM for Code and Data

Does the approach I described here work for you - Binary partitioning - #3 by aggarg?

For security, you may want to read our threat model - Kernel Threat Model - FreeRTOS