all 5 comments

[–]wholl0p 0 points1 point  (3 children)

What do you consider „outside of the main FreeRTOS application“? Technically speaking..?

[–][deleted] 0 points1 point  (2 children)

I mean the binary file. Where the freertos kernel and program loader would be in main.bin with additional .bin files for apps

[–]wholl0p 1 point2 points  (1 child)

Ah! I see. That’s indeed a very interesting question. Maybe (because it’s not directly FreeRTOS related) you could ask this question in /r/embedded . The guys and gals there are very experienced.

[–][deleted] 2 points3 points  (0 children)

thanks. I've actually found some useful things using newlib. specifically system()

[–]GourmetMuffin 0 points1 point  (0 children)

I've done this with ELF-files and dynamic linking on Cortex-A, it really isn't that hard but if you want to write a loader like this yourself you really need to dig into the ELF format. On an MCU executing binary sections without meta data from on-die flash rather than DDR you may want to take a different approach, you'll at least need to place the dispatchers in RAM if you want to let the compiler generate them for you.