Petre Eftime
0071039fa0
intel_galileo_rev_g.c: Fix uninitialized subplatform on Galileo Gen2
...
Signed-off-by: Petre Eftime <petre.p.eftime@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-09-15 15:26:16 +01:00
Brendan Le Foll
07343e2ee7
mraa: Remove global advance_func struct and place it in platform configuration
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-09-08 14:42:04 +01:00
Henry Bruce
5740e46ae0
x86: advance_func now stored in mraa_board_t instance
...
Signed-off-by: Henry Bruce <henry.bruce@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-09-08 14:42:03 +01:00
Brendan Le Foll
f080a74497
gpio: all gpio enums prefixed with _mraa
...
Enum C types for gpio where not all prefixed with mraa correctly, now fixed
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-07-01 10:59:03 +01:00
Thomas Ingleby
1ef71bb370
x86: Galileo Gen 2: add ftdi header serial
...
Closes #138
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2015-06-29 20:09:45 +01:00
Brendan Le Foll
ffcf3d7d07
clang-format: run clang-format on C/C++ code
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-03-23 15:15:48 +00:00
Thomas Ingleby
53a9a7dce4
internal/platform_name: move to const char*
...
Instead of plain char* to avoid need to malloc and do all the needed
error checking needed that goes along with that.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2015-01-21 15:35:54 +00:00
Thomas Ingleby
25bd897ec5
uart: use const char* instead of plain char*
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2015-01-20 17:14:12 +00:00
Thomas Ingleby
9cfbc87924
uart: add function mraa_uart_get_dev_path
...
Used for getting the path to the character device under linux for uart
device. i.e. "/dev/ttyS0"
Adds paths to existing platforms.
Closes #84
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2015-01-20 16:08:49 +00:00
Thomas Ingleby
a76061a981
x86/galileo_gen2: correct mistake on IO11 for SPI
...
Fixes #89
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2015-01-09 16:47:01 +00:00
Kurt Eckhardt
bc05ce7078
x86/galileo-gen2: Speed up mraa_gpio_dir
...
Made like changes to Edison to cache the output enable.
Note: different than Edison as the pin structure holds enable pin number
instead of external array.
2nd note: noticed PU resistors are also in structure but there is also
external array.
Signed-off-by: Kurt Eckhardt <kurte@rockisland.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-12-19 14:40:02 +00:00
Thomas Ingleby
f7256f1d5b
x86/galileo-gen2: correct SPI MOSI mux info
...
Fixes #67
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-12-12 20:41:00 +00:00
Thomas Ingleby
79afd9173a
x86: move x86 platform include files into own directory
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-12-08 15:32:42 +00:00
Thomas Ingleby
b0a21e2c30
arch: initial framework for supporting other architectures added.
...
x86: all platforms moved into x86 directory
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-12-08 15:32:42 +00:00