2019-11-15 03:52 AM
Hi guys,
I just wanted to share my work: STM32MP1 port for Arduino is merged! I have spent months on this work.
https://github.com/stm32duino/Arduino_Core_STM32/pull/717
With this merge, you can run Arduino on the M4 coporcessor and it can use the Arduino header pins, while the host Linux still have access to the RPi HAT header pin.
It is not landed to a release yet, so you cannot use it out-of-the-box yet but additional tricks are needed to build Arduino_Core_STM32 from source.
This merge includes basic peripherals like SPI, I2C, PWM, ADC, and there is no direct communication between A7 and M4 yet. I'm working on OpenAMP RPMsg support (/dev/ttyRPMSG0) for now:
https://github.com/stm32duino/Arduino_Core_STM32/pull/766
I hope that the next version of Arduino for STM32 (v1.8.0) will be released in this year, including basic peripherals and OpenAMP!
I will post another one when the support is officially released =)