This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Creating partial code for external execution

Hello,

Would it be possible to create a partial code that can be placed on external memory, and loaded into ram for execution when needed?

As I believe it is possible, the real question is:
Could that code execute function already present in the flash, thus enabling the ability to use external component (like a display) without having to compile the whole driver for this component in the "external application", as it will be already present with the "main program" in the flash.

If I do understand how things work, this would be like a softdevice call, but with function not provided by the soft device but by the "main program"

For example, I would like to have the ability to develop small application, thant would be placed on sdcard, and then launched by the device when asked.

Thanks in advance,
If this is not clear, please do not hesitate to tell me

Related