mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/cc2650-launchpad: configure i2c feature
This commit is contained in:
parent
07eb8554f8
commit
44ecf0e7f2
@ -2,6 +2,7 @@
|
||||
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
|
||||
FEATURES_PROVIDED += periph_timer
|
||||
FEATURES_PROVIDED += periph_uart
|
||||
FEATURES_PROVIDED += periph_i2c
|
||||
|
||||
# The board MPU family (used for grouping by the CI system)
|
||||
FEATURES_MCU_GROUP = cortex_m3_1
|
||||
|
@ -80,6 +80,15 @@ static const timer_conf_t timer_config[] = {
|
||||
#define UART_TX_PIN (3)
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @name I2C configuration
|
||||
* @{
|
||||
*/
|
||||
#define I2C_NUMOF (1)
|
||||
#define I2C_SDA_PIN (14)
|
||||
#define I2C_SCL_PIN (15)
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user