{"id":5668,"date":"2015-12-15T22:09:42","date_gmt":"2015-12-16T05:09:42","guid":{"rendered":"http:\/\/www.apolonio.com\/blog\/?p=5668"},"modified":"2015-12-15T22:09:42","modified_gmt":"2015-12-16T05:09:42","slug":"installing-mraa-and-upm-on-a-rpi-2","status":"publish","type":"post","link":"https:\/\/www.apolonio.com\/blog\/?p=5668","title":{"rendered":"Installing MRAA and UPM on a RPi 2"},"content":{"rendered":"<p>I spent a little bit of time trying to get UPM (Useful Packages &amp; Modules) running on a Raspberry Pi 2.<\/p>\n<p>I think this is a way to go. \u00a0A LOT of devices are supported here.<\/p>\n<p><a href=\"http:\/\/iotdk.intel.com\/docs\/master\/upm\/modules.html\">http:\/\/iotdk.intel.com\/docs\/master\/upm\/modules.html<\/a><\/p>\n<p>One dependency is MRAA , from the web page<\/p>\n<p>&#8220;MRAA is a low level library that offers a translation from the General Purpose Input\/Output interfaces to the pins available on Intel Galileo or Edison. So instead of reading the raw level information from the GPIO module available on the Linux kernel, a developer can easily select a pin number and work directly with it. MRAA will take care of the underlying details&#8221;<\/p>\n<p>Weird, I haven&#8217;t found what MRAA stands for, but here is the download<\/p>\n<p><a href=\"http:\/\/iotdk.intel.com\/docs\/master\/mraa\">http:\/\/iotdk.intel.com\/docs\/master\/mraa<\/a>\/<\/p>\n<p>I installed some dependencies using the following command.<\/p>\n<p>apt-get install git build-essential swig3.0 python-dev nodejs-dev cmake<\/p>\n<p>Then I grabbed each github source<\/p>\n<p>and did a cmake (with some options set), make and make install.<\/p>\n<p>On the workout front, I did hit the gym today. \u00a0Just presses and leg extensions. \u00a0Baby steps.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I spent a little bit of time trying to get UPM (Useful Packages &amp; Modules) running on a Raspberry Pi 2. I think this is a way to go. \u00a0A LOT of devices are supported here. http:\/\/iotdk.intel.com\/docs\/master\/upm\/modules.html One dependency is &hellip; <a href=\"https:\/\/www.apolonio.com\/blog\/?p=5668\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,11,3],"tags":[],"class_list":["post-5668","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi","category-technical","category-training"],"_links":{"self":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5668"}],"version-history":[{"count":1,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5668\/revisions"}],"predecessor-version":[{"id":5669,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5668\/revisions\/5669"}],"wp:attachment":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}