Sorry for triple post, but ideas keep coming to me
What would be really cool is some sort of abstraction that makes one able to use the
EventQueue API to queue events that then run on the other processor
Not sure how feasible this is because, depending on the core architectures, it may not be possible (or allowed by an MPU) for one core to execute function pointers from another core’s memory region.
Perhaps we would need to come up with some C++ magic that lets us use ERPC to create a
RPCCallback that is then mapped to a function on the coprocessor side. This
RPCCallback could then be placed in an
EventQueue-like structure to make multi-process programming on Mbed feel more familiar.