summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Beare <bruce.j.beare@intel.com>2016-01-08 14:00:33 -0800
committerBruce Beare <bruce.j.beare@intel.com>2016-01-11 16:17:15 -0800
commite52d15b6e1058e48bdb90b8de01f63162245d6b2 (patch)
tree335995b8eb5723f538b2642cda8366c7b68a7f89
parent5b95432c01a78c364aa029b05eeddb570d1828f2 (diff)
downloadintel-e52d15b6e1058e48bdb90b8de01f63162245d6b2.tar.gz
Rename the gpio output example app
The mraa based GPIO output example is moved to the mraa/gpio_output directory. A header file include is also changed to pull in mraa.h instead of grove.h. BUG=none Tracked-On: https://jira01.devtools.intel.com/browse/BP-189 Change-Id: I6d3e56ce7a7cbf2eb3aa3ce3d7f44f716f10bffe Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
-rw-r--r--peripheral/examples/mraa/gpio_output/Android.mk (renamed from peripheral/examples/edison_arduino/gpio_input/Android.mk)3
-rw-r--r--peripheral/examples/mraa/gpio_output/OutputGPIO.cpp (renamed from peripheral/examples/edison_arduino/gpio_input/OutputGPIO.cpp)2
2 files changed, 2 insertions, 3 deletions
diff --git a/peripheral/examples/edison_arduino/gpio_input/Android.mk b/peripheral/examples/mraa/gpio_output/Android.mk
index a782bd6..a8d50a5 100644
--- a/peripheral/examples/edison_arduino/gpio_input/Android.mk
+++ b/peripheral/examples/mraa/gpio_output/Android.mk
@@ -22,8 +22,7 @@ LOCAL_CPPFLAGS:= -Wno-unused-parameter -fexceptions
LOCAL_CFLAGS += -DLOG_TAG=\"OutputGPIO\" -Wno-unused-parameter
LOCAL_SHARED_LIBRARIES := libcutils libupm libmraa
-LOCAL_MODULE := example-gpio-output
+LOCAL_MODULE := example-gpio-output-mraa
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := OutputGPIO.cpp
include $(BUILD_EXECUTABLE)
-
diff --git a/peripheral/examples/edison_arduino/gpio_input/OutputGPIO.cpp b/peripheral/examples/mraa/gpio_output/OutputGPIO.cpp
index 5f30fbb..31b63d5 100644
--- a/peripheral/examples/edison_arduino/gpio_input/OutputGPIO.cpp
+++ b/peripheral/examples/mraa/gpio_output/OutputGPIO.cpp
@@ -32,7 +32,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <grove.h>
+#include <mraa.h>
// Structure to hold the decoded command line options
struct pgm_options {