Synthron
hey guys,
 
I am currently designing my own PLC system based on STM32 microcontrollers. 
I read on another thread that in order to get the runtime to run on a non-supported platform it has to be supported by Arduino-CLI. 
so my question is if there is some sort of source code one can look through and port it over to his own platform? 
Also it was said that the Editor depends heavily on the Arduino API. is there any further documentation on which functions are needed and how they are used? So one could adapt the needed functionality as well. 
 
sure sounds like quite some work, but I would be interested i. trying it out for my own system (main CPU is STM32F412).
 
best regards
 
Synthron
Reply 0 0
thiagoralves
Hardware specific code is located in the Hal files (editor/arduino/src/hals). There isn’t a lot of specific requirements in there, it is mainly IO handling and pinout. As you said, the key is to use a MCU that is compatible with the Arduino environment. If yours isn’t, then you’re in trouble. You will have to port it over to Arduino first before you can use with OpenPLC
Reply 0 0
davidv1325.
hello should i use only stm32f103cb and stm32f411ce? For now I only have the stm32f103c8 and I have problems loading the blink
Reply 0 0
Reply