Brendan Le Foll [Tue, 2 Dec 2014 23:20:24 +0000 (23:20 +0000)]
mraa.i: add enum item rename rule
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Tue, 2 Dec 2014 23:19:54 +0000 (23:19 +0000)]
common.h: move functions from types.h
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Tue, 2 Dec 2014 23:18:20 +0000 (23:18 +0000)]
types.h: Move mraa_pinmodes_t to types.h
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Tue, 2 Dec 2014 17:49:48 +0000 (17:49 +0000)]
CMakeLists.txt: use relative paths for install
Using CMAKE_INSTALL_FULL_LIBDIR breaks cpack
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Helio Chissini de Castro [Mon, 1 Dec 2014 12:12:50 +0000 (10:12 -0200)]
cmake: Define library suffix in case of 64 bits multilib archs in linux
Signed-off-by: Helio Chisisni de Castro <helio@kde.org>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Tue, 2 Dec 2014 11:01:23 +0000 (11:01 +0000)]
mraa: update to version 0.5.4
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Tue, 2 Dec 2014 10:50:17 +0000 (10:50 +0000)]
pwm.c: Fix error in mraa_pwm_read_duty
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Tue, 2 Dec 2014 10:37:44 +0000 (10:37 +0000)]
pwm.c: Fix error in mraa_pwm_read_period
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Helio Chissini de Castro [Mon, 1 Dec 2014 12:14:29 +0000 (10:14 -0200)]
package.json.cmake: Proper version requires for nodejs
Signed-off-by: Helio Chissini de Castro <helio@kde.org>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Mon, 1 Dec 2014 14:40:59 +0000 (14:40 +0000)]
package.json.cmake: fix broken main property
This is a partial revert of previous commit
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Mon, 1 Dec 2014 13:59:47 +0000 (13:59 +0000)]
npmpkg: Fix package.json having invalid main property
Fixes #48
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Mihai Tudor Panu [Wed, 26 Nov 2014 22:56:10 +0000 (14:56 -0800)]
doxy2swig: quick fix on missing unicode encode
Signed-off-by: Mihai Tudor Panu <mihai.t.panu@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Thu, 27 Nov 2014 09:37:52 +0000 (09:37 +0000)]
examples: use mraa_get_platform_name API in examples
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Thomas Ingleby [Wed, 26 Nov 2014 15:29:29 +0000 (15:29 +0000)]
mraa: update to version 0.5.3
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Wed, 26 Nov 2014 15:15:55 +0000 (15:15 +0000)]
mraa: add mraa_get_platform_name
getPlatformName for c++/swig API
Closes #35
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Brendan Le Foll [Wed, 26 Nov 2014 14:00:17 +0000 (14:00 +0000)]
pwm.c: remove possibility of division by 0
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Wed, 26 Nov 2014 13:59:59 +0000 (13:59 +0000)]
pwm.c: check error condition when doing read operations
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Wed, 26 Nov 2014 13:59:01 +0000 (13:59 +0000)]
intel_de3815.c: make sure strncpy() doesn't go over 8 chars
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Wed, 26 Nov 2014 13:58:28 +0000 (13:58 +0000)]
gpio.c: cast return value explicitly
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Wed, 26 Nov 2014 13:56:27 +0000 (13:56 +0000)]
gpio.c: fail early in case of error when reading file
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Wed, 26 Nov 2014 13:56:10 +0000 (13:56 +0000)]
gpio.c: check return status of open call
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Wed, 26 Nov 2014 13:30:10 +0000 (13:30 +0000)]
aio.c: check aio_get_valid_fp return value
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Tue, 25 Nov 2014 13:32:05 +0000 (13:32 +0000)]
aio.c: remove less-than-zero comparison of an unsigned var
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Tue, 25 Nov 2014 13:30:30 +0000 (13:30 +0000)]
gpio.c: fix incorrect debug message due to merge
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Tue, 25 Nov 2014 13:27:17 +0000 (13:27 +0000)]
mraa_board_t: fix operator in *_mmap_unsetup
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Tue, 25 Nov 2014 13:26:17 +0000 (13:26 +0000)]
docs: update documentation mistakes
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Wed, 26 Nov 2014 07:52:40 +0000 (07:52 +0000)]
i2c.c: fix typo in mraa_i2c_read_word_data
Fixes #45
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Tue, 25 Nov 2014 10:37:36 +0000 (10:37 +0000)]
hello_isr.py: add counter to example
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Mon, 24 Nov 2014 18:03:36 +0000 (18:03 +0000)]
cmake: fix indentation
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Mon, 24 Nov 2014 17:45:50 +0000 (17:45 +0000)]
package.json.cmake: remove repository tag causing issues on update
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Mon, 24 Nov 2014 15:18:53 +0000 (15:18 +0000)]
npm: add node-gyp build support
This commit adds all the infrastructure necessary for doing node-gyp builds of
mraa. Note this will only build the mraa js bindings and will dirty your git
tree whilst doing it. It also assumes the user does not have SWIG installed on
their machines and so the swig wrapper is static. The target to use this
feature is 'npmpkg'.
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Mon, 24 Nov 2014 11:19:05 +0000 (11:19 +0000)]
javascript: add a generated package.json with versioning
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Mon, 24 Nov 2014 10:51:27 +0000 (10:51 +0000)]
docs: update product names & brand names
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Mon, 24 Nov 2014 10:50:32 +0000 (10:50 +0000)]
docs: add minnowboard max to doxygen index page
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Mon, 24 Nov 2014 08:04:08 +0000 (08:04 +0000)]
i2c.h: fix typo in doxygen comment
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Henry Bruce [Fri, 21 Nov 2014 01:15:44 +0000 (17:15 -0800)]
gpio.c: Added gpio list/set/get utility
Signed-off-by: Henry Bruce <henry.bruce@intel.com>
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Henry Bruce [Fri, 21 Nov 2014 01:14:48 +0000 (17:14 -0800)]
docs: Added first cut at minnow-max documentation
Signed-off-by: Henry Bruce <henry.bruce@intel.com>
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Henry Bruce [Fri, 21 Nov 2014 01:13:58 +0000 (17:13 -0800)]
intel_minnow_max.c: fixed pin capability errors
Signed-off-by: Henry Bruce <henry.bruce@intel.com>
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Brendan Le Foll [Fri, 21 Nov 2014 11:58:08 +0000 (11:58 +0000)]
docs: explain aio numbering scheme
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Thomas Ingleby [Fri, 21 Nov 2014 02:05:43 +0000 (02:05 +0000)]
spi: fix mistake from mem branch where spi will fail.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Brendan Le Foll [Thu, 20 Nov 2014 15:00:55 +0000 (15:00 +0000)]
mraa.c: fix char count in board_name
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Henry Bruce [Thu, 20 Nov 2014 01:01:35 +0000 (17:01 -0800)]
oe-sdk_cross.cmake: 'make install' now targets oe sysroot
Signed-off-by: Henry Bruce <henry.bruce@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Henry Bruce [Thu, 20 Nov 2014 00:55:48 +0000 (16:55 -0800)]
pwm.c: Must write period before duty_cycle to avoid sysfs error
Signed-off-by: Henry Bruce <henry.bruce@intel.com>
Henry Bruce [Sat, 15 Nov 2014 00:33:38 +0000 (16:33 -0800)]
blink_onboard.c: Added Minnow Max support
Signed-off-by: Henry Bruce <henry.bruce@intel.com>
Henry Bruce [Thu, 13 Nov 2014 22:00:03 +0000 (14:00 -0800)]
hellomraa.c: Extended sample to display detected platform.
Signed-off-by: Henry Bruce <henry.bruce@intel.com>
Henry Bruce [Sat, 15 Nov 2014 00:32:55 +0000 (16:32 -0800)]
gpio.c: check that real gpio did initialise correctly
On platforms without muxing perform a little more checking when the 'real'
linux/sysfs gpio is opened. We don't expect this to fail but on platforms where
the linux gpios can be changed depending on pinctrl/bios configuration this
might not always be the case.
Signed-off-by: Henry Bruce <henry.bruce@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Henry Bruce [Thu, 13 Nov 2014 21:55:58 +0000 (13:55 -0800)]
intel_minnow_max: Added platform definition
Signed-off-by: Henry Bruce <henry.bruce@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Thomas Ingleby [Thu, 20 Nov 2014 14:59:34 +0000 (14:59 +0000)]
galileo gen2: add missing mux information for UART on IO1
Fixes #36
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Brendan Le Foll [Thu, 20 Nov 2014 14:23:29 +0000 (14:23 +0000)]
intel_edison_fab_c.c: remove uart_init_post hook for miniboard
use uart_init_pre hook instead. Fixes #39
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Brendan Le Foll [Thu, 20 Nov 2014 14:10:56 +0000 (14:10 +0000)]
i2c: fix I2c::read() call
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Tue, 18 Nov 2014 16:09:08 +0000 (16:09 +0000)]
i2c: remove smbus helper library & clean up command use in API
This commit changes the mraa_i2c_read() API call behaviour, a register should
now always be set when using this call. The smbus helper library is no longer
required since the code is now all contained from i2c.c which avoids multiple
function calls
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Tue, 18 Nov 2014 15:57:47 +0000 (15:57 +0000)]
spi.hpp: remove transfer command from SWIG APIs
Transfer command works with a uint8_t buffer that is written into, this does
not work in SWIG APIs and will cause a copy in either case, so the API call is
not useful. Remove to stop confusion.
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Tue, 18 Nov 2014 15:56:33 +0000 (15:56 +0000)]
common.hpp: add missing docstring param for setLogLevel
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Mon, 17 Nov 2014 16:23:49 +0000 (16:23 +0000)]
i2c: add clean {write, read}data functions
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Mon, 17 Nov 2014 16:15:11 +0000 (16:15 +0000)]
i2c.hpp: reorder & style header
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Wed, 19 Nov 2014 23:52:13 +0000 (23:52 +0000)]
edison.md: add 1.8V IO warning
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Wed, 19 Nov 2014 23:45:58 +0000 (23:45 +0000)]
spi.c: fix identation
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Wed, 19 Nov 2014 23:45:35 +0000 (23:45 +0000)]
spi.c: check memory allocation for context was succesful
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Wed, 19 Nov 2014 23:44:57 +0000 (23:44 +0000)]
gpio.c: free context if we fail to write to export
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Thomas Ingleby [Mon, 17 Nov 2014 17:37:34 +0000 (17:37 +0000)]
galileo gen 2: port mmap to new structure
Feature parity pre mem branch.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Mon, 17 Nov 2014 17:26:05 +0000 (17:26 +0000)]
galileo gen 1: port mmap to new structure
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Wed, 12 Nov 2014 16:33:56 +0000 (16:33 +0000)]
edison: add mmap support. read & write
Closes #27
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Fri, 7 Nov 2014 02:02:29 +0000 (02:02 +0000)]
mmap: remove implementation of mmap gpio
Instead of trying to have an implementation that covers most platforms
Leave all mmap up to platform definition. Through function pointers.
gpio_mmap_setup sets up the mmap
Within the internal gpio context struct two more function pointers now
exist mmap_read & mmap_write. They exist there so each context can its
own function for handling a write and read.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Thu, 6 Nov 2014 18:02:19 +0000 (18:02 +0000)]
internal: remove un-implmented function prototype
Left over from earlier version of mraa.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Thu, 6 Nov 2014 17:32:31 +0000 (17:32 +0000)]
pwm: move pwm setup to module
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Mon, 3 Nov 2014 16:20:02 +0000 (16:20 +0000)]
spi: move spi setup from core into module
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Mon, 3 Nov 2014 15:44:40 +0000 (15:44 +0000)]
i2c: move i2c setup from core into module
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Mon, 3 Nov 2014 15:16:33 +0000 (15:16 +0000)]
aio: move aio setup from core into module
Added additional syslog messages for debugging
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Thu, 30 Oct 2014 19:08:15 +0000 (19:08 +0000)]
gpio: move gpio setup from core into module
Added syslog lines for easier fault investigation
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Thu, 30 Oct 2014 18:09:27 +0000 (18:09 +0000)]
internal: add function protype for mux setup.
Now accesible from all mraa modules
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Thu, 30 Oct 2014 17:35:35 +0000 (17:35 +0000)]
spi: expose defined CS
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Mon, 17 Nov 2014 16:05:26 +0000 (16:05 +0000)]
edison: fix gpio mapping on j18-8
Closes #37
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Mon, 17 Nov 2014 15:36:31 +0000 (15:36 +0000)]
galileo gen2: add uart definitions
Also added hook for setting output buffers.
fixes #36
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Brendan Le Foll [Wed, 12 Nov 2014 13:48:46 +0000 (13:48 +0000)]
docs: update libmraa intro text
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Mon, 10 Nov 2014 20:48:27 +0000 (20:48 +0000)]
cmake: add cmake toolchain file for oe setup
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Sun, 9 Nov 2014 12:26:09 +0000 (12:26 +0000)]
building.md: update cmake instructions
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Fri, 7 Nov 2014 15:05:23 +0000 (15:05 +0000)]
galileorevh.md: add i2c frequency info
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Thu, 6 Nov 2014 15:25:01 +0000 (15:25 +0000)]
mraa: update to version 0.5.2
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Matthias Hahn [Wed, 5 Nov 2014 19:26:17 +0000 (20:26 +0100)]
pwm: syslog message typo correction
Signed-off-by: Matthias Hahn <matthias.hahn@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Wed, 5 Nov 2014 11:20:36 +0000 (11:20 +0000)]
rgblcd.py: update example to use only writeReg()
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Wed, 5 Nov 2014 11:13:29 +0000 (11:13 +0000)]
rgblcd.js: add i2c example similar to python
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Tue, 4 Nov 2014 19:08:08 +0000 (19:08 +0000)]
i2c_HMC5883L.c: fix type in i2c buffer
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Fri, 31 Oct 2014 15:10:15 +0000 (15:10 +0000)]
i2c: use uint8_t when appropriate and remove char
Object APIs used signed chars for some operations which are not appropriate
when using i2c.
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Bernd Barsuhn [Tue, 4 Nov 2014 10:13:37 +0000 (10:13 +0000)]
gpio: fix identation
Signed-off-by: Bernd Barsuhn <bernd.barsuhn@me.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Bernd Barsuhn [Wed, 29 Oct 2014 12:25:38 +0000 (13:25 +0100)]
gpio: make mraa_gpio_isr_exit block until the interrupt handling thread is terminated.
Signed-off-by: Bernd Barsuhn <bernd.barsuhn@me.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Mon, 3 Nov 2014 15:08:11 +0000 (15:08 +0000)]
Pwm3-cycle.cpp: add pwm::enable() call to example
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Anton Krasovsky [Thu, 30 Oct 2014 23:25:10 +0000 (23:25 +0000)]
i2c: add api call to read byte from a specified register
Signed-off-by: Anton Krasovsky <anton@no-mad.net>
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Thu, 30 Oct 2014 17:35:35 +0000 (17:35 +0000)]
spi: expose defined CS
Add missing information for Gen 2 CS info
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Thu, 30 Oct 2014 12:03:24 +0000 (12:03 +0000)]
pwm: add period limits, warn over syslog
Added minimum, maximum and default period settings to board definitions
PWM will now have a default period as defined in the board defintion.
When using pwm_write() writing 1.0f or above will default to 100%.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Brendan Le Foll [Wed, 29 Oct 2014 13:14:46 +0000 (13:14 +0000)]
contributing.md: add a few contribution rules matching UPM
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Maximilian von Tschirschnitz [Wed, 29 Oct 2014 12:52:49 +0000 (13:52 +0100)]
pwm: fixed wrong line ending being checked by strtol
Move from fopen to POSIX open introduced this bug in strtol
Signed-off-by: Maximilian von Tschirschnitz <maximilian.tschirschnitz@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Thomas Ingleby [Fri, 24 Oct 2014 13:23:56 +0000 (14:23 +0100)]
README: add Intel DE3815 to supported systems.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Tue, 21 Oct 2014 23:19:27 +0000 (00:19 +0100)]
de3815: add initial doc
Also removed printf used during inital implementation.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Tue, 21 Oct 2014 22:59:53 +0000 (23:59 +0100)]
de3815: added PWM support
There are two PWM pins on the custom solutions header.
10-PWM[0] and 11-PWM[1] in mraa.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Thomas Ingleby [Fri, 17 Oct 2014 16:29:20 +0000 (17:29 +0100)]
intel_de3815: initial support for Baytrail NUC
* I2C only currently supported, Both bus 0 and 1
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
Brendan Le Foll [Thu, 23 Oct 2014 17:05:36 +0000 (18:05 +0100)]
spi: attempt to fix spi lsb mode
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Thu, 23 Oct 2014 17:05:07 +0000 (18:05 +0100)]
i2c: use default i2c bus in board config if invalid
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Wed, 22 Oct 2014 20:06:45 +0000 (21:06 +0100)]
syslog: unify error msg style
syslog messages should be written as <module>: Message in order to increase
readability and usefulness
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Wed, 22 Oct 2014 19:52:11 +0000 (20:52 +0100)]
spi: fix mraa_spi_bit_per_word call to use correct ioctl
This should fix #14
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Brendan Le Foll [Wed, 22 Oct 2014 19:51:13 +0000 (20:51 +0100)]
intel_edison_fab_c.c: If i2c bus number is invalid use the default bus (6)
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>