Private
Public Access
2
0
Commit Graph

387 Commits

Author SHA1 Message Date
Thomas Ingleby
e7bb0d8f25 edison: add analog input support
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-09-09 17:29:42 +01:00
Brendan Le Foll
0ed1508315 aio.c: fix ordering of comparison operator
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-09-09 17:29:40 +01:00
Brendan Le Foll
ad4c42ee93 intel_edison_fab_c.c: simplify invalid return in mraa_intel_edison_gpio_init_post
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-09-09 17:29:36 +01:00
Thomas Ingleby
995565b2e1 edison: added i2c support on bus 6
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-09-09 17:28:43 +01:00
Thomas Ingleby
57bd8d5b5d edison: add i2c bus definitions
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-09-09 17:28:43 +01:00
Thomas Ingleby
f9e6a6efd4 i2c: disallow non allowed i2c buses
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-09-09 17:28:43 +01:00
Thomas Ingleby
9a60d2ee63 i2c: boost max defined buses to 12.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-09-09 17:28:43 +01:00
Thomas Ingleby
167765098b edison: add gpio definitions.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-09-09 17:28:43 +01:00
Thomas Ingleby
011ce1d196 edsion: add logic to handle tristate around directions
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-09-09 17:28:43 +01:00
Thomas Ingleby
eba959e5f6 edison: add edison specific logic
* Board definition started

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-09-09 17:28:43 +01:00
Thomas Ingleby
e602460688 hook: move gpio init post hook
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-09-09 17:28:43 +01:00
Thomas Ingleby
5766b03068 intel_edision_fab_c: renamed from fab_b
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-09-09 17:28:43 +01:00
Brendan Le Foll
854585ef49 gpio.c: styling - remove tabs
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-09-09 17:28:28 +01:00
Thomas Ingleby
cb63c2782e edison: add edison detection
* Will look for BODEGA BAY or SALT BAY

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-09-09 17:13:22 +01:00
Thomas Ingleby
c9c1735e42 intel_edison_fab_b: initial board definition
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-09-09 17:13:18 +01:00
Brendan Le Foll
fffb74b6b7 DoxygenLayout.xml: move akward dep graph to the bottom
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-09-07 21:20:24 +01:00
Brendan Le Foll
2687e5a7c4 docs: add common i2c doc page i2c.txt
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-09-07 21:20:06 +01:00
Thomas Ingleby
82041b3635 cpack: add tgz generator
* Used by build system to create copy compiled assests

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-09-05 13:09:32 +01:00
Brendan Le Foll
5e85606e38 mraa: update to version 0.4.5
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-09-03 09:34:30 +01:00
Brendan Le Foll
54dfe903bb docs: remove references to C++ as docstrings used by sphinx
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-09-03 09:33:29 +01:00
Brendan Le Foll
0d04677c98 uart: add C++ Uart module and links to swig
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-09-03 09:30:49 +01:00
Thomas Ingleby
111544a764 gen 2: add hook for handling modes for gpio
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-09-02 14:46:48 +01:00
Brendan Le Foll
3ef520c1d4 docs: add references to galileo generation
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-09-01 23:19:24 +01:00
Brendan Le Foll
21b65f5eb1 common.hpp: fix documentation of functions
Functions inside namespace are tough to document, bypassing this by documenting
the namespace and then using the namespace doc as common.hpp doc in the index

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-09-01 23:18:51 +01:00
Mark Ceisel
9cf6cad45a pwm: add config_ms and config_percent.
* Allows user to set both at the same time. Will reset to previous if
* period for duty cycle fails to write

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-09-01 12:18:01 +01:00
Thomas Ingleby
a8bbd55562 pwm: rename internal functions from get to read
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-09-01 11:30:58 +01:00
Thomas Ingleby
3f1dff163c spi: if platform has one spidev, defaults to it.
* Removes complexity on some platforms.

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-08-26 13:55:58 +01:00
Brendan Le Foll
0c53b90c09 mraa: update to version 0.4.4
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-08-15 10:58:58 +01:00
Dan Yocom
99bc1392e4 javascript: added basic examples to mraa
Signed-off-by: Dan Yocom <dan.yocom@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-08-15 10:19:23 +01:00
Brendan Le Foll
22a3551bf8 common.hpp: add ADC bitness calls to C++ api
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-08-14 14:21:03 +01:00
Brendan Le Foll
8d095e1002 README.md: add repo instructions
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-08-14 11:41:13 +01:00
Brendan Le Foll
87f87c4524 README.md: improve github front page doc
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-08-14 11:29:55 +01:00
izard
450ebdeca8 docs: Fixed typos
Signed-off-by: izard <alexander.komarov@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-08-13 14:24:18 +01:00
Brendan Le Foll
fa06e7e81f docs: add supported platforms
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-08-12 17:16:10 +01:00
Brendan Le Foll
df05dc58ca spi: prefix SPI mode with MRAA_SPI_
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-08-08 09:32:28 +01:00
Thomas Ingleby
3320105662 mraa: update to version 0.4.3
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-08-06 16:22:47 +01:00
Kiveisha Yevgeniy
998095d802 spi: added spi mode to mraa
Signed-off-by: Kiveisha Yevgeniy <yevgeniy.kiveisha@intel.com>
2014-08-06 11:40:51 +00:00
Brendan Le Foll
551e553894 example.rst: improve and fill out python documentation
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-08-05 10:58:16 +01:00
Brendan Le Foll
9765aa9bce i2c_HMC5883.py: add python I2c.read() example
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-08-05 10:44:43 +01:00
Brendan Le Foll
e7bda80013 i2c.hpp: new read() variant that returns terminated std::string
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-08-05 10:18:14 +01:00
Brendan Le Foll
9d488c8e86 mraa.c: fclose on NULL fp can segfault on some platforms
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-08-01 11:36:10 +02:00
Brendan Le Foll
1b2ff8af55 sphinx: update python module documentation to reflect latest changes
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-07-31 10:25:24 +02:00
Brendan Le Foll
9b6d67aa87 i2c.hpp: add read(size_t length) function useful in scripting languages
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-07-31 10:14:57 +02:00
Brendan Le Foll
3925724464 i2c.hpp: overload read() function, this renames readByte
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-07-31 10:14:22 +02:00
Brendan Le Foll
31c0eb33e5 i2c_HMC5883.py: add i2c read & write example
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-07-29 16:02:42 +02:00
Brendan Le Foll
11f1f784c7 rgblcd.py: fix example to use 0xFF and not 0x255 which is out of bounds
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-07-29 12:16:27 +02:00
Brendan Le Foll
662bf67dc6 spi.c: destructor now freeing memory
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-07-28 16:40:55 +02:00
Brendan Le Foll
c977a6d19c gpio.c: close fd in mmap function
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-07-28 16:39:00 +02:00
Thomas Ingleby
b6358b5e7e gen2: fix typo on A5 GPIO pinmap
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
2014-07-25 02:56:14 +01:00
Brendan Le Foll
8e33ad3f34 galileorevh.md: add initial revH doc
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-07-24 16:59:53 +01:00