Age | Commit message (Collapse) | Author |
|
Change-Id: Icc7b09dd98259b5433155e8ab43f25412079caf4
|
|
am: 30688bbe0f
* commit '30688bbe0fe1b07407c033d07ed7e3d49a9fb22c':
sensors: use Autolock instead of mutex methods
|
|
am: 017e5df408
* commit '017e5df408ad372efd8897eb24575d69a824281e':
sensors: make the HAL thread safe
|
|
am: 9178ce05cb
* commit '9178ce05cb05831817580fc11fb7b20bc2031319':
sensors: add missing checks and fix the pollEvents comments
|
|
am: f39cee21fe
* commit 'f39cee21fe73ee76b8d5f5ef5bc9746ac1d992f3':
light: add support for Minnowboard Turbot
|
|
am: b5f08bc6ec
* commit 'b5f08bc6ec135c729fb522362190825e74ae6f1e':
libmraa: minnow: include Turbot additions
|
|
am: 6b1611a178
* commit '6b1611a178516c059b80b1fecb9bbea070a00d0d':
libmraa: sync wih upstream (SHA1: 8b68f3)
|
|
am: b5ef216653
* commit 'b5ef2166532e4436fefb8256cc088bac2dc4df82':
mraa based ledflasher application
|
|
BUG=none
Change-Id: I2033254032a0d8bdf1bd2342920ca8061c282722
Signed-off-by: Mihai Serban <mihai.serban@intel.com>
|
|
According to the Sensors HAL interface documentation, the implementation
must be thread safe and allow functions defined in sensors.h to be called
from different threads at the same time.
Use a mutex to synchronize the HAL. In addition, initialize the acquisition
pipes with the O_NONBLOCK flag to return immediately in case another tread
which calls poll() reads the data.
Put the read pipe call in a loop as the read system call might return a number
less than the number of requested bytes.
BUG=none
Change-Id: I6ee3f8e0c2ba19942da8b82da1660c9163c5d237
Tracked-On: https://jira01.devtools.intel.com/browse/BP-247
Signed-off-by: Constantin Musca <constantin.musca@intel.com>
|
|
Check the returned value in the missing places.
Fix the pollEvents comments to match the behavior of the
sensors.h poll function.
BUG=none
Change-Id: Iee2c14b8c7155584b6edf84705096d3007ba22bc
Tracked-On: https://jira01.devtools.intel.com/browse/BP-250
Signed-off-by: Constantin Musca <constantin.musca@intel.com>
|
|
Minnowboard Turbot has the D2 LED under GPIO control.
Associate the Notification light with D2.
Refactor the code to identify board versions using mraa_get_platform_version.
The D2 LED present on Minnowboard Turbot turns on if
the GPIO is set to 0 and off otherwise.
Apply value inversion so that 1 means that the light
is turned on.
BUG=none
Change-Id: I5c097da6969de8780e26266b5f74d2dd6bb90ae2
Tracked-On: https://jira01.devtools.intel.com/browse/BP-243
Signed-off-by: Constantin Musca <constantin.musca@intel.com>
|
|
The pinout for the Low Speed Expansion on the MinnowBoard
Turbot is the same as the MinnowBoard MAX A2 design, with
the exception of pin 26. Pin 26 was changed to provide an MCLK
reference clock for I2S.
In addition, the D2 LED is now under GPIO control.
Add support for these changes.
BUG=none
Change-Id: Id3153af731a32afbc7b1b69c8ccab909f48ef4b0
Tracked-On: https://jira01.devtools.intel.com/browse/BP-244
Signed-off-by: Constantin Musca <constantin.musca@intel.com>
|
|
URL: https://github.com/intel-iot-devkit/mraa
Branch: master
SHA1: 8b68f3040e8a3e9706e52636f194082dd47d75aa
BUG=none
Change-Id: I5219ddf6c53325aca3ce25789c0c08996ece277a
Tracked-On: https://jira01.devtools.intel.com/browse/BP-242
Signed-off-by: Constantin Musca <constantin.musca@intel.com>
|
|
BUG=none
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Change-Id: I0c14b4ad8c1d5afb401f63f94073bad8e5f24480
|
|
am: db39788be4
* commit 'db39788be42272576056e36b1335be947c3b9d06':
Remove prefix in adb serial
|
|
The ${ro.serialno} variable now contains the product name as well, which
is set by uboot.
BUG=26676196
Change-Id: Id92885eaa5befebcc2bfde084a4ce2b9398da29e
Tracked-On: https://jira01.devtools.intel.com/browse/BP-159
Signed-off-by: Eduard Lataretu <eduard.lataretu@intel.com>
Signed-off-by: Stefan Stanacar <stefan.stanacar@intel.com>
|
|
am: 9b83cff5cc
* commit '9b83cff5cc85a13bad9d54a9c761a63e769cb4d9':
edison: audio DEVICE_PACKAGES moved to peripheral.mk.
|
|
am: d29449ddd2
* commit 'd29449ddd2a165389723aede7d49e66a8baa682f':
Audio HAL supports both generic audio and USB
|
|
am: 46a39e59c9
* commit '46a39e59c98a9b8346cf742c77483bbd0bdb000a':
libmraa: Fix typo in roadnarrows license url
|
|
am: a73d756d9f
* commit 'a73d756d9fced0c084dff267572c26d3330cb8f6':
SparkFun OLED: use default I2C bus
|
|
am: ee70559bf3
* commit 'ee70559bf3308708bc29b7765775fe389ab68948':
Grove LCD: use default I2C bus
|
|
BUG=none
Tracked-On: https://jira01.devtools.intel.com/browse/BP-175
Change-Id: I53adbb160fa44b5ef9b046973a8bd924619a2c6d
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
|
|
Renames the audio hal from usb to generic.
Adds flags and ifdefs to change between primary audio and usb audio.
Creates primary/ and usb/ directories for the .mk and config
files for different output devices.
BUG=none
Change-Id: I9f8f8ce8dd43f6bfca1be0276f88f5ba917288d9
Tracked-On: https://jira01.devtools.intel.com/browse/BP-175
Signed-off-by: teng jin chung <jin.chung.teng@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
|
|
libmraa: FROM_UPSTREAM: i2c/LICENSE: Fix typo in roadnarrows url
BUG=26402025
Change-Id: Ib0aba7ad7f62fd3dbca96dfc9ed3761c58865624
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Signed-off-by: Constantin Musca <constantin.musca@intel.com>
|
|
BUG=none
Change-Id: Iaf1055963f30ccace95116d41c6fb9f4286ee342
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
|
|
BUG=none
Change-Id: Idf6d4e2a0c6d285bd2982ec58b61bade1a464668
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
|
|
am: 11d79872a0
* commit '11d79872a048c82d44bebd252a11026d5fdb3745':
Audio HAL now uses hal.mk
|
|
am: e52d15b6e1
* commit 'e52d15b6e1058e48bdb90b8de01f63162245d6b2':
Rename the gpio output example app
|
|
am: 5b95432c01
* commit '5b95432c01a78c364aa029b05eeddb570d1828f2':
light: mraa: missing field 'tv_nsec' initializer
|
|
am: b7266ac8aa
* commit 'b7266ac8aa6b0b090620c48dae68148f0f3fdabd':
Clean up light hal
|
|
am: 39bbf3e396
* commit '39bbf3e39686a35fbc19b1b9b3d2f1e03a8f72c6':
light: add support for Minnowboard Max
|
|
am: 2a67f2c7ba
* commit '2a67f2c7bad3e2a1fa11679c19d0d71c301fe6c1':
sensors: cleanup mraa sensor code
|
|
am: ff4b53d727
* commit 'ff4b53d72766ac6a0d38acbe114ebc5170324c3e':
sensors: SensorUtils: use mraa to get default i2c bus
|
|
miniboard from 6 to 1
am: 43c4d9da3d
* commit '43c4d9da3dad3eff534e1a161b33af0170f78264':
libmraa: FROM_UPSTREAM: intel_edison_fab_c.c: Change default i2c bus on miniboard from 6 to 1
|
|
Renames Android.mk to be hal.mk.
This requires a change in device/generic/google
BUG=none
Change-Id: I4a5aabd76bd02d35ba6a7f06652f9db6a20819e0
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
|
|
The mraa based GPIO output example is moved to the
mraa/gpio_output directory. A header file include is
also changed to pull in mraa.h instead of grove.h.
BUG=none
Tracked-On: https://jira01.devtools.intel.com/browse/BP-189
Change-Id: I6d3e56ce7a7cbf2eb3aa3ce3d7f44f716f10bffe
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
|
|
BUG=none
Change-Id: I51593d2b3deaeb05a37494f159ba7247e0cade45
Tracked-On: https://jira01.devtools.intel.com/browse/BP-188
Signed-off-by: Constantin Musca <constantin.musca@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
|
|
Rename light/edison_arduino to light/mraa given that light HAL
is not specific to the Edison platform.
Move Android.mk to hal.mk (requires change in device/generic/google)
LOCAL_MODULE uses $(TARGET_DEVICE) to allow it to be more general
BUG=none
Change-Id: I4f4bb5081e3f4267c61fa8adf9fc2346d2930799
Tracked-On: https://jira01.devtools.intel.com/browse/BP-188
Signed-off-by: Constantin Musca <constantin.musca@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
|
|
Use mraa_get_platform_type to detect the platform and
add support for Minnowboard Max.
BUG=none
Change-Id: Ib968f5f0662af09e525a4e0525aa1dbdf3fca36a
Tracked-On: https://jira01.devtools.intel.com/browse/BP-188
Signed-off-by: Constantin Musca <constantin.musca@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
|
|
Rename sensors/edison_arduino to sensors/mraa given that sensors HAL
is not platform specific. It depends on the mraa hardware support.
Move the Android.mk file to be hal.mk (requires recent change in
device/generic/google).
Change the LOCAL_MODULE use $(TARGET_DEVICE)
BUG=none
Change-Id: I2be3ac69ffa107e9787c163bf45010e5048f08ea
Tracked-On: https://jira01.devtools.intel.com/browse/BP-121
Signed-off-by: Constantin Musca <constantin.musca@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
|
|
BUG=none
Change-Id: I967971bd76a31bb042a456a7aa7c2b61d6538d45
Tracked-On: https://jira01.devtools.intel.com/browse/BP-187
Signed-off-by: Constantin Musca <constantin.musca@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
|
|
miniboard from 6 to 1
Since on most 3rd party breakout boards the i2c bus exposed is 1 and not 6, it
makes more sense to have that as the default i2c bus
Change-Id: I3d116af803505d921f2bf24a0897c62c35c562e8
Tracked-On: https://jira01.devtools.intel.com/browse/BP-183
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Signed-off-by: Constantin Musca <constantin.musca@intel.com>
Reviewed-on: https://android.intel.com/455284
Reviewed-by: Serban, Mihai <mihai.serban@intel.com>
|
|
Bug: 21656069
Change-Id: I921fbfc7659633c5549a4c3b8448c06e1d8093e5
|
|
The mraa library needs to be initialized to ensure that the
mappings are correctly loaded. A comment pointing to a
table with the GPIO mappings to MRAA parameters is also
added.
BUG=none
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Change-Id: I388be411516cd7df0745722b36812a246ef5886c
|
|
Rename "audio/edison" to "audio/usb"
given that USB audio HAL is not Edison specific
and might be used by several boards.
Change-Id: I2c86c33b3c3411dc16ccecb06cd168cfd796bcdc
Tracked-On: https://jira01.devtools.intel.com/browse/BP-115
Signed-off-by: Viorel Suman <viorel.suman@intel.com>
Reviewed-on: https://android.intel.com/451390
Tested-by: Branciog, Alexandru N <alexandru.n.branciog@intel.com>
Reviewed-by: Beare, Bruce J <bruce.j.beare@intel.com>
|
|
|
|
BUG=NONE
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Change-Id: I455f8e4e51d6a2e7945b54f3d51613294431ff6f
|
|
BUG=none
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Change-Id: Ib0af179086e335715a12cf7f5dc9621af89caca9
|
|
The Grove LCD RGB display is a monochrome LCD display
with a color backlight. This example program used libupm
to write a message on the display.
BUG=none
Change-Id: Ifdca7e48bf2431beeab45250b73115b4c399b263
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
|