projects
/
contrib
/
mraa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82d3615
)
intel_galileo_rev_d: Update to new board definition
author
Thomas Ingleby
<thomas.c.ingleby@intel.com>
Fri, 2 May 2014 13:57:55 +0000
(14:57 +0100)
committer
Thomas Ingleby
<thomas.c.ingleby@intel.com>
Fri, 2 May 2014 13:57:55 +0000
(14:57 +0100)
* Added SPI and I2C information
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
src/intel_galileo_rev_d.c
patch
|
blob
|
history
diff --git
a/src/intel_galileo_rev_d.c
b/src/intel_galileo_rev_d.c
index
ae64f45
..
1def06b
100644
(file)
--- a/
src/intel_galileo_rev_d.c
+++ b/
src/intel_galileo_rev_d.c
@@
-37,6
+37,13
@@
maa_intel_galileo_rev_d()
b->gpio_count = 14;
b->aio_count = 6;
b->pwm_count = 5;
+
+ b->i2c_bus_count = 1;
+ b->i2c_bus[0] = 0;
+
+ b->spi_bus_count = 1;
+ b->spi_bus[0] = 1.0;
+
b->pins = (maa_pininfo_t*) malloc(sizeof(maa_pininfo_t)*25);
//GPIO