Towards automatic code generation for distributed cyber-physical systems: A first prototype for Arduino boards
Artur Ataide, João Paulo Barros, Isabel Sofía Brito, Lúıs Gomes · 2017
Embedded controllers are often the basis for cyberphysical systems and offer a pervasive support for the Internet of Things. When those controllers are made of several communicating devices we talk about distributed embedded controllers. The IOPT-Tools is a free cloud-based framework for model-driven development of controllers. From a single graphical model, the tool already generates code to be run in several controllers. Yet, the communication layer to support inter-device communication needs to be manually written and tailored. This paper presents a first prototype of a tool that automatically adds a communication layer to the code generated by IOPT-Tools, using the I2C-bus specification. This allows automatic code generation for globally asynchronous and locally synchronous systems (GALS) supported by Arduino boards. A proof of concept example is presented.