Open full view…
Model-Driven engineering in Telosys for a code generator for arduino
Thu, 23 Jul 2020 20:47:58 GMT
Hello, greetings to you all. I have a project in mind which tries to make a code generator for arduino, this is part of my graduate work, I was looking for some alternatives for this and I found that Telosys, in the little that I have observed look that from a entity-relationship model can generate code to various programming languages, now, the question is Telosys from a class or component diagram can generate code specifically for Arduino? or this is not possible.
Wed, 29 Jul 2020 10:45:32 GMT
With Telosys it's possible to generate any kind of language (including the Arduino Programming Language as it's based on C/C++)
Regarding the input model you could use the DSL model type in order to define your entities (if any) or just use the project variables (if it's enough for you).
After that you can create a bundle of templates to generate the code you want (ie. a file with classical Arduino functions : setup(), loop() , etc).
If you don't need entities see this post :