{"id":15108615,"url":"https://github.com/eclipse/mraa","last_synced_at":"2025-12-16T17:36:45.046Z","repository":{"id":17478837,"uuid":"20253182","full_name":"eclipse/mraa","owner":"eclipse","description":"Linux Library for low speed IO Communication in C with bindings for C++, Python, Node.js \u0026 Java. Supports generic io platforms, as well as Intel Edison, Intel Joule, Raspberry Pi and many more.","archived":false,"fork":false,"pushed_at":"2024-08-28T14:57:39.000Z","size":3620,"stargazers_count":1389,"open_issues_count":197,"forks_count":621,"subscribers_count":127,"default_branch":"master","last_synced_at":"2025-04-11T15:57:00.327Z","etag":null,"topics":["board","communication","galileo","gpio","i2c","intel-joule","io","libmraa","linux","mraa","raspberry-pi","spi"],"latest_commit_sha":null,"homepage":"http://mraa.io","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eclipse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-05-28T10:09:14.000Z","updated_at":"2025-04-09T20:49:49.000Z","dependencies_parsed_at":"2023-10-20T19:35:27.904Z","dependency_job_id":"ac05c5c8-30c5-49f0-adc0-fa02e9b9724d","html_url":"https://github.com/eclipse/mraa","commit_stats":null,"previous_names":["intel-iot-devkit/mraa"],"tags_count":63,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipse%2Fmraa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipse%2Fmraa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipse%2Fmraa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipse%2Fmraa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eclipse","download_url":"https://codeload.github.com/eclipse/mraa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254270641,"owners_count":22042858,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["board","communication","galileo","gpio","i2c","intel-joule","io","libmraa","linux","mraa","raspberry-pi","spi"],"created_at":"2024-09-25T22:20:19.118Z","updated_at":"2025-12-16T17:36:40.005Z","avatar_url":"https://github.com/eclipse.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"http://iotdk.intel.com/misc/logos/mraa.png\" height=\"150px\" width=\"auto\" algt=\"Mraa Logo\"/\u003e\n\u003c/p\u003e\n\nEclipse Mraa - Low Level I/O Communications Library for GNU/Linux platforms\n===========================================================================\n\nEclipse Mraa (Libmraa) is a C/C++ library with bindings to Java, Python and JavaScript\nto interface with the I/O pins and buses on various IoT and Edge platforms, with a\nstructured and sane API where port names/numbering match the board that you are on.\nUse of libmraa does not tie you to specific hardware. Since board detection done at\nruntime you can create portable code that will work across the supported platforms.\n\nThe intent is to make it easier for developers and sensor manufacturers to map\ntheir sensors \u0026 actuators on top of supported hardware and to allow control of\nlow level communication protocol by high level languages \u0026 constructs.\n\nThe MRAA project is an Eclipse IoT project. A detailed project description can be found [here](https://projects.eclipse.org/proposals/eclipse-mraa).\n\n[![Build Status](https://travis-ci.org/intel-iot-devkit/mraa.svg?branch=master)](https://travis-ci.org/intel-iot-devkit/mraa) [![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=mraa-master\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=mraa-master)\n\nSupported Boards\n================\n\nX86\n---\n* [Galileo Gen 1 - Rev D](../master/docs/galileorevd.md)\n* [Galileo Gen 2 - Rev H](../master/docs/galileorevh.md)\n* [Edison](../master/docs/edison.md)\n* [Intel DE3815](../master/docs/intel_de3815.md)\n* [Minnowboard](../master/docs/minnow_max.md)\n* [NUC 5th generation](../master/docs/intel_nuc5.md)\n* [UP](../master/docs/up.md)\n* [UP Squared](../master/docs/up2.md)\n* [Intel Joule](../master/docs/joule.md)\n* [IEI Tank](../master/docs/iei-tank.md)\n* [ADLINK IPi-SMARC X86](../master/docs/adlink_ipi_x86.md)\n* [UP Xtreme](../master/docs/up_xtreme.md)\n\nARM\n---\n* [Raspberry Pi](../master/docs/raspberry_pi.md)\n* [Banana Pi](../master/docs/banana_pi.md)\n* [Beaglebone Black](../master/docs/beaglebone.md)\n* [phyBOARD-Wega](../master/docs/phyboard-wega.md)\n* [96Boards](../master/docs/96boards.md)\n* [ADLINK IPi-SMARC ARM](../master/docs/adlink_ipi_arm.md)\n* [Radxa CM3](../master/docs/radxa_cm3.md)\n* [Radxa CM5 IO](../master/docs/radxa_cm5_io.md)\n* [Radxa E25](../master/docs/radxa_e25.md)\n* [Radxa ROCK 3A](../master/docs/radxa_rock_3a.md)\n* [Radxa ROCK 3B](../master/docs/radxa_rock_3b.md)\n* [Radxa ROCK 3C](../master/docs/radxa_rock_3c.md)\n* [Radxa ROCK 5A](../master/docs/radxa_rock_5a.md)\n* [Radxa ROCK 5B](../master/docs/radxa_rock_5b.md)\n* [Radxa ZERO3](../master/docs/radxa_zero3.md)\n* [Rock Pi 4](../master/docs/rockpi4.md)\n* [Orange Pi Prime](../master/docs/orange_pi_prime.md)\n\nMIPS\n---\n* [Linkit Smart 7688](../master/docs/linkit_7688.md)\n* [Onion Omega2](../master/docs/omega2.md)\n\nFPGA\n----\n* [DE10-Nano](../master/docs/de_nano_soc.md)\n\nUSB\n---\n* [FT4222](../master/docs/ftdi_ft4222.md)\n* [Firmata](../master/docs/firmata.md)\n\nI2C\n---\n* [GrovePi](../master/docs/grovepi.md)\n\nMock\n----\n* [Generic simulated board](../master/docs/mock.md)\n\nJSON platform\n----\n* [Platform loading](../master/docs/jsonplatform.md)\n\nRISC-V\n----\n* [VisionFive](../master/docs/visionfive.md)\n\nInstalling on your board\n========================\n\nInstalling on Ubuntu\n--------------------\n\nHere is a PPA for installing on Ubuntu Xenial or Bionic:\nhttps://launchpad.net/~mraa/+archive/ubuntu/mraa\n\n```bash\nsudo add-apt-repository ppa:mraa/mraa\nsudo apt-get update\nsudo apt-get install libmraa2 libmraa-dev libmraa-java python-mraa python3-mraa node-mraa mraa-tools\n```\n\nRunning MRAA tools or applications on Ubuntu systems requires elevated permissions\n(e.g. run with `sudo`).\n\nInstall on Arch Linux\n---------------------\n\nThere is an AUR package for mraa here: https://aur.archlinux.org/packages/mraa\n\nInstall on openSUSE or SLE\n---------------------------\n\nFor the latest versions of openSUSE and SLE the project is distributed via\nnative repositories and can be installed by developers with:\n\n```bash\nsudo zypper install mraa mraa-devel\n```\n\nFor ARM boards use:\n\n```bash\nREPO=\"openSUSE_Tumbleweed\"\nif test \"$(arch)\" == \"aarch64\"; then\n  REPO=\"openSUSE_Factory_ARM\"\nfi\nsudo zypper ar http://download.opensuse.org/repositories/hardware/$REPO/hardware.repo\nsudo zypper in mraa\n```\n\nA full list of packages and instructions for installing MRAA for various openSUSE releases\ncan be found [here](https://software.opensuse.org/package/mraa).\n\nInstall on Fedora Linux\n-----------------------\n\nThere is an mraa package in the main Fedora repository so it can be dnf installed\nin all recent Fedora releases. The Node.js and Python 3 bindings are packaged as\nseparate packages.\n\n```bash\nsudo dnf install mraa nodejs-mraa python3-mraa\n```\n\nInstalling for Red Hat Enterprise Linux, CentOS and Other Linux Distributions\n---------------------------\n\nThe MRAA project does not currently distribute official binaries for RHEL\nor CentOS so developers will have to compile the project from sources as\ndescribed in the next section.\n\nFor testing and development purposes it may be possible to share and install\n.deb and .rpm packages across similar Linux builds.\n\nCompiling\n=========\n\nSee documentation on [building](../master/docs/building.md)\n\nExamples\n========\n\nSee the [examples](../../tree/master/examples) available for various languages\n\nDebugging\n=========\n\nSometimes it just doesn't want to work, let us try and help you, you can file\nissues in github or join us in #mraa on freenode IRC, hang around for a little\nwhile because we're not necessarily on 24/7, but we'll get back to you! Have a\nglance at our [debugging](../master/docs/debugging.md) page too.\n\nAPI Documentation\n=================\n\n\u003ca href=\"http://c.mraa.io\"\u003e\u003cimg src=\"http://iotdk.intel.com/misc/logos/c++.png\"/\u003e\u003c/a\u003e\n\u003ca href=\"http://java.mraa.io\"\u003e\u003cimg src=\"http://iotdk.intel.com/misc/logos/java.png\"/\u003e\u003c/a\u003e\n\u003ca href=\"http://py.mraa.io\"\u003e\u003cimg src=\"http://iotdk.intel.com/misc/logos/python.png\"/\u003e\u003c/a\u003e\n\u003ca href=\"http://js.mraa.io\"\u003e\u003cimg src=\"http://iotdk.intel.com/misc/logos/node.png\"/\u003e\u003c/a\u003e\n\nContact Us\n==========\n\nTo ask questions either file an issue on Github or send an email to our\n[mailing list](https://accounts.eclipse.org/mailing-list/mraa-dev).\nYou must be subscribed to the list before you can post.\nYou might also catch us on the mraa channel on freenode IRC.\n\nSee the [Contribution](CONTRIBUTING.md) documentation for more details.\n\nChangelog\n=========\n\nVersion changelog [here](docs/changelog.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feclipse%2Fmraa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feclipse%2Fmraa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feclipse%2Fmraa/lists"}