Syslog is now used for all error messages, return values in the code should be
used by programmers to see the status of the library/board and syslog can be
used to see quickly from a debugging perspective what has gone wrong. A few
cosmetics where improved as well as a mraa_set_log_level() call where the
syslog log mask can be set directly from libmraa.
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
* Warning, doing a period call on the gen2 will change it for all pwm
* channels and temporarily disable them whilst doing it.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
* Should allow for more platform quirks to be handled by mraa without
* massive conditional areas per platform.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
* Allows for different bit shifting for each platform.
* New functions added for obtaining this information
* mraa_adc_raw_bits
* mraa_adc_supported_bits
* Update board information to include this. AIO module changed to allow
* use of the new board data
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>