gobot icon indicating copy to clipboard operation
gobot copied to clipboard

[SBC] Banana Pi M2+

Open basilex opened this issue 9 years ago • 1 comments
trafficstars

Would be great if gobot could support this board/chips as well. url: http://www.armbian.com/banana-pi-m2-plus/ hardware: https://linux-sunxi.org/Sinovoip_Banana_Pi_M2%2B Thanx!

basilex avatar Jul 19 '16 09:07 basilex

I personally do not have one of these boards, however adding support for it should not be difficult. Please take a look at the Raspberry Pi platform implementation here: https://github.com/hybridgroup/gobot/blob/dev/platforms/raspi/raspi_adaptor.go

The mapping of the GPIO pins on the specific version of the Raspi you are using is located here: https://github.com/hybridgroup/gobot/blob/dev/platforms/raspi/raspi_adaptor.go#L37-L122

The Banana Pi has several different variations in similar fashion, so something like this would be needed to support that platform.

Hope that helps!

deadprogram avatar Jul 20 '16 08:07 deadprogram