From 57f582abae3e240498c91d3ccf398880bb78d3a2 Mon Sep 17 00:00:00 2001 From: Fabio Utzig Date: Fri, 15 May 2015 20:45:02 -0300 Subject: Add some GPIO pin definitions --- os/hal/boards/WVSHARE_BLE400/board.h | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'os') diff --git a/os/hal/boards/WVSHARE_BLE400/board.h b/os/hal/boards/WVSHARE_BLE400/board.h index 4755609..957fe7e 100644 --- a/os/hal/boards/WVSHARE_BLE400/board.h +++ b/os/hal/boards/WVSHARE_BLE400/board.h @@ -17,17 +17,22 @@ #ifndef _BOARD_H_ #define _BOARD_H_ -/* - * Board identifier. - */ +/* Board identifier. */ #define BOARD_WVSHARE_BLE400 #define BOARD_NAME "WvShare BLE400" -/* - * Board oscillators-related settings. - */ +/* Board oscillators-related settings. */ #define XTAL_VALUE 16000000 +/* GPIO pins. */ +#define LED0 18 +#define LED1 19 +#define LED2 20 +#define LED3 21 +#define LED4 22 +#define UART_TX 9 +#define UART_RX 11 + #if !defined(_FROM_ASM_) #ifdef __cplusplus extern "C" { -- cgit v1.2.3