Handling all OS routines as sw interrupts

axos88 wrote on Monday, November 19, 2012:


Is there a ready-made solution, or any intention to make a version of the FreeRTOS operating system that would replace all OS API functions with SWI invocations?

This would enable to run code that was not initially linked to the freertos code, effectively making freertos an operating system that would be able to “load” other programs, during run-time, or using a bootloader for example.

This would make FreeRTOS code reside in the bootloader, and user programs would not need to be linked against the bootloader or freertos, thereby enabling the bootloader and the O/S to be kept up to date without recompiling user programs.

If there is no such implementation, do you have any recommandations on how one should start doing something like this, without hacking around too much?

  Ákos Vandra

rtel wrote on Monday, November 19, 2012:

This is how the SafeRTOS MPU code works.  FreeRTOS MPU uses a different technique though, although if you were to do this I would recommend starting with the FreeRTOS MPU code.

I have no intention of doing it myself within the foreseeable future as the roadmap is full to bursting already with new things that would come first.