add GPIO defs for all the boards.
This commit is contained in:
parent
1f99a4cdd6
commit
20bb355edd
|
@ -36,6 +36,10 @@
|
||||||
#ifndef BOARD_FREESCALE_NCB_H
|
#ifndef BOARD_FREESCALE_NCB_H
|
||||||
#define 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_RED 23
|
||||||
#define LED_GREEN 24
|
#define LED_GREEN 24
|
||||||
#define LED_BLUE 25
|
#define LED_BLUE 25
|
||||||
|
|
|
@ -55,6 +55,10 @@
|
||||||
#define BUTTON2_OUT (0x1ULL << 22)
|
#define BUTTON2_OUT (0x1ULL << 22)
|
||||||
#define BUTTON2_IN (0x1ULL << 26)
|
#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_RED 12
|
||||||
#define LED_GREEN 21
|
#define LED_GREEN 21
|
||||||
#define LED_BLUE 35
|
#define LED_BLUE 35
|
||||||
|
|
|
@ -36,6 +36,10 @@
|
||||||
#ifndef BOARD_REDBEE_DEV_H
|
#ifndef BOARD_REDBEE_DEV_H
|
||||||
#define 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_RED 23
|
||||||
#define LED_GREEN 24
|
#define LED_GREEN 24
|
||||||
#define LED_BLUE 25
|
#define LED_BLUE 25
|
||||||
|
|
|
@ -36,6 +36,10 @@
|
||||||
#ifndef BOARD_REDBEE_R1_H
|
#ifndef BOARD_REDBEE_R1_H
|
||||||
#define 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_RED 8
|
||||||
#define LED_GREEN 9
|
#define LED_GREEN 9
|
||||||
#define LED_BLUE 10
|
#define LED_BLUE 10
|
||||||
|
|
|
@ -36,6 +36,10 @@
|
||||||
#ifndef BOARD_REDBEE_USB_H
|
#ifndef BOARD_REDBEE_USB_H
|
||||||
#define 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_RED 23
|
||||||
#define LED_GREEN 24
|
#define LED_GREEN 24
|
||||||
#define LED_BLUE 25
|
#define LED_BLUE 25
|
||||||
|
|
Loading…
Reference in a new issue