Age | Commit message (Collapse) | Author |
|
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
|
|
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
|
|
This removes Python 2 package generation from the project to encourage safer development with Python 3 instead. Documentation for the generated modules switched to Python 3. Default interpreter is now Python 3 but can be overridden if needed for running the tests only on older environments.
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
|
|
versions
Disables node.js wrapper generation and builds by default as latest versions of node.js do not build with latest SWIG. An official patch for SWIG should revert this, community pointed out a workaround exists already but requires manual patching. This may affect packaging jobs and builders not using BUILDSWIGNODE explicitly, e.g. NPM and external to the project.
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
|
|
Signed-off-by: gowtham.r <gowtham.r@adlinktech.com>
|
|
Signed-off-by: Chuckduey <cduey@msn.com>
|
|
C++ is a mandatory dependency since version 1.4.0 and
https://github.com/eclipse/mraa/commit/122cab1f1e53b7c9c7cd82905b962071f9bad9dc
As a result, build on embedded toolchains that do not support C++ fails
on:
CMake Error at CMakeLists.txt:2 (project):
The CMAKE_CXX_COMPILER:
/home/naourr/work/instance-1/output-1/per-package/mraa/host/bin/arm-linux-g++
is not a full path to an existing compiler tool.
Fixes:
- http://autobuild.buildroot.org/results/31086422e03611c16ab59c4418e3669b580bc0c0
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
|
Signed-off-by: Jandrioli <joao_andrioli@hotmail.com>
|
|
Signed-off-by: akgnah <1024@setq.me>
|
|
Signed-off-by: Jefferson Lee <jeffersonlee2000@gmail.com>
|
|
Signed-off-by: gowtham.r <gowtham.r@adlinktech.com>
|
|
snprintf call for safty reason. fixed other warnings.
Signed-off-by: gowtham.r <gowtham.r@adlinktech.com>
|
|
No longer supported by sonar scans, the preview feature is now disabled and internal PRs from project contributors are also scanned for vulnerabilities/bugs as part of CI
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
|
|
Describes in more detail how to install MRAA for developers on openSUSE and SLE.
|
|
For testing purposes it should be possible to share .deb packages across a variety of Debian builds or .rpm packages across systems that have dnf/yum available
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
|
|
Removed installing for node.js section as latest versions of node have issues building until Swig is patched. Also make it clear some mainstream Linux don't have binaries available in official repos.
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
|
|
Signed-off-by: Chuckduey <cduey@msn.com>
|
|
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
|
|
Signed-off-by: Chuck Duey <cduey@msn.com>
|
|
Signed-off-by: kathaashok <katha.ashok@adlinktech.com>
|
|
Signed-off-by: ryanzj.huang@adlinktech.com <ryanzj.huang@adlinktech.com>
|
|
Signed-off-by: katha ashok <katha.ashok@adlinktech.com>
|
|
Signed-off-by: ryanzj.huang@adlinktech.com <ryanzj.huang@adlinktech.com>
|
|
e.g.:
cv2 import at the beginning throws the error:
import cv2
import mraa
import time
...
Error:
ValueError: Error initialising PWM on pin
Signed-off-by: Brian Lee <brian@vamrs.com>
|
|
Remove MIT notice and replace with SPDX tags in UP Xtreme sources.
Signed-off-by: Michael Campion <michael.campion@emutex.com>
|
|
After rebase UP Xtreme supported platform enum value was changed
to 24 in types.h, this commit updates the enum value in types.hpp
to this value.
Signed-off-by: Michael Campion <michael.campion@emutex.com>
|
|
UP Xtreme is based on the Intel(R) Core(TM) i3/i5/i7 Whiskey Lake SoCs.
The UP Xtreme presents one Raspberry Pi compatible HAT connector.
This implementaion supports i2c, spi, uart, adc and gpio through the
40pin HAT connector.
Gpio chardev capabilities have been disabled in this implementation. When
gpio chardev capabilities are enabled an input becomes unreadable after an
isr has been registered to the pin. See here for details:
https://github.com/intel-iot-devkit/mraa/issues/937
Tested on UP Xtreme, with UP Board Linux kernel 5.0.0
Features tested: gpio, gpio interrupts, i2c, spi, adc and uart.
Signed-off-by: Michael Campion <michael.campion@emutex.com>
|
|
Signed-off-by: Carsten Menke <cm@p-i-u.de>
|
|
Signed-off-by: Carsten Menke <cm@p-i-u.de>
|
|
Signed-off-by: gowtham.r <gowtham.r@adlinktech.com>
|
|
the value of xonxoff(IXON|IXOFF) resides in the c_iflag field in
struct termios, not c_cflag.
Signed-off-by: Benxi Liu <bxliu@linux.alibaba.com>
|
|
io.mraa -> org.eclipse.mraa
Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
|
|
Large change that removes the duplicated MIT notice withe a spdx tag
Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
|
|
Helps to be explict what license each module is under
Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
|
|
* Updated CONTRIBUTING.md to refer to the ECA
Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
|
|
This commit introduces mraa_gpio_init_by_name API for initializing
a GPIO by its line name provided by the kernel. This feature depends
on the GPIO chardev support and also the line names present in devicetree
or board files. Accessing GPIO using its line name, removes the dependency
from MRAA specific pin mapping and provides a cleaner way to access GPIOs.
This will solve the issue created by an external gpiochip probing before
the SoC's internal gpio controller and thereby making the MRAA pin mapping
wrong.
Currently, this API only supports initializing a single GPIO at a time.
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
|
|
Add chardev support to Rock960 96Boards.
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
|
|
Added a note to explain where it's gone and the preserve some Java
specifics
Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
|
|
Favour CMAKE_SYSTEM_PROCESSOR for detecting target arch
Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
|
|
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
|
|
Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
|
|
Closes #958
Signed-off-by: Brian Lee <brian@vamrs.com>
Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
|
|
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
|
|
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
|
|
Signed-off-by: Cosmin Popescu <gabrielcosmin.popescu@gmail.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
|
|
Signed-off-by: Cosmin Popescu <gabrielcosmin.popescu@gmail.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
|
|
Signed-off-by: Cosmin Popescu <gabrielcosmin.popescu@gmail.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
|
|
Signed-off-by: Cosmin Popescu <gabrielcosmin.popescu@gmail.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
|
|
Signed-off-by: Cosmin Popescu <gabrielcosmin.popescu@gmail.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
|
|
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
|