aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-10-28ci: remove really old node version builds from ciMihai Tudor Panu
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2020-10-28readme: update readme and mailing list, remove old referenceMihai Tudor Panu
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2020-10-28python2: remove ability to build python2 bindings from projectMihai Tudor Panu
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>
2020-10-28cmakelists: disable node.js builds by default as they fail for latest node ↵Mihai Tudor Panu
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>
2020-09-21fixing size missmatch between snprintf and actual size.gowtham.r
Signed-off-by: gowtham.r <gowtham.r@adlinktech.com>
2020-09-15Added Pi 4 8GB to Pi 4 sectionChuckduey
Signed-off-by: Chuckduey <cduey@msn.com>
2020-09-15CMakeLists.txt: add BUILDCPP optionFabrice Fontaine
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>
2020-09-15Fix code to set SPI frequency/clockJandrioli
Signed-off-by: Jandrioli <joao_andrioli@hotmail.com>
2020-09-15rockpi4: add model c supportakgnah
Signed-off-by: akgnah <1024@setq.me>
2020-09-15Added the mraa_strresult functionJefferson Lee
Signed-off-by: Jefferson Lee <jeffersonlee2000@gmail.com>
2020-09-15Adding alias name LEC-ALAI for LEC-AL-AI platform.gowtham.r
Signed-off-by: gowtham.r <gowtham.r@adlinktech.com>
2020-09-15Changed serial port address in ARM platform, chenged the spritnf call to ↵gowtham.r
snprintf call for safty reason. fixed other warnings. Signed-off-by: gowtham.r <gowtham.r@adlinktech.com>
2020-05-29sonar-scan: disable preview mode for internal PRMihai Tudor Panu
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>
2020-05-29readme.md: update instructions for openSUSEPropanu
Describes in more detail how to install MRAA for developers on openSUSE and SLE.
2020-05-07readme.md: fix typo and mention packages may be compatibleMihai Tudor Panu
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>
2020-05-07readme.md: replace node section with RHEL/CentOSMihai Tudor Panu
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>
2020-05-07Added V1.2 for Pi 4 2GB and 4GBChuckduey
Signed-off-by: Chuckduey <cduey@msn.com>
2020-01-16mraa: Update to v2.1.0Mihai Tudor Panu
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2020-01-10Added Raspberry Pi 4 1GB 2GB and 4GB to the list of detected platformsChuck Duey
Signed-off-by: Chuck Duey <cduey@msn.com>
2020-01-10fixing indentation issues reported by eclipse mraakathaashok
Signed-off-by: kathaashok <katha.ashok@adlinktech.com>
2020-01-10modify the content of adlink_ipi_arm.mdryanzj.huang@adlinktech.com
Signed-off-by: ryanzj.huang@adlinktech.com <ryanzj.huang@adlinktech.com>
2020-01-10Fixing minor issues. supporting LEC-AL-AI boardkatha ashok
Signed-off-by: katha ashok <katha.ashok@adlinktech.com>
2020-01-10modify pin 26 function to n/aryanzj.huang@adlinktech.com
Signed-off-by: ryanzj.huang@adlinktech.com <ryanzj.huang@adlinktech.com>
2020-01-09rockpi4.c: fixed pwm issueBrian Lee
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>
2020-01-06upxtreme: add spdx tags to source filesMichael Campion
Remove MIT notice and replace with SPDX tags in UP Xtreme sources. Signed-off-by: Michael Campion <michael.campion@emutex.com>
2020-01-06upxtreme: Match UP Xtreme Platform enum valueMichael Campion
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>
2020-01-06upxtreme: Add UP Xtreme supportMichael Campion
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>
2019-12-29made Rock Pi 4 working again with recent 5.x kernelsCarsten Menke
Signed-off-by: Carsten Menke <cm@p-i-u.de>
2019-12-29added readme for Rock PiCarsten Menke
Signed-off-by: Carsten Menke <cm@p-i-u.de>
2019-12-03adding Adlink IPi SMARC x86/ARM supportgowtham.r
Signed-off-by: gowtham.r <gowtham.r@adlinktech.com>
2019-12-03uart: fix xonxoff value in mraa_uart_settings()Benxi Liu
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>
2019-11-13eclipse: change Java namespaceThomas Ingleby
io.mraa -> org.eclipse.mraa Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
2019-05-23spdx: add spdx tags to most filesThomas Ingleby
Large change that removes the duplicated MIT notice withe a spdx tag Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
2019-05-23CMake: add spdx tags to modulesThomas Ingleby
Helps to be explict what license each module is under Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
2019-05-23mraa; rename to Eclipse MraaThomas Ingleby
* Updated CONTRIBUTING.md to refer to the ECA Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
2019-05-10gpio: Introduce mraa_gpio_init_by_name APIManivannan Sadhasivam
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>
2019-05-1096boards: Add chardev support to Rock960Manivannan Sadhasivam
Add chardev support to Rock960 96Boards. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
2019-05-08oe-sdk_cross: remove in favour of devtoolThomas Ingleby
Added a note to explain where it's gone and the preserve some Java specifics Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
2019-05-08TargetArch: remove cmake moduleThomas Ingleby
Favour CMAKE_SYSTEM_PROCESSOR for detecting target arch Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
2019-05-07readme: update project status to reflect Eclipse transitionMihai Tudor Panu
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2019-03-28jsstub: add MIT header to sourceThomas Ingleby
Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
2019-03-28rockpi4: Add rockpi4 supportBrian Lee
Closes #958 Signed-off-by: Brian Lee <brian@vamrs.com> Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
2019-03-26x86.c: add missing platform init call when MRAAPLATFORMFORCE is set to IEI TankMihai Tudor Panu
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2019-03-06clang-format: reapply to recently modified sourcesMihai Tudor Panu
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2019-03-06initio.c: Fix for null pointer passed as parameterCosmin Popescu
Signed-off-by: Cosmin Popescu <gabrielcosmin.popescu@gmail.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2019-03-06mraa:c Fix dereference of null pointerCosmin Popescu
Signed-off-by: Cosmin Popescu <gabrielcosmin.popescu@gmail.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2019-03-06gpio.c: Add fix for closing of uninitialzed fdsCosmin Popescu
Signed-off-by: Cosmin Popescu <gabrielcosmin.popescu@gmail.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2019-03-06gpio:c fix for gpio_group memory leakCosmin Popescu
Signed-off-by: Cosmin Popescu <gabrielcosmin.popescu@gmail.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2019-03-06mraa.c: Fix memory leakCosmin Popescu
Signed-off-by: Cosmin Popescu <gabrielcosmin.popescu@gmail.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2019-03-06jsonplatform.c: Add fix for passing null as parameterAdelin Dobre
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>