Brendan Le Foll [Mon, 9 Jun 2014 16:33:22 +0000 (17:33 +0100)]
maa: version bump to 0.2.8
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Thomas Ingleby [Mon, 9 Jun 2014 13:49:35 +0000 (14:49 +0100)]
cmake: added conflicts and replaces fields
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Mon, 9 Jun 2014 13:26:05 +0000 (14:26 +0100)]
ipk: generated ipk named as libmaa{major version}
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Mon, 9 Jun 2014 13:14:11 +0000 (14:14 +0100)]
ipk: rename end package to libmaa
* change provides to follow yocto produced package
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Mon, 9 Jun 2014 12:20:11 +0000 (13:20 +0100)]
cmake: updated CPackDeb to use DEB outer compression.
* Additional fields added to CMakeLists
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Brendan Le Foll [Wed, 4 Jun 2014 14:37:00 +0000 (15:37 +0100)]
package.json: add extra info about module license and runtime support
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Wed, 4 Jun 2014 13:39:41 +0000 (14:39 +0100)]
maa: add maa_set_priority call
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Wed, 4 Jun 2014 11:06:04 +0000 (12:06 +0100)]
cmake: install python & node.js modules correctly
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Wed, 4 Jun 2014 11:05:02 +0000 (12:05 +0100)]
CPackDeb.cmake: update to use opkg-buld
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Thomas Ingleby [Tue, 3 Jun 2014 12:29:28 +0000 (13:29 +0100)]
maa: add make package using CPack, generates IPK
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Brendan Le Foll [Fri, 30 May 2014 16:10:52 +0000 (17:10 +0100)]
api: add proper doxygen comments to C++ headers and normalise doc
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Fri, 30 May 2014 16:09:54 +0000 (17:09 +0100)]
Doxyfile.in: remove deprecated options in doxygen 1.8
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Fri, 30 May 2014 09:28:21 +0000 (10:28 +0100)]
swig: use C++ generated class doc and include directly from maa.i
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Fri, 30 May 2014 08:58:34 +0000 (09:58 +0100)]
doxy2swig.py: explicitly set to use python2
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Fri, 30 May 2014 08:53:20 +0000 (09:53 +0100)]
DoxygenLayout.xml: make C++ doc order a little like the C doc
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Fri, 30 May 2014 08:52:05 +0000 (09:52 +0100)]
Doxyfile.in: remove include dir from INPUT path
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Thomas Ingleby [Thu, 29 May 2014 15:36:43 +0000 (16:36 +0100)]
Merge branch 'gpio-mem'
Thomas Ingleby [Thu, 29 May 2014 15:30:07 +0000 (16:30 +0100)]
mmap: added mmap io to gpio
* added function to gpio to use mmap
* changed board definition format around mmap io (fast-gpio)
* Intel Galileo Rev D updated to follow changed definitions
* Example performing mmap io to pin 2 added.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Brendan Le Foll [Thu, 29 May 2014 13:51:38 +0000 (14:51 +0100)]
docs: Add docs/ folder with in depth topics as well as DoxygenLayout.xml file
* C headers now have @briefs and include examples
* Examples have altered 'Interesting' Sections
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Wed, 28 May 2014 10:01:00 +0000 (11:01 +0100)]
cmake: version bump to 0.2.7
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Wed, 28 May 2014 10:00:36 +0000 (11:00 +0100)]
examples: add Interesting snippet tags to examples and link in Readme.md
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Wed, 28 May 2014 09:58:27 +0000 (10:58 +0100)]
c++: Use simple types instead of unistd types for swig generation
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Tue, 27 May 2014 09:43:46 +0000 (10:43 +0100)]
aio.py: add aio python example
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Tue, 27 May 2014 09:38:56 +0000 (10:38 +0100)]
aio.hpp: read() uses basic type to make generation of swig interfaces easier
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Mon, 26 May 2014 15:05:17 +0000 (16:05 +0100)]
aio: make types used more logical and simplify logic
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Fri, 23 May 2014 13:47:23 +0000 (14:47 +0100)]
doxygen: add examples from examples dir and include one section on Readme.md
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Fri, 23 May 2014 13:21:53 +0000 (14:21 +0100)]
i2c: use uint8_t throughout to make code clearer
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Fri, 23 May 2014 12:56:45 +0000 (13:56 +0100)]
swig: add BUILDSWIG macros to disable building of swig modules
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Fri, 23 May 2014 10:58:04 +0000 (11:58 +0100)]
cmake: make sure headers are not in api/ subdir
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Thomas Ingleby [Thu, 22 May 2014 13:57:19 +0000 (14:57 +0100)]
cmake: version bump to 0.2.6
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Brendan Le Foll [Thu, 22 May 2014 13:54:19 +0000 (14:54 +0100)]
src: add unistd.h to pwm and spi modules to remove compiler warnings
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Thu, 22 May 2014 13:53:18 +0000 (14:53 +0100)]
pwm: equality comparison should be assignment
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Thu, 22 May 2014 13:52:10 +0000 (14:52 +0100)]
I2c-compass: add -lm to linker
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Thu, 22 May 2014 13:24:28 +0000 (14:24 +0100)]
cmake: install only the public API in ${prefix}/include/maa
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Thu, 22 May 2014 13:23:47 +0000 (14:23 +0100)]
cmake: install examples in ${prefix}/share/maa/examples
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Thomas Ingleby [Thu, 22 May 2014 13:17:33 +0000 (14:17 +0100)]
examples: added more cpp examples.
Mostly just the same functionality as the C examples yet using the cpp
api.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Brendan Le Foll [Thu, 22 May 2014 10:40:59 +0000 (11:40 +0100)]
nodejs: define BUILDING_NODE_EXTENSION in CXXFLAGS for upstream swig
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Thu, 22 May 2014 10:05:46 +0000 (11:05 +0100)]
cmake: building doc is now a cmake option and off by default
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Thomas Ingleby [Thu, 22 May 2014 09:16:09 +0000 (10:16 +0100)]
maa: change javascript to use swig upstream
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Wed, 21 May 2014 16:05:58 +0000 (17:05 +0100)]
intel_galileo_rev_d: fix i2c bus definition
* Worked before just wasnt quite correct. As SCL SDA share a
* mux on the rev d.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Wed, 21 May 2014 14:50:06 +0000 (15:50 +0100)]
intel_galileo_rev_d: fix definition of pwm on 9/11
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Wed, 21 May 2014 13:56:11 +0000 (14:56 +0100)]
pwm: made export functions static
* removed functions from external api also.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Wed, 21 May 2014 13:55:14 +0000 (14:55 +0100)]
gpio: made export functions static.
* removed functions from api also
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Wed, 21 May 2014 13:49:32 +0000 (14:49 +0100)]
pwm: fix writing of period
Incorrect value attempted to be written
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Wed, 21 May 2014 12:57:30 +0000 (13:57 +0100)]
i2c: internal setup function properly works
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Wed, 21 May 2014 12:17:16 +0000 (13:17 +0100)]
maa: hide and rename internal maa functions
Based on feedback received. All check functions renamed to setup.
Update all modules to use new name and header.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Wed, 21 May 2014 12:07:50 +0000 (13:07 +0100)]
spi: fix headers
Missed in earlier commits
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Wed, 21 May 2014 11:58:55 +0000 (12:58 +0100)]
aio: fix spacing
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Wed, 21 May 2014 11:52:38 +0000 (12:52 +0100)]
maa: add maa internal header.
For internal functions and data definitions.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Wed, 21 May 2014 11:50:12 +0000 (12:50 +0100)]
maa: remove whitespace
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Tue, 20 May 2014 15:55:27 +0000 (16:55 +0100)]
spi: completed implementation.
* Added more functions for transaction settings.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Thomas Ingleby [Tue, 20 May 2014 15:52:40 +0000 (16:52 +0100)]
spi: Use new feature of pinmap to get split info.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Thomas Ingleby [Tue, 20 May 2014 15:50:38 +0000 (16:50 +0100)]
spi-pinmap: seperated bus from slave select.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Tue, 20 May 2014 14:40:28 +0000 (15:40 +0100)]
gtest: fix version test and change test cmake var name
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Tue, 20 May 2014 14:39:58 +0000 (15:39 +0100)]
python: include examples page for sphinx documentation that links to src examples
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Thomas Ingleby [Tue, 20 May 2014 12:51:12 +0000 (13:51 +0100)]
gpio: add ownership gaurd
* Will not unexport if the context did not export it. Can be forced.
* Checks if pin is already exported.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Thomas Ingleby [Tue, 20 May 2014 12:38:15 +0000 (13:38 +0100)]
pwm: added existing exposition logic
* Understands when pwm pin is already exported.
* Will not unexport if didnt export. Can be forced.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Thomas Ingleby [Tue, 20 May 2014 09:41:47 +0000 (10:41 +0100)]
pwm: use posix open instead of fopen
* Add safety to output char arrays and filepaths.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Thomas Ingleby [Mon, 19 May 2014 14:40:43 +0000 (15:40 +0100)]
gpio: use open in all function opposed to fopen
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Mon, 19 May 2014 10:47:38 +0000 (11:47 +0100)]
maa.i: fix definition of printError in interface file
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Mon, 19 May 2014 10:05:43 +0000 (11:05 +0100)]
cmake: version bump to 0.2.5
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Thomas Ingleby [Mon, 19 May 2014 09:43:23 +0000 (10:43 +0100)]
pwm: changed to use strtol for return values.
* Minor spelling corrections
* Small format change in function. Incorrect spacing.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Thomas Ingleby [Mon, 19 May 2014 09:42:23 +0000 (10:42 +0100)]
pwm: removed disabling pin on unexport.
Needed to be handled differently based on the running platform
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Mon, 19 May 2014 09:35:29 +0000 (10:35 +0100)]
gpio.c: PyEval_Call now casts void* to PyObject* before call, fixing warning
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Mon, 19 May 2014 09:34:36 +0000 (10:34 +0100)]
i2c: fix write API to use const char*
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Mon, 19 May 2014 08:58:01 +0000 (09:58 +0100)]
maa.i: add return types to swig constants
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Mon, 19 May 2014 08:51:59 +0000 (09:51 +0100)]
maa.i: add printError() function to swig API
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Mon, 19 May 2014 08:51:31 +0000 (09:51 +0100)]
maa.i: rename get_version() to getVersion()
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Mon, 19 May 2014 08:50:58 +0000 (09:50 +0100)]
maa.c: add stdlib.h to remove clang warning
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Mon, 19 May 2014 08:49:30 +0000 (09:49 +0100)]
C++: Change enum types to be shorter in C++
* This changes the swig interface so Python/Node APIs change slightly
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Fri, 16 May 2014 16:52:06 +0000 (17:52 +0100)]
hello_isr.py: fix usage of isr in python example
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Fri, 16 May 2014 16:10:34 +0000 (17:10 +0100)]
cmake: version bump due to API change
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Fri, 16 May 2014 09:07:28 +0000 (10:07 +0100)]
README.md: add changelog to explain API changes
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Thomas Ingleby [Fri, 16 May 2014 15:56:48 +0000 (16:56 +0100)]
blink-io-cpp: example gpio using cpp wrappers.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Fri, 16 May 2014 13:45:16 +0000 (14:45 +0100)]
c++: Add C++ runtime library to linker patch
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Fri, 16 May 2014 13:44:14 +0000 (14:44 +0100)]
spi: fix use of memset sizeof param
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Fri, 16 May 2014 13:44:04 +0000 (14:44 +0100)]
gpio: fix use of memset sizeof param
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Fri, 16 May 2014 13:28:59 +0000 (14:28 +0100)]
swig: add gpio enum definitions on interface file
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Fri, 16 May 2014 13:10:29 +0000 (14:10 +0100)]
spi.hpp: Add C++ wrapper around Spi
* maa_spi_context becomes an opaque pointer
* C++ wrapper class Spi created
* swig now uses C++ wrapper Gpio to generate API
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Thomas Ingleby [Fri, 16 May 2014 10:51:21 +0000 (11:51 +0100)]
spi: added example for use with mcp4261
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Fri, 16 May 2014 10:50:34 +0000 (11:50 +0100)]
spi: implemented write functions
Still basic, more work needed
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Fri, 16 May 2014 10:49:20 +0000 (11:49 +0100)]
spi: changed write function prototype.
* Added write_buf for buffer transfer
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Wed, 14 May 2014 15:06:57 +0000 (16:06 +0100)]
spi-pinmap: added spi checking functions.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Wed, 14 May 2014 14:47:26 +0000 (15:47 +0100)]
intel_galileo_rev_d: fixed SPI bus id.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Brendan Le Foll [Fri, 16 May 2014 10:56:06 +0000 (11:56 +0100)]
gpio.hpp: Add C++ wrapper around Gpio
* maa_gpio_context bcomes an opaque pointer
* C++ wrapper class Gpio created
* swig now uses C++ wrapper Gpio to generate API
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Fri, 16 May 2014 10:53:19 +0000 (11:53 +0100)]
pwm.hpp: Add C++ wrapper around Pwm
* maa_pwm_context becomes an opaque pointer
* C++ wrapper class Pwm
* swig now uses C++ wrapper Pwm to generate API
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Fri, 16 May 2014 09:28:26 +0000 (10:28 +0100)]
i2c.hpp: Add C++ wrapper around I2c
* maa_i2c_context bcomes an opaque pointer
* C++ wrapper class I2c created
* swig now uses C++ wrapper I2c to generate API
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Fri, 16 May 2014 09:28:26 +0000 (10:28 +0100)]
i2c.hpp: Add C++ wrapper around I2c
* maa_i2c_context bcomes an opaque pointer
* C++ wrapper class I2c created
* swig now uses C++ wrapper I2c to generate API
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Fri, 16 May 2014 08:43:01 +0000 (09:43 +0100)]
maa_init: fix constructor attribute in maa_init and add working example
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Thu, 15 May 2014 21:47:38 +0000 (22:47 +0100)]
aio.hpp: Add C++ wrapper around Aio
* maa_aio_context becomes an opaque pointer
* C++ wrapper class Aio created
* examples/c++ with a sample for Aio created
* swig now uses C++ wrapper Aio to generate an API
* python generated code is now C++
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Thu, 15 May 2014 15:40:21 +0000 (16:40 +0100)]
cmake: make maa link against pthreads directly
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Thu, 15 May 2014 15:39:55 +0000 (16:39 +0100)]
cmake: fix hard includ of node headers for cross compile
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Thu, 15 May 2014 13:42:18 +0000 (14:42 +0100)]
gpio: make isr_exit function use pthread_cancel and treat error cases more cleanly
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Thu, 15 May 2014 09:41:23 +0000 (10:41 +0100)]
blink-io: make sure maa_gpio_init was successful
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Wed, 14 May 2014 13:08:29 +0000 (14:08 +0100)]
cmake: increase version to 2.3
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Tue, 13 May 2014 22:25:21 +0000 (22:25 +0000)]
aio: remove _u16 suffix from call. Make return type a uint16_t
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Tue, 13 May 2014 22:24:48 +0000 (22:24 +0000)]
blink-io: add stdlib.h for strtol call
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Tue, 13 May 2014 22:18:46 +0000 (22:18 +0000)]
gpio: add signal type to pthread_kill
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Tue, 13 May 2014 22:18:22 +0000 (22:18 +0000)]
pwm: always return a value if stated in prototype
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Tue, 13 May 2014 22:17:42 +0000 (22:17 +0000)]
i2c: fixed impossible unsigned comparisons
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>