eclipse / mraa

Linux Library for low speed IO Communication in C with bindings for C++, Python, Node.js & Java. Supports generic io platforms, as well as Intel Edison, Intel Joule, Raspberry Pi and many more.
http://mraa.io
MIT License
1.37k stars 613 forks source link

Other Hardware #431

Open smuellener opened 8 years ago

smuellener commented 8 years ago

Hello

We use a different board with an NXP iMX6. Without having a supported plattform, I am currently excluded from using Mraa properly. What is the standing on this? Can I add a generic Platform definition or make the driver code not crash if "platform" is NULL?

Thanks

arfoll commented 8 years ago

You can indeed make a generic platform, there's no reason not too, generally people like to add their board in though. I'm happy to take PRs for a 'generic' platform that will just call the _raw functions in passthrough.