contrib/mraa.git
9 years agomraa: make platform info more available internally
Thomas Ingleby [Mon, 14 Jul 2014 15:56:12 +0000 (16:56 +0100)]
mraa: make platform info more available internally

* available with mraa_internal header

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agohook: change structure to pointer
Thomas Ingleby [Mon, 14 Jul 2014 14:21:28 +0000 (15:21 +0100)]
hook: change structure to pointer

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agomraa: rename internal adv func mraa_adv_func_t
Thomas Ingleby [Mon, 14 Jul 2014 14:12:08 +0000 (15:12 +0100)]
mraa: rename internal adv func mraa_adv_func_t

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agoi2c.c: add newlines at the end of all error msgs
Brendan Le Foll [Fri, 11 Jul 2014 13:47:52 +0000 (14:47 +0100)]
i2c.c: add newlines at the end of all error msgs

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agohook: items lost in merge, missing adv items.
Thomas Ingleby [Fri, 11 Jul 2014 11:02:40 +0000 (12:02 +0100)]
hook: items lost in merge, missing adv items.

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agoMerge branch 'hook'
Thomas Ingleby [Fri, 11 Jul 2014 10:56:45 +0000 (11:56 +0100)]
Merge branch 'hook'

Conflicts:
include/intel_galileo_rev_d.h
include/intel_galileo_rev_g.h
include/mraa_adv_func.h
include/mraa_internal.h
src/gpio/gpio.c
src/mraa.c

9 years agohook: change header of board definition, add internal
Thomas Ingleby [Fri, 11 Jul 2014 10:41:14 +0000 (11:41 +0100)]
hook: change header of board definition, add internal

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agohook: rename from declared struct to adance_func
Thomas Ingleby [Thu, 10 Jul 2014 21:19:00 +0000 (22:19 +0100)]
hook: rename from declared struct to adance_func

* Removed bitfield, now checks if pointer NULL.

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agomraa_internal: add extern "C" to internal headers
Brendan Le Foll [Thu, 10 Jul 2014 21:08:05 +0000 (22:08 +0100)]
mraa_internal: add extern "C" to internal headers

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agocmake: add -fno-omit-frame-pointer to CXX Debug flags
Brendan Le Foll [Thu, 10 Jul 2014 21:03:11 +0000 (22:03 +0100)]
cmake: add -fno-omit-frame-pointer to CXX Debug flags

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agouart_setup: add example on current uart use.
Thomas Ingleby [Thu, 10 Jul 2014 00:25:20 +0000 (01:25 +0100)]
uart_setup: add example on current uart use.

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agointel_galileo_rev_d: add uart definitions.
Thomas Ingleby [Thu, 10 Jul 2014 00:14:24 +0000 (01:14 +0100)]
intel_galileo_rev_d: add uart definitions.

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agouart: barebones uart module added.
Thomas Ingleby [Wed, 9 Jul 2014 23:55:50 +0000 (00:55 +0100)]
uart: barebones uart module added.

* Only defined call is the init. Will then expose the uart from
* the multiplexors.

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agomraa: update to version 0.4.1 v0.4.1
Brendan Le Foll [Fri, 4 Jul 2014 14:56:40 +0000 (15:56 +0100)]
mraa: update to version 0.4.1

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agoBlink-IO.cpp: use mraa_result_t instead of int
Brendan Le Foll [Fri, 4 Jul 2014 14:49:07 +0000 (15:49 +0100)]
Blink-IO.cpp: use mraa_result_t instead of int

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agocommon.hpp: use common.hpp instead of renaming C functions in interface
Brendan Le Foll [Fri, 4 Jul 2014 14:42:04 +0000 (15:42 +0100)]
common.hpp: use common.hpp instead of renaming C functions in interface

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agoblink_onboard.c: add missing newline char
Brendan Le Foll [Thu, 3 Jul 2014 13:51:24 +0000 (14:51 +0100)]
blink_onboard.c: add missing newline char

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agoCMakeLists.txt: update pymraa to python-mraa
Brendan Le Foll [Thu, 3 Jul 2014 13:39:23 +0000 (14:39 +0100)]
CMakeLists.txt: update pymraa to python-mraa

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agobuilding.md: Add details to swig version requirements for nodejs support. resolves #1
Brendan Le Foll [Thu, 3 Jul 2014 08:40:09 +0000 (09:40 +0100)]
building.md: Add details to swig version requirements for nodejs support. resolves #1

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agotypes.h: add missing asterix from comment.
Thomas Ingleby [Wed, 2 Jul 2014 16:10:59 +0000 (17:10 +0100)]
types.h: add missing asterix from comment.

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agomraa: add common hpp
Thomas Ingleby [Wed, 2 Jul 2014 16:09:34 +0000 (17:09 +0100)]
mraa: add common hpp

* Wraps some of the C functions that libmraa has into the mraa namespace
* Not included in swig bindings as of yet

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agointel_galileo_rev_g: add mmap IO on some pins.
Thomas Ingleby [Wed, 2 Jul 2014 12:40:14 +0000 (13:40 +0100)]
intel_galileo_rev_g: add mmap IO on some pins.

* enabled on, IO0,IO1,IO2,IO3,IO12

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agohook: remove hooks, move into branch.
Thomas Ingleby [Tue, 1 Jul 2014 17:29:06 +0000 (18:29 +0100)]
hook: remove hooks, move into branch.

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agomraa.i: remove mraaBuffer class
Brendan Le Foll [Tue, 1 Jul 2014 16:13:02 +0000 (17:13 +0100)]
mraa.i: remove mraaBuffer class

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agomraa.c: stop ctor running in scripting languages
Brendan Le Foll [Tue, 1 Jul 2014 16:05:57 +0000 (17:05 +0100)]
mraa.c: stop ctor running in scripting languages

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agomraa: add deinit function for valgrind testing
Brendan Le Foll [Tue, 1 Jul 2014 15:38:41 +0000 (16:38 +0100)]
mraa: add deinit function for valgrind testing

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agospi: update spi module to use char instead of unsigned char as return values
Brendan Le Foll [Tue, 1 Jul 2014 13:56:12 +0000 (14:56 +0100)]
spi: update spi module to use char instead of unsigned char as return values

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agoI2c-compass.cpp: fix example to use char instead of uint8_t
Brendan Le Foll [Tue, 1 Jul 2014 13:55:47 +0000 (14:55 +0100)]
I2c-compass.cpp: fix example to use char instead of uint8_t

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agoi2c: allow binary strings as parameters to write() functions in scripting
Brendan Le Foll [Tue, 1 Jul 2014 12:51:03 +0000 (13:51 +0100)]
i2c: allow binary strings as parameters to write() functions in scripting

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agointel_galileo_rev_g: add GPIO support on 14-19
Thomas Ingleby [Mon, 30 Jun 2014 15:22:51 +0000 (16:22 +0100)]
intel_galileo_rev_g: add GPIO support on 14-19

* Please take care with using voltages around the ADC

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agomraa: update description of libmraa
Brendan Le Foll [Mon, 30 Jun 2014 10:49:06 +0000 (11:49 +0100)]
mraa: update description of libmraa

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agointel_galileo_rev_g: change enable pin for SPI MISO
Thomas Ingleby [Mon, 30 Jun 2014 10:10:28 +0000 (11:10 +0100)]
intel_galileo_rev_g: change enable pin for SPI MISO

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agodoc: fix formatting on platform-hooks
Thomas Ingleby [Fri, 27 Jun 2014 14:46:51 +0000 (15:46 +0100)]
doc: fix formatting on platform-hooks

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agomraa: initial implementation of "hooks"
Thomas Ingleby [Fri, 27 Jun 2014 14:37:48 +0000 (15:37 +0100)]
mraa: initial implementation of "hooks"

* Should allow for more platform quirks to be handled by mraa without
* massive conditional areas per platform.

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agointel_galileo_rev_g: fix pwm on IO5
Thomas Ingleby [Thu, 26 Jun 2014 17:55:38 +0000 (18:55 +0100)]
intel_galileo_rev_g: fix pwm on IO5

* Incorrect mapping.

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agogpio: remove direction error printing
Thomas Ingleby [Thu, 26 Jun 2014 17:34:29 +0000 (18:34 +0100)]
gpio: remove direction error printing

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agoblink_onboard.c: fix compilation warnings
Brendan Le Foll [Thu, 26 Jun 2014 14:07:17 +0000 (15:07 +0100)]
blink_onboard.c: fix compilation warnings

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agomraa: pymraa becomes mraa and mraajs becomes mraa
Brendan Le Foll [Wed, 25 Jun 2014 16:49:27 +0000 (17:49 +0100)]
mraa: pymraa becomes mraa and mraajs becomes mraa

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agoaio: added configuration within platform data.
Thomas Ingleby [Wed, 25 Jun 2014 16:32:41 +0000 (17:32 +0100)]
aio: added configuration within platform data.

* Allows for different bit shifting for each platform.
* New functions added for obtaining this information
* mraa_adc_raw_bits
* mraa_adc_supported_bits

* Update board information to include this. AIO module changed to allow
* use of the new board data

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agoaio: minor formatting fix
Thomas Ingleby [Wed, 25 Jun 2014 13:58:15 +0000 (14:58 +0100)]
aio: minor formatting fix

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agogpio: add mmap enable function to cpp headers
Thomas Ingleby [Wed, 25 Jun 2014 10:14:20 +0000 (11:14 +0100)]
gpio: add mmap enable function to cpp headers

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agomaa: update to 0.4.0 v0.4.0
Thomas Ingleby [Wed, 25 Jun 2014 08:19:35 +0000 (09:19 +0100)]
maa: update to 0.4.0

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agoipk: replace existing maa if installed
Thomas Ingleby [Wed, 25 Jun 2014 08:16:21 +0000 (09:16 +0100)]
ipk: replace existing maa if installed

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agomraa: rename from maa to mraa
Thomas Ingleby [Tue, 24 Jun 2014 16:24:54 +0000 (17:24 +0100)]
mraa: rename from maa to mraa

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agomaa: change complex C++ write calls to CamelCase for spi & i2c
Brendan Le Foll [Tue, 24 Jun 2014 13:42:24 +0000 (14:42 +0100)]
maa: change complex C++ write calls to CamelCase for spi & i2c

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agohello_isr.py: add license header
Brendan Le Foll [Tue, 24 Jun 2014 13:41:41 +0000 (14:41 +0100)]
hello_isr.py: add license header

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agomaa.i: remove invalid typemaps to char* and include carrays
Brendan Le Foll [Tue, 24 Jun 2014 13:41:00 +0000 (14:41 +0100)]
maa.i: remove invalid typemaps to char* and include carrays

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agoi2c.hpp: add I2c::writeReg method
Brendan Le Foll [Tue, 24 Jun 2014 13:40:34 +0000 (14:40 +0100)]
i2c.hpp: add I2c::writeReg method

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agomaa: remove unnecessary printing
Thomas Ingleby [Mon, 23 Jun 2014 10:39:09 +0000 (11:39 +0100)]
maa: remove unnecessary printing

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agomaa: remove dev printing
Thomas Ingleby [Fri, 20 Jun 2014 17:27:44 +0000 (18:27 +0100)]
maa: remove dev printing

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agoblink_onboard.c: add missing blink onboard example
Brendan Le Foll [Fri, 20 Jun 2014 17:18:05 +0000 (18:18 +0100)]
blink_onboard.c: add missing blink onboard example

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agomaa: add maa_get_platform_type function and move swig common to type.h
Brendan Le Foll [Fri, 20 Jun 2014 17:00:19 +0000 (18:00 +0100)]
maa: add maa_get_platform_type function and move swig common to type.h

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agomaa.c: complain if we didn't detect a valid platform
Brendan Le Foll [Fri, 20 Jun 2014 15:46:05 +0000 (16:46 +0100)]
maa.c: complain if we didn't detect a valid platform

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agomaa: update to 0.3.1 v0.3.1
Thomas Ingleby [Fri, 20 Jun 2014 15:34:11 +0000 (16:34 +0100)]
maa: update to 0.3.1

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agopwm: disable pwm before unexporting
Thomas Ingleby [Fri, 20 Jun 2014 15:26:08 +0000 (16:26 +0100)]
pwm: disable pwm before unexporting

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agoMerge branch 'gen2'
Thomas Ingleby [Fri, 20 Jun 2014 15:22:27 +0000 (16:22 +0100)]
Merge branch 'gen2'

9 years agointel_galile_rev_g: pinmap add definition for io.
Thomas Ingleby [Fri, 20 Jun 2014 15:20:30 +0000 (16:20 +0100)]
intel_galile_rev_g: pinmap add definition for io.

* PWM working
* SPI working

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agogpio: no printing to stderr on direction change.
Thomas Ingleby [Fri, 20 Jun 2014 15:19:59 +0000 (16:19 +0100)]
gpio: no printing to stderr on direction change.

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agogpio: Added args param to maa_gpio_isr and added documentation
Kiveisha Yevgeniy [Thu, 19 Jun 2014 16:23:43 +0000 (16:23 +0000)]
gpio: Added args param to maa_gpio_isr and added documentation

Signed-off-by: Kiveisha Yevgeniy <yevgeniy.kiveisha@intel.com>
9 years agomaa: change dependency on direction for muxs
Thomas Ingleby [Thu, 19 Jun 2014 12:54:19 +0000 (13:54 +0100)]
maa: change dependency on direction for muxs

* Will not error if cannot set direction, as some muxes are do not have
* the direction file. If the mux really isnt in output mode the
* following write would also fail.

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agoI2c-compass.cpp: fix example to use HMC5883L_CONT_MODE
Brendan Le Foll [Wed, 18 Jun 2014 08:59:00 +0000 (09:59 +0100)]
I2c-compass.cpp: fix example to use HMC5883L_CONT_MODE

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agointel_galileo_rev_g: Complete initial pinmap
Thomas Ingleby [Tue, 17 Jun 2014 19:16:03 +0000 (20:16 +0100)]
intel_galileo_rev_g: Complete initial pinmap

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agomaa: add support for enabling pins and pulldowns
Thomas Ingleby [Tue, 17 Jun 2014 19:15:36 +0000 (20:15 +0100)]
maa: add support for enabling pins and pulldowns

* Not Complete

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agointel galile rev g: change name from gen2 to revg
Thomas Ingleby [Tue, 17 Jun 2014 08:42:55 +0000 (09:42 +0100)]
intel galile rev g: change name from gen2 to revg

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agogen2: add basic galileo gen2 detection
Brendan Le Foll [Mon, 16 Jun 2014 17:45:59 +0000 (18:45 +0100)]
gen2: add basic galileo gen2 detection

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agointel_galileo_rev_d.c: change magic number to macro in header
Brendan Le Foll [Mon, 16 Jun 2014 17:45:43 +0000 (18:45 +0100)]
intel_galileo_rev_d.c: change magic number to macro in header

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agomaa.i: add typemaps for uint8_t and uint8_t*
Brendan Le Foll [Fri, 13 Jun 2014 16:53:21 +0000 (17:53 +0100)]
maa.i: add typemaps for uint8_t and uint8_t*

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agospi.h: add doc to make sure people free the returned buffer after maa_spi_write
Brendan Le Foll [Fri, 13 Jun 2014 16:52:59 +0000 (17:52 +0100)]
spi.h: add doc to make sure people free the returned buffer after maa_spi_write

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agomaa: update to 0.3.0 v0.3.0
Brendan Le Foll [Fri, 13 Jun 2014 09:30:27 +0000 (10:30 +0100)]
maa: update to 0.3.0

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agomaa.i: add typemap for unsigned char* to char*
Brendan Le Foll [Fri, 13 Jun 2014 09:30:01 +0000 (10:30 +0100)]
maa.i: add typemap for unsigned char* to char*

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agoCMakeLists.txt: install headers in include/maa
Brendan Le Foll [Fri, 13 Jun 2014 09:16:37 +0000 (10:16 +0100)]
CMakeLists.txt: install headers in include/maa

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agoexample.js: make require path follow NODE_ENV and NODE_PATH
Brendan Le Foll [Thu, 12 Jun 2014 08:54:51 +0000 (09:54 +0100)]
example.js: make require path follow NODE_ENV and NODE_PATH

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agoexample.js: fix example to use up to date API
Brendan Le Foll [Thu, 12 Jun 2014 06:59:06 +0000 (07:59 +0100)]
example.js: fix example to use up to date API

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agomaa: make common.h header to replace maa.h header to simplify includes
Brendan Le Foll [Wed, 11 Jun 2014 13:17:34 +0000 (14:17 +0100)]
maa: make common.h header to replace maa.h header to simplify includes

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agoREADME.md: make more github friendly readme and move to docs/
Brendan Le Foll [Wed, 11 Jun 2014 13:16:47 +0000 (14:16 +0100)]
README.md: make more github friendly readme and move to docs/

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agoi2c: make maa_i2c_read always return the length of the read
Brendan Le Foll [Wed, 11 Jun 2014 09:47:13 +0000 (10:47 +0100)]
i2c: make maa_i2c_read always return the length of the read

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agojs-swig: remove whitespace
Thomas Ingleby [Tue, 10 Jun 2014 19:16:39 +0000 (20:16 +0100)]
js-swig: remove whitespace

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agomaa: update to version 0.2.9 v0.2.9
Brendan Le Foll [Tue, 10 Jun 2014 15:39:54 +0000 (16:39 +0100)]
maa: update to version 0.2.9

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agomaa: add global maa.h and maa.hpp and stop using /usr/include/maa/
Brendan Le Foll [Tue, 10 Jun 2014 15:33:32 +0000 (16:33 +0100)]
maa: add global maa.h and maa.hpp and stop using /usr/include/maa/

* pkg-config now only sees maa.h & maa.hpp
* usage of maa/*.{h,hpp} is still allowed
* examples updated to use maa.{h,hpp}

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agocmake: added logic for building a tagged commit
Thomas Ingleby [Mon, 9 Jun 2014 18:14:03 +0000 (19:14 +0100)]
cmake: added logic for building a tagged commit

* If the HEAD is 0 away from a tag, i.e. if it has just been tagged,
  removes commit number from version

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agomaa: version bump to 0.2.8 v0.2.8
Brendan Le Foll [Mon, 9 Jun 2014 16:33:22 +0000 (17:33 +0100)]
maa: version bump to 0.2.8

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
9 years agocmake: added conflicts and replaces fields
Thomas Ingleby [Mon, 9 Jun 2014 13:49:35 +0000 (14:49 +0100)]
cmake: added conflicts and replaces fields

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agoipk: generated ipk named as libmaa{major version}
Thomas Ingleby [Mon, 9 Jun 2014 13:26:05 +0000 (14:26 +0100)]
ipk: generated ipk named as libmaa{major version}

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agoipk: rename end package to libmaa
Thomas Ingleby [Mon, 9 Jun 2014 13:14:11 +0000 (14:14 +0100)]
ipk: rename end package to libmaa

* change provides to follow yocto produced package

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
9 years agocmake: updated CPackDeb to use DEB outer compression.
Thomas Ingleby [Mon, 9 Jun 2014 12:20:11 +0000 (13:20 +0100)]
cmake: updated CPackDeb to use DEB outer compression.

* Additional fields added to CMakeLists

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
10 years agopackage.json: add extra info about module license and runtime support
Brendan Le Foll [Wed, 4 Jun 2014 14:37:00 +0000 (15:37 +0100)]
package.json: add extra info about module license and runtime support

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
10 years agomaa: add maa_set_priority call
Brendan Le Foll [Wed, 4 Jun 2014 13:39:41 +0000 (14:39 +0100)]
maa: add maa_set_priority call

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
10 years agocmake: install python & node.js modules correctly
Brendan Le Foll [Wed, 4 Jun 2014 11:06:04 +0000 (12:06 +0100)]
cmake: install python & node.js modules correctly

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
10 years agoCPackDeb.cmake: update to use opkg-buld
Brendan Le Foll [Wed, 4 Jun 2014 11:05:02 +0000 (12:05 +0100)]
CPackDeb.cmake: update to use opkg-buld

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
10 years agomaa: add make package using CPack, generates IPK
Thomas Ingleby [Tue, 3 Jun 2014 12:29:28 +0000 (13:29 +0100)]
maa: add make package using CPack, generates IPK

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
10 years agoapi: add proper doxygen comments to C++ headers and normalise doc
Brendan Le Foll [Fri, 30 May 2014 16:10:52 +0000 (17:10 +0100)]
api: add proper doxygen comments to C++ headers and normalise doc

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
10 years agoDoxyfile.in: remove deprecated options in doxygen 1.8
Brendan Le Foll [Fri, 30 May 2014 16:09:54 +0000 (17:09 +0100)]
Doxyfile.in: remove deprecated options in doxygen 1.8

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
10 years agoswig: use C++ generated class doc and include directly from maa.i
Brendan Le Foll [Fri, 30 May 2014 09:28:21 +0000 (10:28 +0100)]
swig: use C++ generated class doc and include directly from maa.i

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
10 years agodoxy2swig.py: explicitly set to use python2
Brendan Le Foll [Fri, 30 May 2014 08:58:34 +0000 (09:58 +0100)]
doxy2swig.py: explicitly set to use python2

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
10 years agoDoxygenLayout.xml: make C++ doc order a little like the C doc
Brendan Le Foll [Fri, 30 May 2014 08:53:20 +0000 (09:53 +0100)]
DoxygenLayout.xml: make C++ doc order a little like the C doc

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
10 years agoDoxyfile.in: remove include dir from INPUT path
Brendan Le Foll [Fri, 30 May 2014 08:52:05 +0000 (09:52 +0100)]
Doxyfile.in: remove include dir from INPUT path

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
10 years agoMerge branch 'gpio-mem'
Thomas Ingleby [Thu, 29 May 2014 15:36:43 +0000 (16:36 +0100)]
Merge branch 'gpio-mem'

10 years agommap: added mmap io to gpio
Thomas Ingleby [Thu, 29 May 2014 15:30:07 +0000 (16:30 +0100)]
mmap: added mmap io to gpio

* added function to gpio to use mmap
* changed board definition format around mmap io (fast-gpio)
* Intel Galileo Rev D updated to follow changed definitions

* Example performing mmap io to pin 2 added.

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
10 years agodocs: Add docs/ folder with in depth topics as well as DoxygenLayout.xml file
Brendan Le Foll [Thu, 29 May 2014 13:51:38 +0000 (14:51 +0100)]
docs: Add docs/ folder with in depth topics as well as DoxygenLayout.xml file

* C headers now have @briefs and include examples
* Examples have altered 'Interesting' Sections

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
10 years agocmake: version bump to 0.2.7 v0.2.7
Brendan Le Foll [Wed, 28 May 2014 10:01:00 +0000 (11:01 +0100)]
cmake: version bump to 0.2.7

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>