1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards: add I2C config for cc2650stk

This commit is contained in:
Sebastian Meiling 2019-04-09 18:07:06 +02:00
parent a1a8d3564c
commit 29efd8402f
2 changed files with 10 additions and 0 deletions

View File

@ -1,5 +1,6 @@
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart

View File

@ -78,6 +78,15 @@ static const timer_conf_t timer_config[] = {
#define UART_TX_PIN (29)
/** @} */
/**
* @name I2C configuration
* @{
*/
#define I2C_NUMOF (1)
#define I2C_SDA_PIN (5)
#define I2C_SCL_PIN (6)
/** @} */
#ifdef __cplusplus
}
#endif