Write Your Own Useful Packages and Modules (UPM) Using MRAA
Shawn Hymel wrote this straightforward getting started guide for building custom modules for hardware in UPM.
UPM (Useful Packages and Modules) is a high-level library that relies on MRAA to talk to hardware peripherals over GPIO, SPI, UART, etc. Both libraries were created by Intel and come packaged with the Galileo and Edison boards. MRAA has support for other single board computers, like the Raspberry Pi and Beaglebone Black, according to the MRAA documentation.