Merge pull request #11365 from smlng/pr/cc2560stk/i2c-conf

boards: add I2C config for cc2650stk
This commit is contained in:
Kevin "Bear Puncher" Weiss 2019-04-09 19:02:22 +02:00 committed by GitHub
commit 2c76637abe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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