libdigiapix: add and fix GPIO aliases

For CC6/CC6Plus
 - Add USER_LED0 alias (same as default USER_LED)
 - Change aliases of the other LEDs to USER_LED1 and
   USER_LED2 (without additional underscore and fixed
   indexes, to match the board schematics)

For CC8X SBC Pro
 - Add USER_LED0 alias (same as default USER_LED)
 - Add USER_LED1 which was missing
 - Increase indexes (due to removed MCA_IO19 on SOM v3)

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
This commit is contained in:
Hector Palacios 2019-04-01 11:03:07 +02:00
parent df3858f473
commit 86104b4ffa
3 changed files with 12 additions and 6 deletions

View File

@ -5,12 +5,13 @@ model = Digi International ConnectCore 6 QuadPlus Single Board Computer.
# USER LED (RED) - GPIO02_IO02
USER_LED = 34
USER_LED0 = 34
# USER LED (ORANGE) - GPIO02_IO03
USER_LED_2 = 35
USER_LED1 = 35
# USER LED (GREEN) - GPIO02_IO04
USER_LED_3 = 36
USER_LED2 = 36
# USER BUTTON - GPIO02_IO05
USER_BUTTON = 37

View File

@ -5,12 +5,13 @@ model = Digi International ConnectCore 6 Single Board Computer.
# USER LED (RED) - GPIO02_IO02
USER_LED = 34
USER_LED0 = 34
# USER LED (ORANGE) - GPIO02_IO03
USER_LED_2 = 35
USER_LED1 = 35
# USER LED (GREEN) - GPIO02_IO04
USER_LED_3 = 36
USER_LED2 = 36
# USER BUTTON - GPIO02_IO05
USER_BUTTON = 37

View File

@ -4,10 +4,14 @@ model = Digi International ConnectCore 8X SBC Pro.
[GPIO]
# USER LED0 - MCA_IO18
USER_LED = 222
USER_LED = 223
USER_LED0 = 223
# USER_LED1 - MCA_IO10
USER_LED1 = 215
# USER BUTTON - MCA_IO05
USER_BUTTON = 209
USER_BUTTON = 210
[I2C]