pushpak
require details to use open plc on stm32h7
Reply 0 0
thiagoralves
If your MCU is compatible with Arduino, then to add it you just need to edit editor/arduino/examples/baremetal/hals.json to insert your platform there. You can follow the other STM32 examples in there.
 
If your MCU is not compatible with Arduino, then you will have to rewrite most of the runtime. Not worth the hassle…
Reply 1 0
pushpak
STM32h753vit6 is partially compatible, can we update the plc file through runtime through ethernet/ remotely
Reply 0 0
thiagoralves
The PLC file is the entire firmware that is uploaded to the MCU. For that to be done through ethernet you would need an ethernet bootloader for the STM32. I don't know if that exists and even if it exists, I don't know if it would be supported by the Arduino tools (arduino-cli).
Reply 0 0
fg71
The correct way to support a board that is not compatible with Arduino is to make a variant of the board.
You create a folder of your board name put it inside STM32H7xx
 
Next you need to read lot of documentation to configure your board to be Arduino compatible. Or asking STMicroelectronics
to do it for you. That is how Arduino API is setup to support many MCU from different vendors and still use the same libraries.
Thats why you could use LED_BUILTIN for any board and it still work.
 
This process is not different from DeviceTree that is used for Linux.
 
Here is the screenshot of the parent folder
[203128%2F9358515%2Fmceclip0]
Reply 0 0
Reply