Model to code generation of UML/SysML activity diagrams for ARM CortexM MCUs