Brendan Le Foll
44f55cfdc8
mraa: update description of libmraa
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-30 11:49:06 +01:00
Thomas Ingleby
5c48f2a885
intel_galileo_rev_g: change enable pin for SPI MISO
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-30 11:10:28 +01:00
Thomas Ingleby
eaa395d99c
doc: fix formatting on platform-hooks
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-27 15:46:51 +01:00
Thomas Ingleby
d0ea43f8d1
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 >
2014-06-27 15:37:48 +01:00
Thomas Ingleby
b6c56911c3
intel_galileo_rev_g: fix pwm on IO5
...
* Incorrect mapping.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-26 18:55:38 +01:00
Thomas Ingleby
88de5b9c35
gpio: remove direction error printing
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-26 18:38:13 +01:00
Brendan Le Foll
b36321ac50
blink_onboard.c: fix compilation warnings
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-26 15:07:17 +01:00
Brendan Le Foll
c821c84e4a
mraa: pymraa becomes mraa and mraajs becomes mraa
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-25 17:49:07 +01:00
Thomas Ingleby
e5c7e64cf3
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 >
2014-06-25 17:32:41 +01:00
Thomas Ingleby
9a81b043be
aio: minor formatting fix
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-25 14:58:15 +01:00
Thomas Ingleby
09b8663a7e
gpio: add mmap enable function to cpp headers
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-25 11:14:20 +01:00
Thomas Ingleby
d47364189d
maa: update to 0.4.0
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-25 09:19:35 +01:00
Thomas Ingleby
3335c753f9
ipk: replace existing maa if installed
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-25 09:16:21 +01: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
Brendan Le Foll
79d0da4853
maa: change complex C++ write calls to CamelCase for spi & i2c
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-24 14:42:24 +01:00
Brendan Le Foll
2664d7c0e0
hello_isr.py: add license header
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-24 14:41:41 +01:00
Brendan Le Foll
ad140c9511
maa.i: remove invalid typemaps to char* and include carrays
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-24 14:41:00 +01:00
Brendan Le Foll
17edeb3e7a
i2c.hpp: add I2c::writeReg method
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-24 14:40:34 +01:00
Thomas Ingleby
a5aeea4d04
maa: remove unnecessary printing
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-23 11:39:09 +01:00
Thomas Ingleby
d8c45bf6de
maa: remove dev printing
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-20 18:27:44 +01:00
Brendan Le Foll
48f7b0695d
blink_onboard.c: add missing blink onboard example
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-20 18:18:05 +01:00
Brendan Le Foll
475a692638
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 >
2014-06-20 18:00:19 +01:00
Brendan Le Foll
5723e356db
maa.c: complain if we didn't detect a valid platform
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-20 16:46:05 +01:00
Thomas Ingleby
2989df3a13
maa: update to 0.3.1
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-20 16:34:11 +01:00
Thomas Ingleby
3e88578754
pwm: disable pwm before unexporting
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-20 16:26:08 +01:00
Thomas Ingleby
f035dcd341
Merge branch 'gen2'
2014-06-20 16:22:27 +01:00
Thomas Ingleby
29171b7816
intel_galile_rev_g: pinmap add definition for io.
...
* PWM working
* SPI working
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-20 16:20:30 +01:00
Thomas Ingleby
11486368b1
gpio: no printing to stderr on direction change.
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-20 16:19:59 +01:00
Kiveisha Yevgeniy
6fbe2a7e53
gpio: Added args param to maa_gpio_isr and added documentation
...
Signed-off-by: Kiveisha Yevgeniy <yevgeniy.kiveisha@intel.com >
2014-06-19 16:23:43 +00:00
Thomas Ingleby
76971c6b0b
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 >
2014-06-19 13:54:19 +01:00
Brendan Le Foll
84d1e3ba25
I2c-compass.cpp: fix example to use HMC5883L_CONT_MODE
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-18 09:59:50 +01:00
Thomas Ingleby
4c9b7a2208
intel_galileo_rev_g: Complete initial pinmap
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-17 20:16:03 +01:00
Thomas Ingleby
fa4a302398
maa: add support for enabling pins and pulldowns
...
* Not Complete
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-17 20:15:36 +01:00
Thomas Ingleby
ea88358164
intel galile rev g: change name from gen2 to revg
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-17 09:42:55 +01:00
Brendan Le Foll
27624289ec
gen2: add basic galileo gen2 detection
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-16 18:46:31 +01:00
Brendan Le Foll
fa1e81380b
intel_galileo_rev_d.c: change magic number to macro in header
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-16 18:45:43 +01:00
Brendan Le Foll
93acdf3789
maa.i: add typemaps for uint8_t and uint8_t*
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-13 17:53:21 +01:00
Brendan Le Foll
4a0c76c1a0
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 >
2014-06-13 17:52:59 +01:00
Brendan Le Foll
ba102b2526
maa: update to 0.3.0
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-13 10:30:27 +01:00
Brendan Le Foll
d1f39525ec
maa.i: add typemap for unsigned char* to char*
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-13 10:30:01 +01:00
Brendan Le Foll
3f2163a9b9
CMakeLists.txt: install headers in include/maa
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-13 10:16:37 +01:00
Brendan Le Foll
116d437a79
example.js: make require path follow NODE_ENV and NODE_PATH
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-12 09:54:51 +01:00
Brendan Le Foll
2d12e3bd1c
example.js: fix example to use up to date API
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-12 07:59:06 +01:00
Brendan Le Foll
6e4f8b085f
maa: make common.h header to replace maa.h header to simplify includes
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-11 14:28:28 +01:00
Brendan Le Foll
fdfafa5626
README.md: make more github friendly readme and move to docs/
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-11 14:16:47 +01:00
Brendan Le Foll
ab071e64de
i2c: make maa_i2c_read always return the length of the read
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-11 10:49:23 +01:00
Thomas Ingleby
be1248930b
js-swig: remove whitespace
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-10 20:17:09 +01:00
Brendan Le Foll
0cfea290c6
maa: update to version 0.2.9
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-10 16:47:37 +01:00
Brendan Le Foll
faedfce419
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 >
2014-06-10 16:47:37 +01:00
Thomas Ingleby
f1a0e9825e
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 >
2014-06-09 19:19:16 +01:00