aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorFabio Utzig <utzig@utzig.org>2015-05-15 20:45:02 -0300
committerFabio Utzig <utzig@utzig.org>2015-05-15 20:45:02 -0300
commit57f582abae3e240498c91d3ccf398880bb78d3a2 (patch)
tree7e0f8055bd99947e0228390da8c5ffdd5e4201cd /os
parent621e7198d7ed975152fc2902e3625dcf42285e5e (diff)
downloadChibiOS-Contrib-57f582abae3e240498c91d3ccf398880bb78d3a2.tar.gz
ChibiOS-Contrib-57f582abae3e240498c91d3ccf398880bb78d3a2.tar.bz2
ChibiOS-Contrib-57f582abae3e240498c91d3ccf398880bb78d3a2.zip
Add some GPIO pin definitions
Diffstat (limited to 'os')
-rw-r--r--os/hal/boards/WVSHARE_BLE400/board.h17
1 files changed, 11 insertions, 6 deletions
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" {