Brendan Le Foll
04017cd5d9
gpio.c: fix styling of functions
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-04-23 09:30:27 +01:00
Brendan Le Foll
09b31759f4
i2cslave.h: fix line endings
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-04-23 09:28:48 +01:00
Brendan Le Foll
173b81c206
gpio.c: simplify gpio_get_valfp and make static
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-04-23 09:28:04 +01:00
Brendan Le Foll
f5c1a39530
mbed: remove straggling files
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-04-22 15:55:42 +01:00
Brendan Le Foll
184b94e9e5
examples: make C++ examples follow src/ extension convention
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-04-22 15:54:34 +01:00
Brendan Le Foll
aee2087a42
maa: general licensing + styling cleanup
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-04-22 15:51:28 +01:00
Brendan Le Foll
f011102ce6
basic HMC5883L magnometer sample
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-04-22 15:32:22 +01:00
Brendan Le Foll
ac131e1e17
i2cslave: basic working implimentation
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-04-22 15:32:20 +01:00
Brendan Le Foll
44b43c5063
i2c: fix license header
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-04-22 15:18:43 +01:00
Thomas Ingleby
485e4e9bdd
pwm: Add missing include
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-04-14 17:17:33 +01:00
Thomas Ingleby
36a15d5ed5
Merge branch 'pwm' into for-pull
2014-04-14 17:16:30 +01:00
Thomas Ingleby
53b521e864
Merge branch 'gpio' into for-pull
2014-04-14 17:15:55 +01:00
Thomas Ingleby
791c4b4d71
gpio: Tempory fix when changing direction
...
* Added unexport feature
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-04-14 17:13:31 +01:00
Thomas Ingleby
2d074c2ca3
pwm: Added python example script
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-04-14 17:07:24 +01:00
Thomas Ingleby
fbd863ca39
pwm: Fully Functional.
...
* C++ example included
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-04-14 16:55:19 +01:00
Thomas Ingleby
5c2235dc0c
pwm: Completed functions:
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-04-14 14:40:40 +01:00
Thomas Ingleby
cb92c892cf
pwm: Refined API. Work towards functionality
...
* Private functions added
* Added to CMakeLists
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-04-14 13:10:53 +01:00
Thomas Ingleby
f54e537d64
pwm: Added API for PWM.
...
* Added include line on main maa header to include PWM definitions.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-04-14 11:05:52 +01:00
Brendan Le Foll
e689c4dd39
i2cslave.cxx: add undefined method stub that stopped swig working
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-04-11 18:43:46 +01:00
Thomas Ingleby
40438d709a
gpio: Add cpp example to use IO.
...
* Patch direction setting
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-04-11 17:57:53 +01:00
Brendan Le Foll
2c07ad9260
readi2c: modify examples to use I2CSlave api
2014-04-11 17:06:24 +01:00
Brendan Le Foll
6bf02cf25e
Merge branch 'gpio' of github.com:tingleby/maa into tingleby-gpio
2014-04-11 16:19:18 +01:00
Thomas Ingleby
e64ffcf77d
gpio: gpio in/out both work
...
* Python example included.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-04-11 15:55:01 +01:00
Brendan Le Foll
7eb9fa64a9
i2cslave: first possibly working implementation of i2cslave api
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-04-11 15:46:27 +01:00
Brendan Le Foll
84beaf2c05
i2cslave: add i2cslave api and basic non functional implementation
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-04-11 15:27:43 +01:00
Brendan Le Foll
e471a3055e
i2c.cxx: remove unecessary include
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-04-11 15:26:58 +01:00
Brendan Le Foll
cf8351fd81
README: update doc
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-04-11 15:26:28 +01:00
Thomas Ingleby
6d13a41c96
gpio: get file handle if none exists
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-04-11 13:33:46 +01:00
Brendan Le Foll
0504d0310e
i2c.cxx: add functionality to write to i2c
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-04-11 11:51:40 +01:00
Thomas Ingleby
aa2ed728be
gpio: work done to export,read,write to gpio
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-04-11 11:41:48 +01:00
Thomas Ingleby
5168538894
gpio: modified api to include close.
...
Add file descriptor to gpio_t
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-04-11 09:05:04 +01:00
Brendan Le Foll
e59b8b2038
gpio: enable very basic gpio control from swig
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-04-10 18:00:57 +01:00
Brendan Le Foll
72f249fce1
gpio: cleanup of initial gpio work and add to CMakeLists.txt
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-04-10 16:59:17 +01:00
Brendan Le Foll
a5764d72dd
Merge branch 'gpio' of github.com:tingleby/maa into tingleby-gpio
2014-04-10 16:56:34 +01:00
Brendan Le Foll
9994ea855c
maa: Refactor maa build system and partly implement i2c
...
* API headers moved to api/
* smbus file added from libi2c and kernel i2c header cleaned up
* fix compilation of swig and use i2c.h header
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-04-10 16:53:19 +01:00
Thomas Ingleby
9556b12e9d
gpio: gpio header refined and work on implemtation
2014-04-10 16:05:11 +01:00
Thomas Ingleby
0cf2aa573b
gpio: add initial gpio header
2014-04-10 15:33:32 +01:00
Brendan Le Foll
8b715745fc
tests: add initial unit test env
2014-04-10 11:07:05 +01:00
Brendan Le Foll
b7d42d470f
maa.i: remove dependancy on -includeall and specifiy which headers to include in maa.i
2014-04-10 11:05:40 +01:00
Brendan Le Foll
0ec04b6fd3
examples: fix include path
2014-04-10 11:04:02 +01:00
Brendan Le Foll
2df6cd78ac
README: add basic documentation
2014-04-08 18:52:54 +01:00
Brendan Le Foll
00ba95bac0
maa: Initial commit of maa, a python and nodejs I2C skeleton only
2014-04-08 18:45:30 +01:00