MinnowMax is obsoleted, replaced with the Minnow Turbot - updated the web links
to point to the legacy board pages, and the new board where appropriate. Pin
26 - Added a pin function for the I2S MCLK
There is more work to do to capture and document all the changes.
Signed-off-by: |\/|ark van der Pol <markx.van.der.pol@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Clarified the need for explicit call to addSubplatform when libmraa is installed from NPM, fixed heading, added link to Firmata subplatforms.
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
MRAA C++ getPlatformType casts the return from mraa_get_platform_type()
to a Platform enum (which did not exist in C++ for AT). Added enum type
to types.hpp which corresponds to the C enum type.
Signed-off-by: Noel Eck <noel.eck@intel.com>
Return length of read bytes rather than 0 on success.
MRAA calls I2C_RDWR ioctl which returns number of bytes read.
PIO is yet to implement that API so currently does I2C_SMBUS
ioctl instead, which returns 0 in case of success.
Signed-off-by: Sanrio Alvares <sanrio.alvares@intel.com>
First submission for 96Boards markdown in docs folder. Currently
hosts information and resources for three Consumer Edition
96Boards including DragonBoard 410c, HiKey, and Bubblegum-96.
Plans to expand on this doc as more boards are enabled. Will also
highlight any notes as things come up.
Signed-off-by: Robert Wolff <robert.wolff@linaro.org>
Peripheral Manager provides mutual exclusion between pins
multiple functionalities. This feature in MRAA is redundant for
this platform.
Once the API to retrieve pin functionality from PIO is available
use it to update each pins capabilities.
Signed-off-by: Sanrio Alvares <sanrio.alvares@intel.com>
Signed-off-by: Noel Eck <noel.eck@intel.com>
* Update documentation for C methods
* Update documentation for CXX methods
* Update build instructions for building on AT Peripheral Manager Client
Signed-off-by: Noel Eck <noel.eck@intel.com>
Updated the mraa_pman_pwm_init_replace method to allocate heap space for the
mraa_pwm_context (returned by this method.
Signed-off-by: Noel Eck <noel.eck@intel.com>
The Native PIO API provides both the libraries and headers for use with
the Android Things Peripheralanager client. This commit removes these
from the MRAA repo in favor of the FindAndroidThings.cmake provided by
the Native PIO API.
Signed-off-by: Noel Eck <noel.eck@intel.com>
Updated the java CMakeLists file to set the JAVA_INCLUDE_PATH for
Android Things. The JAVA SWIG wrapper will require the jni.h from the
Android NDK.
Signed-off-by: Noel Eck <noel.eck@intel.com>
Use the cmake module provided by AndroidThings for setting libs/hdrs
instead of the hard-coded path to the AndroidThings library. This
requires adding a path to CMAKE_MODULE_PATH which contains
FindAndroidThings.cmake.
Signed-off-by: Noel Eck <noel.eck@intel.com>
While the NUC5i7RYB doesn't provide any built-in IO, this change will at least allow it to be used with a subplatform from IDEs that filter out unknown devices (e.g. Intel XDK).
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This fixes#698 where an application will crash after calling mraa_deinit and
later closing calling deinit again because of the gcc destructor argument
introduced with cac8f7a
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Currently, mraa_init is called when loading libmraa. This commit
adds similar functionality to call mraa_deinit when unloading
libmraa. This is a nice-to-have since it makes identifying other
memory leaks easier.
Signed-off-by: Noel Eck <noel.eck@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
In the process of using the mraa mock platform to identify memory leaks
in UPM libraries. This commit fixes some non-critical places where
memory was getting lost in mraa.
Signed-off-by: Noel Eck <noel.eck@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Updated Doxyfile to strip the full path to the base MRAA directory
from generated documentation. This removes the build path from
MRAA documentation.
Old html:
aio_8h.html:<title>mraa: /iotdk/jenkins/workspace/upm-doc-stable/api/mraa/aio.h File Reference</title>
New html:
aio_8h.html:<title>mraa: api/mraa/aio.h File Reference</title>
Signed-off-by: Noel Eck <noel.eck@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>