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 614 forks source link

Porting mraa for the CHIP #703

Open teuteuguy opened 7 years ago

teuteuguy commented 7 years ago

Could we add the NextThing Chip to the list of supported devices?

Happy to help test, run, modify files to test it out, if someone tells me what to do.

teuteuguy commented 7 years ago

If someone can guide on how to work prepare build files for new platform like the CHIP, it's something I can try to work and test. But don't know where to start or how to do it, test it.

alext-mkrs commented 7 years ago

You generally need a platform/board file as the core - see e.g. src/x86 or src/arm. You can also check the commit history for commits adding various platforms.

TechNexion commented 7 years ago

In general, what is the policy on accepting patches for (new) boards? We have a few we might want to port - but before doing so it might be good to get a hint if this is anything anyone is interested in.

arfoll commented 7 years ago

If you look at our contributing.md guide it starts by saying we'll be happy to add any linux platform to mraa :) As such we are very keen to support as many platforms as possible so please add away :)

teuteuguy commented 7 years ago

Is there documentation available on how to go about adding a board ? I'd try, but have no idea what needs to be done

arfoll commented 7 years ago

If you look in docs/internal.md and related there are some details. I'd probably recommend taking a random board file in src/arm or src/x86, and starting very simple. Have a look at a commit that adds a board file. When I get back to a computer I'll have a look

On 14 Jul 2017 12:23, "teuteuguy" notifications@github.com wrote:

Is there documentation available on how to go about adding a board ? I'd try, but have no idea what needs to be done

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/intel-iot-devkit/mraa/issues/703#issuecomment-315326472, or mute the thread https://github.com/notifications/unsubscribe-auth/AAfZZoY4emwtNvUY3M2ZBopwmiLJBNrMks5sN0GhgaJpZM4M5Dpp .

arfoll commented 7 years ago

Have a look at this commit - it has pretty much everything you need to add a platform. If you are unsure of any details - feel free to ask! https://github.com/intel-iot-devkit/mraa/commit/4472ff162989273ed86a97bbd1288494e09a5782