2015-04-03 19:41:52 +01:00
|
|
|
libmraa - Low Level Skeleton Library for Communication on GNU/Linux platforms
|
2014-06-11 14:16:47 +01:00
|
|
|
==============
|
|
|
|
|
|
2015-09-21 22:26:31 +03:00
|
|
|
Libmraa is a C/C++ library with bindings to Python, Javascript and Java to
|
|
|
|
|
interface with the I/O on Galileo, Edison & other platforms, with a structured
|
|
|
|
|
and sane API where port names/numbering matches the board that you are on. Use
|
|
|
|
|
of libmraa does not tie you to specific hardware with board detection done at
|
2014-11-12 13:48:46 +00:00
|
|
|
runtime you can create portable code that will work across the supported
|
|
|
|
|
platforms.
|
2014-06-11 14:16:47 +01:00
|
|
|
|
2015-09-21 22:26:31 +03:00
|
|
|
The intent is to make it easier for developers and sensor manufacturers to map
|
2014-06-11 14:16:47 +01:00
|
|
|
their sensors & actuators on top of supported hardware and to allow control of
|
|
|
|
|
low level communication protocol by high level languages & constructs.
|
|
|
|
|
|
|
|
|
|
## API
|
|
|
|
|
|
2014-06-24 17:24:54 +01:00
|
|
|
These interfaces allow you to interact with all libmraa functionality. The C++
|
2014-06-11 14:16:47 +01:00
|
|
|
classes directly wrap the C API and provide a near 1:1 mapping of
|
|
|
|
|
functionality.
|
|
|
|
|
|
|
|
|
|
<center>
|
2014-09-01 23:17:44 +01:00
|
|
|
| C API Modules | C++ API Classes |
|
|
|
|
|
|:----------------------:|:----------------------------:|
|
2014-06-24 17:24:54 +01:00
|
|
|
| @ref gpio.h "gpio" | @ref mraa::Gpio "Gpio class" |
|
2018-01-08 12:10:22 -08:00
|
|
|
| @ref led.h "led" | @ref mraa::Led "Led class" |
|
2014-06-24 17:24:54 +01:00
|
|
|
| @ref i2c.h "i2c" | @ref mraa::I2c "I2c class" |
|
|
|
|
|
| @ref aio.h "aio" | @ref mraa::Aio "Aio class" |
|
|
|
|
|
| @ref pwm.h "pwm" | @ref mraa::Pwm "Pwm class" |
|
|
|
|
|
| @ref spi.h "spi" | @ref mraa::Spi "Spi class" |
|
2014-09-03 09:30:49 +01:00
|
|
|
| @ref uart.h "uart" | @ref mraa::Uart "Uart class" |
|
2014-09-01 23:17:44 +01:00
|
|
|
| @ref common.h "common" | @ref mraa "common" |
|
2014-06-11 14:16:47 +01:00
|
|
|
</center>
|
|
|
|
|
|
2014-06-24 17:24:54 +01:00
|
|
|
### Hello Mraa
|
|
|
|
|
@snippet hellomraa.c Interesting
|
2014-06-11 14:16:47 +01:00
|
|
|
|
|
|
|
|
## Supported platforms
|
|
|
|
|
|
|
|
|
|
Specific platform information for supported platforms is documented here:
|
|
|
|
|
|
|
|
|
|
- @ref galileorevd
|
2014-08-12 17:16:10 +01:00
|
|
|
- @ref galileorevh
|
2014-10-03 22:49:01 +01:00
|
|
|
- @ref edison
|
2014-11-06 15:25:01 +00:00
|
|
|
- @ref de3815
|
2014-11-24 10:50:32 +00:00
|
|
|
- @ref minnowmax
|
2015-02-15 22:57:24 +00:00
|
|
|
- @ref rasppi
|
2015-04-08 22:18:36 +01:00
|
|
|
- @ref bananapi
|
2015-04-09 16:23:37 +02:00
|
|
|
- @ref beaglebone
|
2017-01-19 14:09:28 +01:00
|
|
|
- @ref phyboard-wega
|
2015-09-03 11:23:35 +01:00
|
|
|
- @ref nuc5
|
2016-02-24 14:25:54 +00:00
|
|
|
- @ref up
|
2017-09-08 12:06:33 +01:00
|
|
|
- @ref up2
|
2017-02-24 16:37:45 -05:00
|
|
|
- @ref joule
|
2015-09-07 11:39:58 +01:00
|
|
|
- @ref ft4222
|
2017-09-21 13:38:06 +02:00
|
|
|
- @ref _96boards
|
|
|
|
|
- @ref de10-nano
|
|
|
|
|
- @ref firmata
|
|
|
|
|
- @ref grovepi
|
|
|
|
|
- @ref mock
|
2017-10-04 12:08:52 -07:00
|
|
|
- @ref linkit_7688
|
|
|
|
|
- @ref omega2
|
2018-06-11 22:47:39 -07:00
|
|
|
- @ref iei-tank
|
2014-06-11 14:16:47 +01:00
|
|
|
|
2015-01-20 23:25:31 +00:00
|
|
|
## DEBUGGING
|
2014-06-11 14:16:47 +01:00
|
|
|
|
2015-01-20 23:25:31 +00:00
|
|
|
Sometimes it just doesn't want to work, let us try and help you, you can file
|
|
|
|
|
issues in github or join us in #mraa on freenode IRC, hang around for a little
|
|
|
|
|
while because we're not necessarily on 24/7, but we'll get back to you! Have a
|
2017-07-28 10:48:48 -03:00
|
|
|
glance at our @ref debugging page too
|
2014-06-11 14:16:47 +01:00
|
|
|
|
|
|
|
|
## COMPILING
|
|
|
|
|
|
2014-10-03 10:18:13 +01:00
|
|
|
More information on compiling is @ref building page.
|
2014-06-11 14:16:47 +01:00
|
|
|
|
2018-01-28 15:34:50 +01:00
|
|
|
## STATIC CODE ANALYSIS
|
|
|
|
|
|
|
|
|
|
See @ref static_code_analysis page.
|
|
|
|
|
|
2014-06-11 14:16:47 +01:00
|
|
|
## CONTRIBUTING
|
|
|
|
|
|
2014-10-03 10:18:13 +01:00
|
|
|
Please see the @ref contributing page, the @ref internals page may also be of
|
|
|
|
|
use.
|
2014-06-11 14:16:47 +01:00
|
|
|
|
|
|
|
|
## API Changelog
|
|
|
|
|
|
2016-01-04 11:59:54 +00:00
|
|
|
Version @ref changelog here.
|