Private
Public Access
2
0
Commit Graph

150 Commits

Author SHA1 Message Date
Hsuan-Ting Lu
200c0a0491 CMakeLists.txt: Fix option string error
Inferred desired behavior from conditional add_subdirectory code at 8b1c54934e/CMakeLists.txt (L224-L226)

Signed-off-by: Hsuan-Ting Lu <hsuan.ting.lu@nyu.edu>
2023-09-21 13:18:52 -07:00
Daniel Bovensiepen
0df2e0f417 platform: Add RISC-V architecture with VisionFive
Add RISC-V architecture and StarFive JH71x0-based boards
VisionFive and VisionFive 2.

Signed-off-by: Daniel Bovensiepen <oss@bovi.li>
Signed-off-by: Zhu Jia Xing <jiaxing.zhu@siemens.com>
2023-09-21 09:25:08 -07:00
Mihai Tudor Panu
7786c7ded5 mraa: update to v2.2.0
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2020-10-28 09:41:43 -07:00
Mihai Tudor Panu
36696db591 cmakelists: disable node.js builds by default as they fail for latest node 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-10-28 09:41:43 -07:00
Fabrice Fontaine
cb88e4dd1f CMakeLists.txt: add BUILDCPP option
C++ is a mandatory dependency since version 1.4.0 and
122cab1f1e

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-15 10:39:42 -07:00
Mihai Tudor Panu
e15ce6fbc7 mraa: Update to v2.1.0
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2020-01-16 11:45:05 -08: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
Mihai Tudor Panu
967585c9ea mraa: Update to v2.0.0
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2018-09-06 05:34:41 -07:00
Noel Eck
d24457f9a1 ioinit: Update to build/test C++ ioinit
Multiple changes necessary to enable this.  The main goal is to build
and run the C++ ioinit unit tests (which require c++11)

    * Updated mraa required CMake version to 2.8.11 (this is needed for
      the target_xxx_xxx CMake syntax.
    * Added function for adding the c++11 flag give a CMake target.
    * Updated unit tests for range of CMake versions (tested on 2.8.11,
      3.8.2, 3.9.6, and 3.12.0).
    * Added C++ unit test file (more needed here).)

Signed-off-by: Noel Eck <noel.eck@intel.com>
2018-07-29 21:26:50 -07:00
Brendan Le Foll
72f1ffca31 cmake: force c99 to be set in the compiler
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Signed-off-by: malikabhi05 <abhishek.malik@intel.com>
2018-04-19 12:00:02 -04:00
Brendan Le Foll
ae2371c804 cmake: Remove all cpack options including IPK generation
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2018-03-05 11:45:39 +01:00
Mihai Tudor Panu
fbb7d92320 mraa: Update to v1.9.0
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2018-02-15 15:08:49 -08:00
Manivannan Sadhasivam
02963b791a tools: remove INSTALLGPIOTOOL flag
This commit removes INSTALLGPIOTOOL flag as it is not
required anymore

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2017-11-02 10:00:35 +01:00
Manivannan Sadhasivam
ec26f92fe6 tools: add new tools directory
This is the start of the series of commits focussed on
cleaning up the exmaples/ directory.

This commit moves mraa-gpio, mraa-i2c, mraa-uart files
out of examples directory into new tools directory. Moved
files are the good cadidates to be treated as tools
instead of examples.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2017-11-02 10:00:35 +01:00
Serge Vakulenko
6770be911b Add support for MIPS-based boards Omega2 and Linkit Smart 7688
Signed-off-by: Serge Vakulenko <vak@besm6.org>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2017-10-05 10:54:57 +02:00
Nicolas Oliver
e9d1b1ef28 docs: add additional validation for doc tools version
Signed-off-by: Nicolas Oliver <dario.n.oliver@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2017-10-04 13:18:39 +02:00
Nicolas Oliver
3f3f657887 docs: require specific version of doc tools
Signed-off-by: Nicolas Oliver <dario.n.oliver@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2017-10-04 13:18:39 +02:00
Brendan Le Foll
eb7238d9af mraa: Update to v1.8.0
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2017-09-15 11:30:54 +02:00
Brendan Le Foll
e1778c811d tests: add USEPYTHON3TESTS to explicitly use python3 for tests
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2017-06-19 20:48:29 +02:00
Brendan Le Foll
8ddbcde84e mraa: Update to v.1.7.0
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2017-05-12 05:16:20 -07:00
Noel Eck
aeb293a163 Peripheralman: Update peripheralman API docs
* 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>
2017-04-24 16:04:33 -07:00
Brendan Le Foll
4c7616fe91 android-things: Prep for peripheralmanager support
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2017-04-24 14:42:54 -07:00
Brendan Le Foll
0d6700fe50 mraa: Update to v1.6.1
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2017-04-06 23:55:12 +02:00
Brendan Le Foll
f911e0620e mraa: Update to v1.6.0
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2017-04-02 20:17:53 +02:00
Brendan Le Foll
6f9b470d8d mraa: Update to v1.5.1
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-11-04 13:39:32 +00:00
Brendan Le Foll
5a3f73731c mraa: Update to v1.5.0
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-11-04 12:32:49 +00:00
Brendan Le Foll
a3c717553c cmake: enable INSTALLTOOLS by default
This means mraa-i2c and mraa-gpio are installed in <prefix>/bin by default

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-10-26 11:55:19 +01:00
Brendan Le Foll
37deb5003b mraa: Update to v1.4.0
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-10-11 14:44:36 +01:00
Brendan Le Foll
122cab1f1e cmake: Add lots of fancy warnings to CC/CXX and make cmake check they exist
Thanks to Dan Liew for cmake work in fpbench that this is copied from

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-09-13 11:45:49 +01:00
Brendan Le Foll
22b0f63238 cmake: Remove dirty tag on compilation from non git tree
This is removed to make building in buildsystems like ubuntu's or yocto's
easier. Bugs reported from old versions haven't been that annoying so this is
probably be ok

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-08-30 15:00:10 +01:00
Brendan Le Foll
2832909856 mraa: Update to v1.3.0
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-08-30 13:03:47 +01:00
Brendan Le Foll
d700cae7c4 mraa: Update to v1.2.3
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-08-10 11:33:28 +01:00
Brendan Le Foll
c0fbccb3b6 mraa: Update to v1.2.2
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-08-09 14:10:48 +01:00
Brendan Le Foll
29be2b64c0 mraa: Update to v1.2.1
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-08-03 16:50:09 +01:00
Brendan Le Foll
e675123d50 mraa: Update to v1.2.0
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-08-03 13:29:15 +01:00
Houman Brinjcargorabi
ca0d740ee0 CMakeLists: Added json platform options and build
Signed-off-by: Houman Brinjcargorabi <houman.brinjcargorabi@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-07-27 11:33:29 +01:00
Brendan Le Foll
8cd1a06562 mraa: Update to v1.1.2
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-07-12 12:31:23 +01:00
Alex Tereschenko
bcb6adc551 mock: added mraa mock platform infra and GPIO implementation
Mock platform allows one to use mraa without having any real HW.

This commit makes necessary foundational changes and implements
GPIO functionality as well as adds respective tests.

Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-07-05 16:19:05 +01:00
Brendan Le Foll
d336e9f8d6 mraa: Update to v1.1.1
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-06-30 16:13:55 +01:00
Alex Tereschenko
0bd488bc53 cmake: fixed incorrect MRAAPLATFORMFORCE definition
Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-06-27 11:44:30 +01:00
Brendan Le Foll
a54386c5d3 mraa: Update to v1.1.0
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-06-23 17:23:56 +01:00
Brendan Le Foll
a177a3f729 cmake: Fix tests with multiple python bindings being built
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-06-01 11:21:20 +01:00
Brendan Le Foll
99841419ab python: Support building of both python2 & python3 bindings
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-05-26 14:51:34 +01:00
Brendan Le Foll
887acf54e1 mraa: Update to v1.0.0
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-04-28 15:59:40 +01:00
Brendan Le Foll
4a52ad6c4f uart_ow: Make onewire functionality optional but on by default
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-04-14 13:52:09 +01:00
Noel Eck
69d9c26e6e pkg_config: Update mraa.pc.cmake to use new install dir
LIB_SUFFIX is no longer used.  Replaced with LIB_INSTALL_DIR
which provides the correct lib dir with arch suffix.

Moved the call to include(GNUInstallDirs) prior to checking the
CMAKE_INSTALL_LIBDIR - which is set by include(GNUInstallDirs).

Tested with cmake 2.8 and cmake 3.5.

Signed-off-by: Noel Eck <noel.eck@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-04-12 14:18:19 +01:00
Mihai Tudor Panu
62e113ed3f cmake: use LIB_INSTALL_DIR throughout instead of CMAKE_INSTALL_LIBDIR
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-04-12 14:18:19 +01:00
Thomas Ingleby
a9429204e3 mraa: Update to v0.10.1
Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
2016-03-28 17:11:31 +02:00
Brendan Le Foll
52f9c48bbc mraa: Update to v0.10.0
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-03-24 17:01:01 +00:00
Brendan Le Foll
8c0aa5af2c cmake: disable TGZ from builds when IPK used
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-03-22 18:42:54 +00:00