Jon Trulson
f0fa6f7b68
utilities/101: Add 1 tick offset to nanotimer
...
In certain cases with the Arduino 101/Zephyr, using the upm_delay*()
functions can cause hangs and/or exceptions. Adding a single tick to
the generated offset resolves these issues.
The documentation warns that this is a good idea to ensure that a
timer does not expire early. Adding this made the random hangs and
CPU exceptions go away.
Signed-off-by: Jon Trulson <jtrulson@ics.com>
2016-09-30 17:05:15 -06:00
Jon Trulson
4b149313e6
bmi160: remove leftover debugging
...
Signed-off-by: Jon Trulson <jtrulson@ics.com>
2016-09-30 17:02:10 -06:00
Jon Trulson
0086626173
bmi160: add C driver and example. Add SPI support, other improvments.
...
This adds SPI support to the BMI160, as well as a C driver and a C
example. In addition, some changes were made to more properly detect
and handle errors.
Functions supplied by the bosch_bmi160 driver source code is also
exported and made available to callers who want more than what the
basic driver support. Bus access methods (I2C and SPI) are also now
exposed to both C and C++.
Signed-off-by: Jon Trulson <jtrulson@ics.com>
2016-09-29 15:41:18 -06:00
Jon Trulson
e7c80217c2
C examples: move mraa_init() calls out of C examples and into C drivers.
...
Signed-off-by: Jon Trulson <jtrulson@ics.com>
2016-09-28 17:34:42 -06:00
Noel Eck
c3a5b8dd3c
cmake: Updated pkg_check_modules usage for TPV libraries
...
* Moved CMAKE_MODULE_PATH append hier in top-level CMakeLists file
so that it's before all calls to find_package.
* Added pkg_check_modules for BACNET, MODBUS, JPEG, and OPENZWAVE
to top-level CMakeLists file.
* Removed pkg_check_modules from individual sensor libraries.
* Simplified SWIG find_package call - require 3.0.5 for all SWIG
wrappers.
* Moved options to beginning of top-level CMakeLists.
Signed-off-by: Noel Eck <noel.eck@intel.com>
2016-09-28 11:50:42 -07:00
Noel Eck
dd9050e0aa
dfrph: Updated to use mraa read_float
...
Use mraa's normalized adc read. Updated names of struct
members accordingly.
Signed-off-by: Noel Eck <noel.eck@intel.com>
2016-09-28 11:47:16 -07:00
Mihai Tudor Panu
eb7a3ceac7
upm-c: added doxygen tags to generate documentation for C APIs
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2016-09-26 17:28:21 -07:00
Noel Eck
73719a6659
dfrph: Added set/get adc ref
...
Added missing getter/setter for the C library adc reference voltage.
Signed-off-by: Noel Eck <noel.eck@intel.com>
2016-09-26 12:04:14 -07:00
Mihai Tudor Panu
c66247b3d3
groups.md: changed file style from code to markdown
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2016-09-23 15:08:02 -07:00
Mihai Tudor Panu
5df0fe8836
curieimu: rearranged comment blocks to subpage class under module in doc
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2016-09-23 15:08:02 -07:00
Jon Trulson
b8061943aa
biss0001: add C driver and example, C++ wraps C driver
...
Signed-off-by: Jon Trulson <jtrulson@ics.com>
2016-09-23 14:18:08 -06:00
Jon Trulson
22c7310428
yg1006: add C driver and example, C++ wraps C driver
...
Signed-off-by: Jon Trulson <jtrulson@ics.com>
2016-09-23 12:20:05 -06:00
Jon Trulson
3047049402
water: zephyr: don't use mraa_result_print, use proper includes
...
Signed-off-by: Jon Trulson <jtrulson@ics.com>
2016-09-22 17:15:31 -06:00
Jon Trulson
dff782a477
water: add C driver and example. C++ wraps C driver.
...
Signed-off-by: Jon Trulson <jtrulson@ics.com>
2016-09-22 16:43:48 -06:00
Jon Trulson
29b11063ee
dfrorp: fix error in mraa_init() check
...
Signed-off-by: Jon Trulson <jtrulson@ics.com>
2016-09-22 16:43:48 -06:00
Jon Trulson
6f2c65b0d5
upm_utilities: remove unused upm_malloc/free, add comments
...
Signed-off-by: Jon Trulson <jtrulson@ics.com>
2016-09-22 16:43:48 -06:00
Noel Eck
80fb4ed6da
mq303a: Header requires mraa gpio include.
...
Added mraa/gpio.h to mq303a.
Signed-off-by: Noel Eck <noel.eck@intel.com>
2016-09-22 14:17:39 -07:00
Noel Eck
177f77f1f2
dereferencing: Small fixes for deref errors.
...
Cleanup some dereferencing after free.
Signed-off-by: Noel Eck <noel.eck@intel.com>
2016-09-22 14:14:46 -07:00
Noel Eck
a57f1c9691
memory: Small changes to fix some memory leaks.
...
Four small leaks in *scam, sx1276, and ozw. Added calls to
cleanup resources before throws.
Signed-off-by: Noel Eck <noel.eck@intel.com>
2016-09-21 12:25:02 -07:00
Mihai Tudor Panu
87b10e33d0
curieimu: updated description and added Firmata connection type to groups
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2016-09-20 16:52:50 -07:00
Mihai Tudor Panu
025844fe24
doxygen: doxygen.groups changed again to groups.md due to doxygen limitations
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2016-09-19 19:21:13 -07:00
Mihai Tudor Panu
e4d470ad2c
bacnetmstp: moved helper library documentation under module page
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2016-09-19 17:43:29 -07:00
Mihai Tudor Panu
e08b97ff85
doxygen: removed library to group name conflicts from new generic classes
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2016-09-19 17:25:36 -07:00
Jon Trulson
2ccdc3e673
sht1x: disable mmapped gpio access
...
This seems to cause troubles on edison, and the driver works fine
without it.
Signed-off-by: Jon Trulson <jtrulson@ics.com>
2016-09-16 17:11:28 -06:00
Jon Trulson
239ab49d6b
sht1x: Initial implementation
...
This driver was developed with a DFRobot SHT10 Temperature and Humidity
sensor. This driver should work on all SHT1X devices.
It requires a 10K pull-up resistor connected to the data pin.
The sensor can be run at differing voltages from 2.5v to 5v.
Signed-off-by: Jon Trulson <jtrulson@ics.com>
2016-09-16 16:52:49 -06:00
Sisinty Sasmita Patra
5d4fc3cbf5
Added alt tags and missing images to grove sensors
...
Signed-off-by: Sisinty Sasmita Patra <sisinty.s.patra@intel.com>
2016-09-16 12:43:34 -07:00
Stefan Andritoiu
14ede63192
java: Corrected typo in pom file
...
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2016-09-16 13:43:16 +01:00
Sisinty Sasmita Patra
b2a291ca78
Modified tag names for button and rotary
...
Signed-off-by: Sisinty Sasmita Patra <sisinty.s.patra@intel.com>
2016-09-15 11:17:42 -07:00
Stefan Andritoiu
b60ecdd559
java: Added automatic pom file generation
...
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2016-09-15 10:34:00 -07:00
Mihai Tudor Panu
353788a645
docs: renamed upm.hpp to a more appropriate doxygen.groups
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2016-09-14 16:55:30 -07:00
Noel Eck
1e51285a06
images: Updated missing jpgs for docs.
...
This change makes sure all necessary grove images exist where
applicable. Also removed executable attribute from jpgs.
led sensor points to led.jpg.
Signed-off-by: Noel Eck <noel.eck@intel.com>
2016-09-14 14:37:42 -07:00
Sisinty Sasmita Patra
8bdb917c40
MD: Adding missing files
...
Signed-off-by: Sisinty Sasmita Patra <sisinty.s.patra@intel.com>
2016-09-14 14:09:27 -07:00
Abhishek Malik
b24d83aa95
Authors added for C Modules
...
Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
2016-09-14 14:09:26 -07:00
Abhishek Malik
ac5e54cfb6
LineFinder: Created LineFinder from GroveLineFinder
...
Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
2016-09-14 14:09:26 -07:00
Noel Eck
ed6d61d12e
ultrasonic: Created ultrasonic from groveultrasonic.
...
* Added C++ and javascript example.
* Added jpg.
Signed-off-by: Noel Eck <noel.eck@intel.com>
2016-09-14 14:09:25 -07:00
Noel Eck
62f2296642
authoring: Added author for C sensors
...
Updated Author: line for C src/hdrs.
Signed-off-by: Noel Eck <noel.eck@intel.com>
2016-09-14 14:09:25 -07:00
Sisinty Sasmita Patra
b65908ea24
WFS: Added water flow sensor without grove dependency
...
Signed-off-by: Sisinty Sasmita Patra <sisinty.s.patra@intel.com>
2016-09-14 14:09:24 -07:00
Abhishek Malik
81e4eb07bf
Fixing build errors
...
Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
2016-09-14 14:09:24 -07:00
Abhishek Malik
ea4b1b6aa7
Grove: Reverted examples and Sources
...
Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
2016-09-14 14:09:23 -07:00
Sisinty Sasmita Patra
4d39f1ee84
SCAM: Renamed interface files from grovescam to scam
...
Signed-off-by: Sisinty Sasmita Patra <sisinty.s.patra@intel.com>
2016-09-14 14:09:22 -07:00
Sisinty Sasmita Patra
b1918f61de
SCAM: Added Serial camera without grove dependency
...
Signed-off-by: Sisinty Sasmita Patra <sisinty.s.patra@intel.com>
2016-09-14 14:09:22 -07:00
Abhishek Malik
a9883bd1f2
Grove: Reverting Grove sources
...
Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
2016-09-14 14:09:21 -07:00
Sisinty Sasmita Patra
982065a7b7
Speaker: Removed grove dependency
...
* Renamed all files from grovespeaker to speaker
* Replaced all instances of grovespeaker with speaker
* Updated all CMake files
2016-09-14 14:09:20 -07:00
Sisinty Sasmita Patra
c759932ee6
Button: Fixed build errors
...
Signed-off-by: Sisinty Sasmita Patra <sisinty.s.patra@intel.com>
2016-09-14 14:09:19 -07:00
Sisinty Sasmita Patra
6875a20eca
Rotary: Added target and renamed img file
...
Signed-off-by: Sisinty Sasmita Patra <sisinty.s.patra@intel.com>
2016-09-14 14:09:19 -07:00
Sisinty Sasmita Patra
ddab71e896
Water: Removed grove dependency
...
* Renamed all files from grovewater to water
* Replaced all instances of grovewater with water
* Updated all CMake files
Signed-off-by: Sisinty Sasmita Patra <sisinty.s.patra@intel.com>
2016-09-14 14:09:18 -07:00
Jon Trulson
e9b0deaf75
apa102: apa102_init(): return the created context
...
Signed-off-by: Jon Trulson <jtrulson@ics.com>
2016-09-14 14:09:18 -07:00
Abhishek Malik
db05211516
GPRS: Remove Grove Dependency
...
Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
2016-09-14 14:09:17 -07:00
Abhishek Malik
f4315db035
Electromagnet: Remove Grove Dependency
...
Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
2016-09-14 14:09:17 -07:00
Abhishek Malik
84f402abd9
EL Driver: Removing Grove Dependency
...
Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
2016-09-14 14:09:16 -07:00