From b33fe8d1c1c2ce22c58b02160eeda61b80eb1d26 Mon Sep 17 00:00:00 2001 From: Mihai Serban Date: Fri, 1 Jul 2016 14:55:25 +0300 Subject: 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 --- peripheral/libmraa/include/firmata/firmata_mraa.h | 38 +++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 peripheral/libmraa/include/firmata/firmata_mraa.h (limited to 'peripheral/libmraa/include/firmata/firmata_mraa.h') 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 + * 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 -- cgit v1.2.3