How to assign an internal peripheral to a runtime context