I'm tying to understand whether there is any way to use custom external flash for application code storage. My case is following. I want to user JN5168 with OTA updates therefore I need 512 KB of storage for application code. The only supported 512 KB memory chip is already discontinued.
I can see PDM_vSPIFlashConfig function where I can supply custom functions to interact with the flash. This function however will allow my application to use a custom flash. What I need is a bootloader reading app code from my custom flash so the question is: Can I supply functions for custom flash to the bootloader?