Private
Public Access
2
0

uart: add C++ Uart module and links to swig

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-09-03 09:30:49 +01:00
parent 111544a764
commit 0d04677c98
5 changed files with 66 additions and 1 deletions

View File

@@ -46,7 +46,7 @@ install (TARGETS mraa DESTINATION lib)
if (DOXYGEN_FOUND)
set (CMAKE_SWIG_FLAGS -DDOXYGEN=${DOXYGEN_FOUND})
set (DOCCLASSES aio gpio i2c pwm spi)
set (DOCCLASSES aio gpio i2c pwm spi uart)
# CPP class headers
foreach (_file ${DOCCLASSES})
add_custom_command (OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_file}_class_doc.i

View File

@@ -8,6 +8,7 @@
%include pwm_class_doc.i
%include aio_class_doc.i
%include spi_class_doc.i
%include uart_class_doc.i
#endif
%{
@@ -17,6 +18,7 @@
#include "i2c.hpp"
#include "spi.hpp"
#include "aio.hpp"
#include "uart.hpp"
%}
%init %{
@@ -51,3 +53,7 @@
#### AIO ####
%include "aio.hpp"
#### UART ####
%include "uart.hpp"