Private
Public Access
2
0
Commit Graph

41 Commits

Author SHA1 Message Date
Mihai Tudor Panu
1a66c6dc6a python2: remove ability to build python2 bindings from project
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-28 09:41:43 -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
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
Noel Eck
fc4b2a554d Platform_extender: FT4222 library refactor
Updates to make the FT4222 platform extender more usable.

Previous implementation opened libft4222.so and loaded symbols as
needed.  This implementation removes dynamic loading of libft4222 in
favor of creating a new shared libary which links against libft4222.so.
The dynamic loading is now done in mraa.c.  One C method is exposed in
libmraa-platform-ft4222.so for finding/initializing an FT4222:

mraa_platform_t mraa_usb_platform_extender(mraa_board_t* board);

Mraa.c attempts to open this platform library and calls the
mraa_usb_platform_extender method.  If an ftdi4222 is connected, the
user gets added IO from the extender.  If no FT4222 device is connected,
continue as normal.

    * Create a new platform library for the FT4222
    * Expose only 1 C method from the library -
      mraa_usb_platform_extender
    * libmraa-platform-ft4222.so contains CXX code (as well as previous
      C code).  All *allocs have been removed in favor of global
      C++ stl containers.
    * Previously, the FT4222 would only initialize correctly if 2 ftdi
      devices existed.  Now, initialize FT4222 devices based on the
      device id.
    * Many fixes for various problems with the FT4222
    * Added unit test for platform extender (minimal functionality w/o hw)
    * Updated to FindFtd4222.cmake module to handle standard arguments
    * Removed CMAKE_C_FLAGS addition of -DFTDID2XX and -DFTDI4222 since
      these are NOT used anywhere in source.
    * Building the FTDI4222 shim requires libft4222.h which requires
      ftd2xx.h.  Updated CMakeLists.txt to require both when building
      the shim.

Signed-off-by: Noel Eck <noel.eck@intel.com>
2018-06-26 12:57:13 -07: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
60b77d5da9 FindNodejs: extend search path to detect ubuntu provided nodejs
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2018-02-06 20:29:37 -05:00
Noel Eck
cb03cab04a FindNodejs: Updated to find node<version>
Updates to the FindNodejs.cmake module to find newer installs of nodejs
across other distros.  For example openSUSE: /usr/include/node6/node.h

    * Added PATH_SUFFIX to find_path for node.h.
    * Standardized usage of message() (added STATUS)
    * Call find_package_handle_standard_args with version
    * Reformatted to look uniform.

Signed-off-by: Noel Eck <noel.eck@intel.com>
2018-02-06 10:05:39 -08: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
668776fbfd docs: remove empty lines in tools checking logs
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
c6dbe76116 FindYuidoc.cmake: modify log format of yuidoc 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
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
Alex Tereschenko
139d42d084 FindNodejs.cmake: added search paths for Ubuntu 16.04
Closes #566.

Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-09-12 12:24:24 +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
5160d909d3 OpenCVDetectPython.cmake: set minimum python versions
This fixes compilation when python is not found or only one version of python
is found

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-06-01 12:11:05 +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
a17079c460 firmata: install node_modules to where cmake guessed node was
This does now mean that modules won't go to /usr/local with the default prefix
but may instead try to install in /usr/lib. However if using nvm they should go
to the right place as long as NODE_ROOT_DIR is set correctly. This commit
changes NODE_ROOT_DIR to actually refer to the root directory of node rather
than the include dir which is what FindNodejs gets

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-03-22 18:12:30 +00:00
Longwei Su
f1f578363a imraa: update udev cmake configuration
Signed-off-by: Longwei Su <lsu@ics.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-03-22 18:12:30 +00:00
Longwei Su
a52ce5d5bb imraa: add first version of imraa, the mraa initialisation daemon
Imraa allows the automatic flashing and setup of arduino101 subplatforms as
well as the initial setup of GPIO/i2c devices

Signed-off-by: Longwei Su <lsu@ics.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-03-22 18:12:30 +00:00
Henry Bruce
8ff42482ec nodejs: Fixed cmake bug in v8 and uv detection logic
Signed-off-by: Henry Bruce <henry.bruce@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-01-28 14:21:30 +00:00
Henry Bruce
3924070171 nodejs: Updated FindNodejs.cmake so exported variables match package name
Signed-off-by: Henry Bruce <henry.bruce@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-01-28 14:21:20 +00:00
Henry Bruce
ff31d6763c nodejs: cmake updates to more thoroughly check Node.js configuration
Signed-off-by: Henry Bruce <henry.bruce@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-01-28 14:21:05 +00:00
Srinivas Kandagatla
47ec54c333 TargetArch.cmake: Add support to aarch64 based platforms
This patch adds support to aarch64 arm 64 bit platforms.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2015-12-14 11:00:04 +00:00
Brendan Le Foll
fa772a0a9d FindNodejs.cmake: V8_VERSION_MAJOR is being set and MINOR/PATCH where empty
This has been wrong for a while and probably not the most important but when
node.js fails to be detected (typically this means runtime check on node.js has
failed which hopefully is rare!)

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2015-11-11 16:00:16 +00:00
Henry Bruce
1c9b87bfd3 cmake: add FTDI FT4222 support
Existing FTDI D2xx support is just for serial comms library
but FT4222 needs a different library for i2c operation.

Signed-off-by: Henry Bruce <henry.bruce@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2015-09-08 14:42:03 +01:00
Brendan Le Foll
e353508e30 cmake: add -DFTDID2xx and use FindFtd2xx.cmake
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2015-09-08 14:42:03 +01:00
Justin Brown
9c93eeb323 cmake: add nodejs executable name
The Debian package names the executable nodejs instead of node

Signed-off-by: Justin Brown <justin.m.brown@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2015-07-13 11:26:18 +01:00
Justin Brown
22ace9c642 cmake: add path to help find nodejs
Helps locate node-v0.12.4 built from source on Fedora 22

Signed-off-by: Justin Brown <justin.m.brown@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2015-06-23 11:10:04 +01:00
Andrei Vasiliu
33e4f3eeec oe-sdk_cross.cmake: Added support for OpenJDK Java bindings
Signed-off-by: Andrei Vasiliu <andrei.vasiliu@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2015-06-11 11:44:56 +01:00
Brendan Le Foll
b006ba2896 cmake: add FindYuidoc.cmake module
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2015-06-01 15:24:23 +01:00
Brendan Le Foll
128f0a22da nodejs: add infra to detect nodejs version
This introduces FindNodes.cmake which finds the v8 version and the nodejs
interp version and passes the information to SWIG via SWIG_V8_VERSION

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2015-03-19 18:26:05 +00:00
Brendan Le Foll
c3e43e5984 cmake: make licensing of cmake modules really clear
Cmake modules have varying licensing, to make the distinctions clearer all
original licenses have been included and TargetArch.cmake has been explicitly
marked as LGPL 2.1 as it is based off work comming from qtbase

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2015-01-14 22:29:18 +00:00
Henry Bruce
6805aebc47 oe-sdk_cross.cmake: 'make install' now targets oe sysroot
Signed-off-by: Henry Bruce <henry.bruce@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-11-20 15:08:31 +00:00
Brendan Le Foll
b5a273965d cmake: add cmake toolchain file for oe setup
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-11-10 20:48:27 +00:00
Thomas Ingleby
6853997a92 mraa: rename from maa to mraa
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-06-24 17:24:54 +01:00
Thomas Ingleby
60fef1bd30 cmake: added conflicts and replaces fields
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-06-09 14:49:35 +01:00
Thomas Ingleby
f101ee64f9 cmake: updated CPackDeb to use DEB outer compression.
* Additional fields added to CMakeLists

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-06-09 13:20:11 +01:00
Brendan Le Foll
b74541bf5a CPackDeb.cmake: update to use opkg-buld
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-06-04 12:05:02 +01:00
Thomas Ingleby
6117c855a3 maa: add make package using CPack, generates IPK
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-06-03 13:29:28 +01:00
Brendan Le Foll
77b2e484d7 sphinx: make python documentation generation use sphinx
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-05-02 09:51:42 +01:00
Brendan Le Foll
00fd42b186 version.h: add versioning info from git
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-04-28 00:29:14 +01:00