kaz1961
OpenPLC on SONY Spresense
I have recently started using OpenPLC.
The microcontroller board I usually use is SONY's Spresense.
This board is a high spec microcontroller board with 6 CPU cores.
It also supports development with Arduino IDE.
Is it difficult to make OpenPLC compatible with this microcontroller?

https://www.sony-semicon.com/en/products/spresense/index.html
Reply 0 0
thiagoralves
If the board is supported on Arduino IDE, then integrating it with OpenPLC Editor should be really easy. Take a look at the hals files at /editor/arduino/src/hals. Basically all you have to do is add an entry on the hals.json file for your board with the command to compile sketches to your board using Arduino-cli. Then you need to provide a .cpp driver file that basically maps your board's pins for OpenPLC usage. You can check the other .cpp implementations for guidance.
Reply 1 0
kaz1961
Thanks for the advice.
I will take up the challenge.
Reply 0 0
kaz1961
Maybe OpenPLC worked with Spresense.
I will verify a bit more and publish the documentation.
Reply 0 0
Reply