2016-10-26 08:28:38 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2016, Texas Instruments Incorporated
|
|
|
|
*
|
2017-01-19 09:01:01 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2016-10-26 08:28:38 +08:00
|
|
|
*/
|
|
|
|
#ifndef __INC_BOARD_H
|
|
|
|
#define __INC_BOARD_H
|
|
|
|
|
2016-11-24 07:51:30 +08:00
|
|
|
/* Push button switch 2 */
|
|
|
|
#define SW2_GPIO_PIN 6 /* GPIO22/Pin15 */
|
|
|
|
#define SW2_GPIO_NAME "GPIO_A2"
|
|
|
|
|
|
|
|
/* Push button switch 3 */
|
|
|
|
#define SW3_GPIO_PIN 5 /* GPIO13/Pin4 */
|
|
|
|
#define SW3_GPIO_NAME "GPIO_A1"
|
|
|
|
|
|
|
|
/* Push button switch 0: Map to SW2 so zephyr button example works */
|
|
|
|
#define SW0_GPIO_PIN SW2_GPIO_PIN
|
|
|
|
#define SW0_GPIO_NAME SW2_GPIO_NAME
|
|
|
|
|
|
|
|
/* Onboard GREEN LED */
|
|
|
|
#define LED0_GPIO_PIN 3 /*GPIO11/Pin2 */
|
|
|
|
#define LED0_GPIO_PORT "GPIO_A1"
|
|
|
|
|
2016-10-26 08:28:38 +08:00
|
|
|
#endif /* __INC_BOARD_H */
|