Merge pull request #11365 from smlng/pr/cc2560stk/i2c-conf
boards: add I2C config for cc2650stk
This commit is contained in:
commit
2c76637abe
@ -1,5 +1,6 @@
|
|||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
|
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
|
||||||
|
FEATURES_PROVIDED += periph_i2c
|
||||||
FEATURES_PROVIDED += periph_timer
|
FEATURES_PROVIDED += periph_timer
|
||||||
FEATURES_PROVIDED += periph_uart
|
FEATURES_PROVIDED += periph_uart
|
||||||
|
|
||||||
|
|||||||
@ -78,6 +78,15 @@ static const timer_conf_t timer_config[] = {
|
|||||||
#define UART_TX_PIN (29)
|
#define UART_TX_PIN (29)
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @name I2C configuration
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
#define I2C_NUMOF (1)
|
||||||
|
#define I2C_SDA_PIN (5)
|
||||||
|
#define I2C_SCL_PIN (6)
|
||||||
|
/** @} */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user