1.9.0 • Published 7 years ago

mraa v1.9.0

Weekly downloads
57
License
MIT
Repository
-
Last release
7 years ago

libmraa - Low Level Skeleton Library for Communication on GNU/Linux platforms

Libmraa is a C/C++ library with bindings to Java, Python and JavaScript to interface with the IO 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 runtime you can create portable code that will work across the supported platforms.

The intent is to make it easier for developers and sensor manufacturers to map their sensors & actuators on top of supported hardware and to allow control of low level communication protocol by high level languages & constructs.

Build Status Quality Gate

Supported Boards

X86

ARM

MIPS

FPGA

USB

I2C

Mock

JSON platform

Installing on your board

Installing on Ubuntu

Here is a PPA for installing on ubuntu: https://launchpad.net/~mraa/+archive/ubuntu/mraa

sudo add-apt-repository ppa:mraa/mraa
sudo apt-get update
sudo apt-get install libmraa1 libmraa-dev libmraa-java python-mraa python3-mraa node-mraa mraa-tools

Running MRAA tools or applications on Ubuntu systems requires elevated permissions (e.g. run with sudo).

Install on Arch Linux

There is an AUR package for mraa here: https://aur.archlinux.org/packages/mraa

Install on openSUSE

REPO="openSUSE_Tumbleweed"
if test "$(arch)" == "aarch64"; then
  REPO="openSUSE_Factory_ARM"
fi
sudo zypper ar http://download.opensuse.org/repositories/hardware/$REPO/hardware.repo
sudo zypper in mraa

Installing for Node.js only

Note: Node.js 7.0.0+ is not currently supported. You'll have to downgrade to 6.x.x.

You can also install just the node.js mraa module by using npm. You will need a C++ compiler and the node development headers, however it's not required to have SWIG installed.

npm install mraa

Note that installing mraa in this way builds mraa without json-c so you cannot use mraa_init_json_platform(). Also building this way means the mraa.node includes a static version of libmraa rather than relying on a dynamic library in /usr/lib.

Subplatforms (i.e. Firmata) have to be added manually with this kind of install from your application, as shown in this example.

Installing on Intel 32bit Yocto based opkg image

See the section below on compiling or use our repository to install on a glibc based yocto poky image that supports opkg. Adding this repository is as simple as and you'll have the latest stable tagged build of mraa installed!

echo "src mraa-upm http://iotdk.intel.com/repos/3.5/intelgalactic/opkg/i586" > /etc/opkg/mraa-upm.conf
opkg update
opkg install mraa

If you would like to get the latest & greatest builds from master HEAD you can use our -dev repository

echo "src mraa-upm http://iotdk.intel.com/repos/3.5/intelgalactic-dev/opkg/i586" > /etc/opkg/mraa-upm.conf
opkg update
opkg install mraa

Compiling

See documentation on building

Examples

See the examples available for various languages

Debugging

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 glance at our debugging page too.

API Documentation

Contact Us

To ask questions either file issues in github or send emails on our mailing list. You might also catch us on the mraa channel on freenode IRC.

See the Contribution documentation for more details.

Changelog

Version changelog here.

1.9.0

7 years ago

1.8.0

8 years ago

1.7.0

8 years ago

1.6.1

8 years ago

1.6.0

8 years ago

1.5.1

9 years ago

1.5.0

9 years ago

1.4.0

9 years ago

1.3.0

9 years ago

1.2.3

9 years ago

1.2.2

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago

0.10.1

9 years ago

0.10.0

9 years ago

0.9.6

9 years ago

0.9.5

9 years ago

0.9.4

9 years ago

0.9.3

9 years ago

0.9.2

9 years ago

0.9.1

9 years ago

0.9.0

10 years ago

0.8.1

10 years ago

0.8.0

10 years ago

0.7.5

10 years ago

0.7.4

10 years ago

0.7.3

10 years ago

0.7.2

10 years ago

0.7.1

10 years ago

0.7.0

10 years ago

0.6.2

10 years ago

0.6.1-36-gbe4312e

10 years ago

0.6.1-34-g52c5376

10 years ago

0.6.1-33-g2388fb9

10 years ago

0.6.1-32-gffcf3d7

10 years ago

0.6.1-31-g2174ee1

10 years ago

0.6.1-22-ge03eec3

10 years ago

0.6.1-21-g8b0b9f1

10 years ago

0.6.1-18-g62213fa

10 years ago

0.6.1-17-g805d22f

10 years ago

0.6.1-16-gc621fad

10 years ago

0.6.1-15-g228b7b6

10 years ago

0.6.1-14-g0dd0395

10 years ago

0.6.1-12-gf854a2b

10 years ago

0.6.1-11-g7375146

10 years ago

0.6.1-10-gf33880c

10 years ago

0.6.1-9-g677af12

10 years ago

0.6.1-8-g2c74ba7

10 years ago

0.6.1-7-g76ffa35

10 years ago

0.6.1-6-g10f450b

10 years ago

0.6.1-5-g3b3b940

10 years ago

0.6.1-2-ga747c80

10 years ago

0.6.1

10 years ago

0.5.4-141-ga2220e3

10 years ago

0.5.4-140-g797b137

10 years ago

0.5.4-139-gefdbf4b

10 years ago

0.5.4-138-g163a40e

10 years ago

0.5.4-137-g9d80b12

10 years ago

0.5.4-135-gdd80730

10 years ago

0.5.4-134-gd6891e8

10 years ago

0.5.4-127-gcd36880

10 years ago

0.5.4-126-g989566b

10 years ago

0.5.4-121-g2965665

10 years ago

0.5.4-118-g818e1a8

10 years ago

0.5.4-115-g403424e

10 years ago

0.5.4-112-g2dc79dd

10 years ago

0.5.4-110-g459ecc0

10 years ago

0.5.4-109-g8ccefe9

10 years ago

0.5.4-108-ge7c3c17

10 years ago

0.5.4-107-gcd6701d

10 years ago

0.5.4-106-gdbc64fb

10 years ago

0.5.4-105-gbaa1a0a

10 years ago

0.5.4-104-g019b0a5

10 years ago

0.5.4-103-g4d81fec

10 years ago

0.5.4-102-ge68546a

10 years ago

0.5.4-101-g82bb1c5

10 years ago

0.5.4-100-g6c73a8a

10 years ago

0.5.4-98-gd88da13

10 years ago

0.5.4-97-g212be29

10 years ago

0.5.4-96-g94dd44a

10 years ago

0.5.4-95-gfb54307

10 years ago

0.5.4-94-ge8bc227

10 years ago

0.5.4-92-g067487f

10 years ago

0.5.4-91-g456646c

10 years ago

0.5.4-90-ge23325d

10 years ago

0.5.4-89-gc3980c2

10 years ago

0.5.4-88-g4e59917

10 years ago

0.5.4-86-g97d5a3e

10 years ago

0.5.4-85-g9cfbc87

10 years ago

0.5.4-84-ged4c68e

10 years ago

0.5.4-83-g20d2291

10 years ago

0.5.4-82-g66eb476

10 years ago

0.5.4-81-g5daad72

10 years ago

0.5.4-80-g50ca84b

10 years ago

0.5.4-79-gc3e43e5

10 years ago

0.5.4-78-g21962f4

10 years ago

0.5.4-76-g5af1197

10 years ago

0.5.4-71-g17ee0c9

10 years ago

0.5.4-66-g62c3264

10 years ago

0.5.4-66-g44d6ebf

10 years ago

0.5.4-65-ga76061a

10 years ago

0.5.4-64-g3efb7a0

10 years ago

0.5.4-63-gec5c09f

10 years ago

0.5.4-46-g74d172c

11 years ago

0.5.4-45-gbc05ce7

11 years ago

0.5.4-42-ge7649db

11 years ago

0.5.4-41-g2574efd

11 years ago

0.5.4-38-gd58adef

11 years ago

0.5.4-37-g3c4742c

11 years ago

0.5.4-36-ge5835fa

11 years ago

0.5.4-34-g4d8b82e

11 years ago

0.5.4-32-g71118af

11 years ago

0.5.4-31-gf7256f1

11 years ago

0.5.4-30-gf6a05b1

11 years ago

0.5.4-29-gf277e7d

11 years ago

0.5.4-28-g4944f42

11 years ago

0.5.4-27-g643bb99

11 years ago

0.5.4-26-gda15fdb

11 years ago

0.5.4-25-g0c086d8

11 years ago

0.5.4-24-g2c5e749

11 years ago

0.5.4-22-gbd16ecc

11 years ago

0.5.4-21-g71913b9

11 years ago

0.5.4-20-g82eee9b

11 years ago

0.5.4-14-gaff8811

11 years ago

0.5.4-6-gcf1a864

11 years ago

0.5.4-5-g1ee0548

11 years ago

0.5.4-2-gffdd828

11 years ago

0.5.4-1-ged1fc6c

11 years ago

0.5.4-2-g8aa2ccc

11 years ago

0.5.4

11 years ago

0.5.3-7-gacc3476

11 years ago

0.5.3-6-g7ad78d0

11 years ago

0.5.3-5-g1b059c1

11 years ago

0.5.3-4-g14f4567

11 years ago

0.5.3-3-g36e24ba

11 years ago

0.5.3-2-g9684915

11 years ago

0.5.3

11 years ago

0.5.2-63-gd1185ef

11 years ago

0.5.2-62-g0289c63

11 years ago

0.5.2-51-g276b0a8

11 years ago

0.5.2-50-g8be861a

11 years ago

0.5.2-49-gabd538d

11 years ago

0.5.2-48-g0ca4b10

11 years ago

0.5.2-47-ga38c07f

11 years ago

0.5.2-46-gd4552fd

11 years ago