Age | Commit message (Collapse) | Author |
|
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>
|
|
Helps to be explict what license each module is under
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>
|
|
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>
|
|
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
|
|
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
|
|
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>
|
|
Signed-off-by: Serge Vakulenko <vak@besm6.org>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
|
|
Signed-off-by: Nicolas Oliver <dario.n.oliver@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
|
|
Signed-off-by: Nicolas Oliver <dario.n.oliver@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
|
|
Signed-off-by: Nicolas Oliver <dario.n.oliver@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
|
|
Closes #566.
Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
|
|
Signed-off-by: Houman Brinjcargorabi <houman.brinjcargorabi@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
|
|
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>
|
|
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
|
|
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>
|
|
Signed-off-by: Longwei Su <lsu@ics.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
|
|
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>
|
|
Signed-off-by: Henry Bruce <henry.bruce@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
|
|
Signed-off-by: Henry Bruce <henry.bruce@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
|
|
Signed-off-by: Henry Bruce <henry.bruce@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
|
|
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>
|
|
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>
|
|
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
|
|
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>
|
|
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>
|
|
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
|
|
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
|
|
* Additional fields added to CMakeLists
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
|
|
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
|
|
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
|
|
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
|
|
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
|