Thomas Ingleby
3bb17bb7b9
travis: use mirror of swig-3.0.10.tar.gz
...
closes #595
Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com >
2016-10-31 14:31:18 +01:00
Fathi Boudra
8218e42d41
doc: fix spelling errors
...
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-30 10:58:36 +00:00
Brendan Le Foll
3971d27f8a
imraa: split imraa up into imraa_io and imraa_lock
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-26 14:24:50 +01:00
Brendan Le Foll
c69d1884c9
imraa.io.conf: Imraa IO configuration
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-26 14:24:50 +01:00
Brendan Le Foll
cada819c39
intel_edison_fab_c.c: don't undo muxing if we don't own the pin
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-26 14:24:50 +01:00
Brendan Le Foll
0b5130335d
mraa.c: add error if adding a MRAA_GENERIC_FIRMATA subplat and not supported
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-26 14:24:50 +01:00
Brendan Le Foll
b4cf93f1f8
gpio.c: Remove use of sprintf in favour of snprintf
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-26 14:24:50 +01:00
Brendan Le Foll
c7ff9a5173
imraa: Add argp support, split arduino functionality
...
This commit gets us closer to what was intended for imraa, support of setting
sysfs user permissions
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-26 14:24:50 +01:00
Brendan Le Foll
c993cf10b4
firmata_curie_imu.c: Fix warning due to signed nature of function input buffer
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-26 14:24:50 +01:00
Brendan Le Foll
623fef670e
firmata: Add pthread spin locks around uart operations
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-26 14:24:50 +01:00
Brendan Le Foll
bb5ec8bd10
firmata: Remove all 6.2.x warnings
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-26 12:56:20 +01: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
Mihai Tudor Panu
6ce1b1c4ce
python: remove temporary RPATH from _mraa.so when installing
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-25 12:15:29 +01:00
Alex Tereschenko
9f03afbcbc
mock: implement UART functionality
...
Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-25 12:04:04 +01:00
Alex Tereschenko
8a9efd1bcc
uart.c: add replace functions used by mock
...
Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-25 12:04:04 +01:00
Alex Tereschenko
1b3a9371a1
uart.c: rework mraa_uart_init_raw to use common cleanup block
...
This will align it with spi.c and make it easier to introduce
a replace function.
Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-25 12:04:04 +01:00
Alex Tereschenko
ccc4185eff
uart.hpp: fix typo in setNonBlocking() function name
...
Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-25 12:04:04 +01:00
Alex Tereschenko
6fda865af7
uart.hpp: fix typo in write() description
...
Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-25 12:04:04 +01:00
Brendan Le Foll
dd33a32744
README.md: Fix typo in README.md
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-25 12:03:23 +01:00
Joseph Butler
7d1ee0c6fe
README.MD: Fix ubuntu instructions to update repo
...
Signed-off-by: Joseph Butler <joseph.butler@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-25 12:02:17 +01:00
Brendan Le Foll
19791be2f5
CONTRIBUTING.md: Add author rules and suggestion on filing issues for feature review
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-24 11:36:22 +01:00
Brendan Le Foll
49ef1623b2
python: Move docs to depend on BUILDPYTHON2 to not build with py3
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-11 15:21:06 +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
980dfce80e
mraa.c: return MRAA_SUCCESS when trying to call mraa_add_subplatform twice
...
If we already have a subplatform present with the same type, return success
when trying to add it again. We don't check that the tty is the same because
that is hidden inside the t_firmata* structure but we should do at some point
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-11 13:58:40 +01:00
Brendan Le Foll
08e270818a
firmata_mraa.c: Clean up for loops with useless statements
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-11 08:49:36 +01:00
Brendan Le Foll
6bac8594a5
mraa.c: Remove unused variables in mraa_add_from_lockfile
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-11 08:49:12 +01:00
Brendan Le Foll
11bbd05533
mraa.c: Add MRAA_SUCCESS return to mraa_remove_subplatform
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-11 08:48:47 +01:00
Brendan Le Foll
1d4b19dc4b
mraa.c: Move firmata syslog message to useful location
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-11 08:48:23 +01:00
Brendan Le Foll
02a7fbf191
imraa.c: Remove unused variables
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-11 08:47:26 +01:00
Brendan Le Foll
ae15b10997
types.h: Remove tabs that crept in
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-11 08:38:09 +01:00
SaschaWeisenberger
be22844922
src/x86/x86.c: add support for Siemens SIMATIC IOT2000
...
The Siemens device "SIMATIC IOT2000" is identical to the Intel Galileo
Gen 2 regarding the gpios. So if the board name is "SIMATIC IOT2000"
treat the board as if it is Galileo Gen 2.
Signed-off-by: Sascha Weisenberger sascha.weisenberger@siemens.com
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-09-27 13:08:44 +01:00
Thomas Ingleby
92fdb8aa01
README: Update PPA instructions
...
Fixes #581
Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com >
2016-09-21 23:50:28 +03:00
Stefan Andritoiu
def454e33c
java: Renamed pom.xml file to the standard naming convention
...
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-09-14 15:17:58 +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
6c85b61daa
mraa: Fix compiler warnings unused vars and useless statements
...
Should have 0 functionality effect, just cleans up a few things. Fixes #577
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-09-13 11:20:41 +01: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
Stefan Andritoiu
8e38c762f0
java: Added automatic pom.xml file creation in CMake
...
This is to add mraa package in a Maven repo
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-09-12 12:23:18 +01:00
Jon Trulson
590f733ff9
uart_ow: convert static const int MRAA_UART_OW_ROMCODE_SIZE to #define
...
This is needed so that this value can be used in all places in C (and
C++) code. Unlike C++ you can't always use a static const int
variable to declare an array size for example. Trying to do so will
yield compiler errors.
In addition, during the declaration of the uart_ow_context, replace a
hardcoded '8' with this macro. Originally, the '8' was hardcoded for
this very reason.
Signed-off-by: Jon Trulson <jtrulson@ics.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-09-12 12:21:46 +01:00
Brendan Le Foll
045ceb084f
grossetete.md: Add documentation for uart
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-09-07 13:51:58 +01:00
Brendan Le Foll
ff3b3004da
intel_gt_tuchuck.c: Add SPI to joule pinmap file
...
This commit fixes documentation for SPI bus to match latest changes in pinmap
file
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-09-07 13:51:32 +01:00
Brendan Le Foll
5cb2bd220e
spi.hpp: Add documentation to raw mode constructor
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-09-07 13:27:07 +01:00
Brendan Le Foll
8ec4fcb333
intel_galileo_rev_g.c: use pincmd to set OUT_HIGH instead of value
...
The i/o expander looses connection as soon as direction is set so use direction
OUT_HIGH instead of setting value after direction. Closes #573
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-09-02 12:00:29 +01:00
Brendan Le Foll
bf2a504774
firmata_mraa.c: retry counter should not be decremented past 0
...
This means the retry counter works appropriately in case of failure. Closes #574
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-09-02 11:49:26 +01:00
Brendan Le Foll
9bc91f4b12
docs/joule: Rename docs to use joule naming
...
This also adds the 2 LEDs on the 8260 radio to the mapping
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-08-30 16:06:31 +01:00
Brendan Le Foll
6180ddaa8e
README.md: update mraa instructions
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-08-30 16:03:30 +01:00
Brendan Le Foll
8a93351f0e
building.md: Update building docs
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-08-30 15:53:39 +01:00
Brendan Le Foll
1591b92605
python2/cmake: Remove unused pydocs target
...
Pydocs has been deprecated in favour of sphinx as it's really very very ugly
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-08-30 15:43:23 +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
Alex Tereschenko
636c9feb4f
travis: add builds for mock
...
Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-08-30 12:32:20 +01:00