1796 Commits

Author SHA1 Message Date
e79ddf0c7a include/version.h aktualisiert 2024-01-11 20:31:36 +01:00
5439d73032 CMakeLists.txt aktualisiert 2024-01-11 20:31:06 +01:00
nascs
d59936ffd4 Add ROCK 4 Java support (#16) 2023-03-24 14:50:47 +08:00
Alvin
f854463c34 add ROCK 3C support
Signed-off-by: Alvin <alvin@radxa.com>
2022-10-22 11:30:34 +08:00
Zhang Xinyu
45c4aa7cee add ROCK 4C+ support
Signed-off-by: Zhang Xinyu <zhangxinyu@radxa.com>
2022-10-21 15:54:23 +08:00
nascs
fc8c9061a6 Add support for Radxa CM3 IO base board (#14) 2022-09-28 16:33:05 +08:00
alvin
b34cd50d31 modify: add model name: Radxa ROCK 3 Model A/B
Signed-off-by: Alvin <alvin@radxa.com.com>
2022-09-16 18:59:48 +08:00
alvin
700eece628 modify: model name: Radxa ROCK3 Model A/B
Signed-off-by: Alvin <alvin@radxa.com.com>
2022-08-30 17:48:47 +08:00
steph
9ea5a29b6f Merge pull request #10 from ken-vms/master
Add support for rock3a.

Fix the issue of mismatch of spi device on ROCK Pi 4.
2022-01-14 15:10:18 +08:00
Ken
40791fa309 fix the issue of mismatch of spi device on ROCK Pi 4
With mainline linux , SPI 1 device on ROCK Pi 4 is /dev/spi1.0.
And SPI 2 device is /dev/spi2.0.

Signed-off-by: Ken <ken@radxa.com.com>
2022-01-14 15:04:38 +08:00
Ken
ad0cb85903 add support for rock3a
Signed-off-by: Ken <ken@radxa.com.com>
2021-12-09 15:00:07 +08:00
steph
10adedc0e6 Merge pull request #9 from ken-vms/master
add support for radxa zero
2021-10-27 20:31:45 +08:00
Ken
9aa7ac1f65 add support for radxa zero
Signed-off-by: Ken <ken@radxa.com>
2021-10-27 20:29:45 +08:00
steph
03d305998b Merge pull request #6 from wzj2346584/master
rock-pi-s :add support for v1.3
2021-08-16 11:23:37 +08:00
wzj
dbf1b29382 rock-pi-s :add support for v1.3
Signed-off-by: wzj <wzj2346584@163.com>
2021-08-10 15:06:11 +08:00
steph
7eca0c738d Merge pull request #4 from wzj2346584/master
rockpix: correct pin12 gpio number
2021-06-18 20:31:30 +08:00
wzj
9c6df90550 rockpix: correct pin12 gpio number
Signed-off-by: wzj <wzj2346584@163.com>
2021-06-18 20:12:53 +08:00
Shine
06b2be27c7 Add support for ROCK Pi X
Signed-off-by: Shine <yll@radxa.com>
2020-12-08 10:30:43 +08:00
Shine
587866260b Add support for java examples programs compilation
Signed-off-by: Shine <yll@radxa.com>
2020-12-08 10:28:47 +08:00
akgnah
12d13ab9e6 rockpi4: add model c support
Signed-off-by: akgnah <1024@setq.me>
2020-12-08 10:26:09 +08:00
Shine
f9673ea531 Add support for ROCK Pi E
Signed-off-by: Shine <yll@radxa.com>
2020-12-08 09:53:16 +08:00
zzl
803b486f42 Add support for ROCK Pi N10
Signed-off-by: zzl <zzl@radxa.com>
2020-10-12 10:37:05 +08:00
zzl
a99dce5140 Add support for ROCK Pi S
Signed-off-by: zzl <zzl@radxa.com>
2020-09-12 11:18:13 +08:00
Mihai Tudor Panu
f9da60fda1 sonar-scan: disable preview mode for internal PR
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-29 13:47:59 -07:00
Propanu
85d6279228 readme.md: update instructions for openSUSE
Describes in more detail how to install MRAA for developers on openSUSE and SLE.
2020-05-29 13:47:59 -07:00
Mihai Tudor Panu
e52c5bb7c3 readme.md: fix typo and mention packages may be compatible
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-07 14:10:17 -07:00
Mihai Tudor Panu
e70198f659 readme.md: replace node section with RHEL/CentOS
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-07 13:36:32 -07:00
Chuckduey
c10e72b494 Added V1.2 for Pi 4 2GB and 4GB
Signed-off-by: Chuckduey <cduey@msn.com>
2020-05-07 13:36:03 -07:00
Mihai Tudor Panu
e15ce6fbc7 mraa: Update to v2.1.0
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
v2.1.0
2020-01-16 11:45:05 -08:00
Chuck Duey
f58cdc9da4 Added Raspberry Pi 4 1GB 2GB and 4GB to the list of detected platforms
Signed-off-by: Chuck Duey <cduey@msn.com>
2020-01-10 09:33:19 -08:00
kathaashok
bb736e762b fixing indentation issues reported by eclipse mraa
Signed-off-by: kathaashok <katha.ashok@adlinktech.com>
2020-01-10 07:33:18 -08:00
ryanzj.huang@adlinktech.com
276868185d modify the content of adlink_ipi_arm.md
Signed-off-by: ryanzj.huang@adlinktech.com <ryanzj.huang@adlinktech.com>
2020-01-10 07:33:18 -08:00
katha ashok
ef8c0fb541 Fixing minor issues. supporting LEC-AL-AI board
Signed-off-by: katha ashok <katha.ashok@adlinktech.com>
2020-01-10 07:33:18 -08:00
ryanzj.huang@adlinktech.com
eb9b55bd99 modify pin 26 function to n/a
Signed-off-by: ryanzj.huang@adlinktech.com <ryanzj.huang@adlinktech.com>
2020-01-10 07:33:18 -08:00
Brian Lee
63de2c4c3a rockpi4.c: fixed pwm issue
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-09 10:11:58 -08:00
Michael Campion
1d18da9a22 upxtreme: add spdx tags to source files
Remove MIT notice and replace with SPDX tags in UP Xtreme sources.

Signed-off-by: Michael Campion <michael.campion@emutex.com>
2020-01-06 15:17:55 +00:00
Michael Campion
3d781603f3 upxtreme: Match UP Xtreme Platform enum value
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-06 15:17:55 +00:00
Michael Campion
d954599045 upxtreme: Add UP Xtreme support
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>
2020-01-06 15:17:55 +00:00
Carsten Menke
79043568dd made Rock Pi 4 working again with recent 5.x kernels
Signed-off-by: Carsten Menke <cm@p-i-u.de>
2019-12-29 20:14:42 +00:00
Carsten Menke
5b8ec38440 added readme for Rock Pi
Signed-off-by: Carsten Menke <cm@p-i-u.de>
2019-12-29 20:14:42 +00:00
gowtham.r
4ba5da1144 adding Adlink IPi SMARC x86/ARM support
Signed-off-by: gowtham.r <gowtham.r@adlinktech.com>
2019-12-03 07:52:58 -08:00
Benxi Liu
3b2f80b6e2 uart: fix xonxoff value in mraa_uart_settings()
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-12-03 07:52:58 -08:00
Thomas Ingleby
c1eeb8ab87 eclipse: change Java namespace
io.mraa -> org.eclipse.mraa

Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
2019-11-13 13:14:20 -08:00
Thomas Ingleby
170bdd104f spdx: add spdx tags to most files
Large change that removes the duplicated MIT notice withe a spdx tag

Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
2019-05-23 10:09:12 -07:00
Thomas Ingleby
6d2ca4b97a CMake: add spdx tags to modules
Helps to be explict what license each module is under

Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
2019-05-23 10:09:12 -07:00
Thomas Ingleby
c4d8dd2524 mraa; rename to Eclipse Mraa
* Updated CONTRIBUTING.md to refer to the ECA

Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
2019-05-23 10:09:12 -07:00
Manivannan Sadhasivam
0a12c5a017 gpio: Introduce mraa_gpio_init_by_name API
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-10 16:29:13 +05:30
Manivannan Sadhasivam
111e6be8f7 96boards: Add chardev support to Rock960
Add chardev support to Rock960 96Boards.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
2019-05-10 16:24:41 +05:30
Thomas Ingleby
ffa3dcdfc0 oe-sdk_cross: remove in favour of devtool
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-08 11:14:07 -07:00
Thomas Ingleby
47643bffdd TargetArch: remove cmake module
Favour CMAKE_SYSTEM_PROCESSOR for detecting target arch

Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
2019-05-08 11:14:07 -07:00