Private
Public Access
2
0

Joule: Add gpiod mapping for Joule

Signed-off-by: Mihai Stefanescu <mihai.t.gh.stefanescu@gmail.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Mihai Stefanescu
2017-08-27 19:10:04 +02:00
committed by Brendan Le Foll
parent 12c1904fba
commit 9f7caf1561
2 changed files with 112 additions and 1 deletions

View File

@@ -32,7 +32,8 @@ extern "C" {
// +1 as pins are "1 indexed"
// we have 20 useless pins then the 4 LEDS and the 2 LEDs on the module.
#define MRAA_INTEL_JOULE_EXPANSION_PINCOUNT (40*2 + 23 +1 +2)
// There is another pin for the built-in button.
#define MRAA_INTEL_JOULE_EXPANSION_PINCOUNT (40 * 2 + 23 + 1 + 2 + 1)
mraa_board_t*
mraa_joule_expansion_board();