Brendan Le Foll
5f515f7648
mraa-gpio.c: dont display pins set as not MRAA_PINS_VALID
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-06-20 12:18:38 +01:00
Brendan Le Foll
3d2163e2cb
mraa-gpio.c: Fix raw gpio setting
...
setraw was not using mraa_gpio_init_raw so did not work
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-06-20 10:39:20 +01:00
Brendan Le Foll
21bea74b74
mraa-gpio.c: Add return to list_pins
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-03-24 09:46:31 +00:00
Henry Bruce
6aaf48940e
examples: Fixed bug in mraa-gpio introduced by sub-platform update.
...
Signed-off-by: Henry Bruce <henry.bruce@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-10-26 15:46:54 +00:00
Henry Bruce
6284806b96
mraa-gpio: Support new sub-platform calls.
...
Signed-off-by: Henry Bruce <henry.bruce@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-09-08 14:42:04 +01:00
Henry Bruce
4031124081
api: Renamed some sub-platform API calls.
...
Signed-off-by: Henry Bruce <henry.bruce@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-09-08 14:42:04 +01:00
Henry Bruce
001e291d63
mraa-gpio: Added sub-platform support.
...
Signed-off-by: Henry Bruce <henry.bruce@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-09-08 14:42:03 +01:00
Andrei Vasiliu
cb97f24edd
mraa-gpio.c: Solved issue with getchar() call on Galileo
...
There is a problem with missing symbols __fgetc_unlocked and __stdin in the
libc library build for Galileo. Solved this by replacing the getchar() call
with fscanf().
Signed-off-by: Andrei Vasiliu <andrei.vasiliu@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-08-21 11:05:20 +01:00
Brendan Le Foll
8734a42377
mraa-gpio.c: add %d to printf statement
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-07-08 10:14:56 +01:00
Brendan Le Foll
0b382100d2
mraa-gpio.c: fix unused printf argument
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-04-24 16:05:12 +01:00
Michael Ring
5dfd8e43df
examples/mraa-gpio.c: Fixed compiler warning due to missing include
...
Warning fixed is atoi not being defined when building on Fedora 22
Signed-off-by: Michael Ring <mail@michael-ring.org >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-04-04 17:53:20 +01:00
Henry Bruce
a1c5bd8742
CMakeLists.txt: Added option to install mraa-gpio tool
...
This commit renames gpio.c to mraa-gpio.c to make installation in bin/ less
annoying
Signed-off-by: Henry Bruce <henry.bruce@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-03-31 13:56:29 +01:00