aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/boards/WVSHARE_BLE400/board.h
diff options
context:
space:
mode:
authorStephen Caudle <stephen@caudle.info>2015-08-03 16:44:44 -0400
committerStephen Caudle <stephen@caudle.info>2015-08-20 22:45:21 -0400
commit69d3493ce69118f64ec59edf5c82d3fbb009ec0b (patch)
treec11f9177988971899ea1afa351e5c52bcfbb8fe1 /os/hal/boards/WVSHARE_BLE400/board.h
parente3d91636280ab201b5ad56741a43ef7c22069700 (diff)
downloadChibiOS-Contrib-69d3493ce69118f64ec59edf5c82d3fbb009ec0b.tar.gz
ChibiOS-Contrib-69d3493ce69118f64ec59edf5c82d3fbb009ec0b.tar.bz2
ChibiOS-Contrib-69d3493ce69118f64ec59edf5c82d3fbb009ec0b.zip
Add I2C support for nRF51
Diffstat (limited to 'os/hal/boards/WVSHARE_BLE400/board.h')
-rw-r--r--os/hal/boards/WVSHARE_BLE400/board.h3
1 files changed, 2 insertions, 1 deletions
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