zephyr/boards/arm/cc3220sf_launchxl/board.h
Gil Pitney 70040f0e11 boards: Add support for the CC3220SF_LAUNCHXL board
CC3220SF_LAUNCHXL effectively replaces the CC3200_LAUNCHXL,
with support for the CC3220SF SoC, which is an update for
the CC3200 SoC.

This is supported by the Texas Instruments CC3220 SDK.

Jira: ZEP-1958

Change-Id: I2484d3ee87b7f909c783597d95128f2b45db36f2
Signed-off-by: Gil Pitney <gil.pitney@linaro.org>
2017-04-28 15:06:41 -05:00

26 lines
628 B
C

/*
* Copyright (c) 2017, Texas Instruments Incorporated
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef __INC_BOARD_H
#define __INC_BOARD_H
/* 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"
#endif /* __INC_BOARD_H */