From 69d3493ce69118f64ec59edf5c82d3fbb009ec0b Mon Sep 17 00:00:00 2001 From: Stephen Caudle Date: Mon, 3 Aug 2015 16:44:44 -0400 Subject: Add I2C support for nRF51 --- os/hal/boards/WVSHARE_BLE400/board.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'os/hal/boards/WVSHARE_BLE400/board.h') diff --git a/os/hal/boards/WVSHARE_BLE400/board.h b/os/hal/boards/WVSHARE_BLE400/board.h index 0a93c20..57578b5 100644 --- a/os/hal/boards/WVSHARE_BLE400/board.h +++ b/os/hal/boards/WVSHARE_BLE400/board.h @@ -34,11 +34,12 @@ #define LED4 22 #define UART_TX 9 #define UART_RX 11 - #define SPI_SCK 25 #define SPI_MOSI 24 #define SPI_MISO 23 #define SPI_SS 30 +#define I2C_SCL 1 +#define I2C_SDA 0 #if !defined(_FROM_ASM_) #ifdef __cplusplus -- cgit v1.2.3