Alex Tereschenko
30bbb88685
mraa.c/x86.c: use exact match in strncmp() to avoid surprises
...
Closes #736 .
Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2017-06-21 14:12:30 +02:00
Brendan Le Foll
a0332b14b5
Revert "x86.c: add NUC5i7RYB to the list of known NUC5 platforms"
...
This reverts commit 2f51627d18 .
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2017-05-12 01:23:58 -07:00
Mihai Tudor Panu
2f51627d18
x86.c: add NUC5i7RYB to the list of known NUC5 platforms
...
While the NUC5i7RYB doesn't provide any built-in IO, this change will at least allow it to be used with a subplatform from IDEs that filter out unknown devices (e.g. Intel XDK).
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2017-04-19 15:31:07 -07:00
Wai Lun
0092e13f57
Joule: Update references to the Intel Joule
...
GT/GrosseTete -> Joule. This commit deprecates the MRAA_INTEL_GT_TUCHUCK
mraa_platform_t value and links the grossetete.md page to joule.md.
Signed-off-by: Wai Lun Poon <wai.lun.poon@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2017-02-27 18:06:40 +01:00
SaschaWeisenberger
be22844922
src/x86/x86.c: add support for Siemens SIMATIC IOT2000
...
The Siemens device "SIMATIC IOT2000" is identical to the Intel Galileo
Gen 2 regarding the gpios. So if the board name is "SIMATIC IOT2000"
treat the board as if it is Galileo Gen 2.
Signed-off-by: Sascha Weisenberger sascha.weisenberger@siemens.com
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-09-27 13:08:44 +01:00
Alex Tereschenko
f9bc314223
x86.c: fixed typo in Tuchuck board forced enablement
...
Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-06-27 11:43:38 +01:00
Brendan Le Foll
0577321f4c
intel_gt: add support for gt + Tuchuck board
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-06-23 16:16:38 +01:00
Dan O'Donovan
2b73083955
up: adding option to build for UP platform only
...
Adding cmake option to build for UP platform only:
-DMRAAPLATFORMFORCE=MRAA_UP
Signed-off-by: Dan O'Donovan <dan@emutex.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-02-24 15:10:20 +00:00
Dan O'Donovan
f9501c5c78
up: add support for UP Board
...
Add support for UP board (www.up-board.org), scoping
the following functions available via 40-pin header:
* GPIO (via sysfs)
* UART
* I2C
* SPI
* PWM
Validated on UP board v0.2, running ubilinux 3.0
Signed-off-by: Dan O'Donovan <dan@emutex.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-02-24 15:10:20 +00:00
Karena Anum Kamaruzaman
084883c210
Enable CherryHills (Braswell) support for GPIO
...
Enable the GPIOs for Cherryhills (Braswell).
Signed-off-by: Karena Anum Kamaruzaman <karena.anum.kamaruzaman@intel.com >
Signed-off-by: Constantin Musca <constantin.musca@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-02-05 15:47:35 +00:00
Brendan Le Foll
bdb5ef66e9
mraa.c: Add mraa_get_platform_version call
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-01-21 15:28:03 +00:00
Bruce Beare
7e302242db
x86.c: Add MinnowBoard Turbot initialization
...
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com >
Signed-off-by: Constantin Musca <constantin.musca@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-01-13 14:03:23 +00:00
Brendan Le Foll
79609ba359
mraa: Remove executable bit from a few files
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-12-21 15:23:30 +00:00
Brendan Le Foll
27c097e82e
x86.c: Fix include for sofia 3gr platform missing
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-12-21 15:18:44 +00:00
Lay, Kuan Loon
4ffb094063
SoFIA 3GR: Add SoFIA 3GR platform with i2c support
...
Add SoFIA 3GR platform file and define 4 i2c controller.
Signed-off-by: Lay, Kuan Loon <kuan.loon.lay@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-12-17 11:28:22 +00:00
Brendan Le Foll
2dd94cda3b
cmake: enable settign of MRAAPLATFORMFORCE to reduce libmraa.so size
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-12-03 12:20:15 +00:00
Evan Steele
e2aaa349ff
minnowboardmax: Add support for compatible boards
...
Signed-off-by: Evan Steele <evan.steele@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-09-15 15:38:46 +01:00
Brendan Le Foll
f95f2d8b35
nuc5: Add i2c support for intel 5th generation NUC
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-09-03 11:23:35 +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
Brendan Le Foll
10f450b3f6
x86.c: unknown init now returns MRAA_UNKNOWN_PLATFORM
...
This stops the legacy beahviour that was to initialise as a gen1 galileo if we
failed to find a valid dmi name. Closes #142
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-03-01 10:12:06 +00:00
Alex Tereschenko
e68546ad85
x86.c/mraa_x86_platform: added dedicated block for Galileo Gen1 init
...
Closes #99 .
Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com >
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2015-01-26 15:16:32 +00:00
Brendan Le Foll
4e5991779a
cov: add some explicit includes that where missing
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-01-20 17:15:13 +00:00
Brendan Le Foll
219eeed5f8
x86.c: remove duplicate case statement
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2001-01-01 02:53:16 +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