add GPIO defs for all the boards.

This commit is contained in:
Mariano Alvira 2011-05-06 19:58:44 -04:00
parent 1f99a4cdd6
commit 20bb355edd
5 changed files with 20 additions and 0 deletions

View file

@ -36,6 +36,10 @@
#ifndef BOARD_FREESCALE_NCB_H
#define BOARD_FREESCALE_NCB_H
#define GPIO_LED_RED GPIO_23
#define GPIO_LED_GREEN GPIO_24
#define GPIO_LED_BLUE GPIO_25
#define LED_RED 23
#define LED_GREEN 24
#define LED_BLUE 25

View file

@ -55,6 +55,10 @@
#define BUTTON2_OUT (0x1ULL << 22)
#define BUTTON2_IN (0x1ULL << 26)
#define GPIO_LED_RED GPIO_12
#define GPIO_LED_GREEN GPIO_21
#define GPIO_LED_BLUE GPIO_35
#define LED_RED 12
#define LED_GREEN 21
#define LED_BLUE 35

View file

@ -36,6 +36,10 @@
#ifndef BOARD_REDBEE_DEV_H
#define BOARD_REDBEE_DEV_H
#define GPIO_LED_RED GPIO_23
#define GPIO_LED_GREEN GPIO_24
#define GPIO_LED_BLUE GPIO_25
#define LED_RED 23
#define LED_GREEN 24
#define LED_BLUE 25

View file

@ -36,6 +36,10 @@
#ifndef BOARD_REDBEE_R1_H
#define BOARD_REDBEE_R1_H
#define GPIO_LED_RED GPIO_08
#define GPIO_LED_GREEN GPIO_09
#define GPIO_LED_BLUE GPIO_10
#define LED_RED 8
#define LED_GREEN 9
#define LED_BLUE 10

View file

@ -36,6 +36,10 @@
#ifndef BOARD_REDBEE_USB_H
#define BOARD_REDBEE_USB_H
#define GPIO_LED_RED GPIO_23
#define GPIO_LED_GREEN GPIO_24
#define GPIO_LED_BLUE GPIO_25
#define LED_RED 23
#define LED_GREEN 24
#define LED_BLUE 25