summaryrefslogtreecommitdiff
path: root/peripheral/libmraa/include/firmata/firmata_mraa.h
diff options
context:
space:
mode:
authorMihai Serban <mihai.serban@intel.com>2016-07-01 14:55:25 +0300
committerMihai Serban <mihai.serban@intel.com>2016-07-04 15:49:56 +0300
commitb33fe8d1c1c2ce22c58b02160eeda61b80eb1d26 (patch)
treeefa2da1c44a8ebe8a3425291bd4f54c7fac299e8 /peripheral/libmraa/include/firmata/firmata_mraa.h
parent180fd6f2baf51cc437c8ba84b053b2b9ed2cca11 (diff)
downloadintel-b33fe8d1c1c2ce22c58b02160eeda61b80eb1d26.tar.gz
libmraa: sync with upstream (SHA1: d336e9f)
URL: https://github.com/intel-iot-devkit/mraa Branch: master SHA1: d336e9f8d69a85b6ed1aeb5b324910234031d4a8 BUG=None Change-Id: I0f49f13c5deccd1a42936b5934b6baf74eb8d03b Signed-off-by: Mihai Serban <mihai.serban@intel.com>
Diffstat (limited to 'peripheral/libmraa/include/firmata/firmata_mraa.h')
-rw-r--r--peripheral/libmraa/include/firmata/firmata_mraa.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/peripheral/libmraa/include/firmata/firmata_mraa.h b/peripheral/libmraa/include/firmata/firmata_mraa.h
new file mode 100644
index 0000000..a80d73a
--- /dev/null
+++ b/peripheral/libmraa/include/firmata/firmata_mraa.h
@@ -0,0 +1,38 @@
+/*
+ * Author: Brendan Le Foll <brendan.le.foll@intel.com>
+ * Copyright (c) 2016 Intel Corporation.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining
+ * a copy of this software and associated documentation files (the
+ * "Software"), to deal in the Software without restriction, including
+ * without limitation the rights to use, copy, modify, merge, publish,
+ * distribute, sublicense, and/or sell copies of the Software, and to
+ * permit persons to whom the Software is furnished to do so, subject to
+ * the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+#pragma once
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include "mraa_internal.h"
+
+mraa_platform_t mraa_firmata_platform(mraa_board_t* board, const char* uart_dev);
+
+
+#ifdef __cplusplus
+}
+#endif