I've seen a few of the posts discussing the potential of pi zero as a micro-controller. I'd like to do that as well, however, I don't want to give up the linux environment. Without going into too many details, suffice to say that I would like a hybrid system.
One thought I had was to sort of black box the OS itself and put bare-metal type code in front of it that essentially allowed linux to be fed time-slices as the time-sensitive portions of the application deemed suitable. This seems particularly attractive because it does not involve maintaining a special version of raspian. The tricky part is that I'd want to use the linux to to manage the controller (start, stop, update, communicate changes in user settings, etc).
Has anybody explored any hybrid approaches like this, or have any suggestions on it?
Cheers!