Merge pull request #11266 from aabadie/pr/boards/b-l072z-lrwan1_rtt
boards/b-l072z-lrwan1: provide periph_rtt feature
This commit is contained in:
commit
242c0cc7aa
@ -2,6 +2,7 @@
|
|||||||
FEATURES_PROVIDED += periph_dma
|
FEATURES_PROVIDED += periph_dma
|
||||||
FEATURES_PROVIDED += periph_i2c
|
FEATURES_PROVIDED += periph_i2c
|
||||||
FEATURES_PROVIDED += periph_rtc
|
FEATURES_PROVIDED += periph_rtc
|
||||||
|
FEATURES_PROVIDED += periph_rtt
|
||||||
FEATURES_PROVIDED += periph_spi
|
FEATURES_PROVIDED += periph_spi
|
||||||
FEATURES_PROVIDED += periph_timer
|
FEATURES_PROVIDED += periph_timer
|
||||||
FEATURES_PROVIDED += periph_uart
|
FEATURES_PROVIDED += periph_uart
|
||||||
|
|||||||
@ -220,6 +220,17 @@ static const i2c_conf_t i2c_config[] = {
|
|||||||
#define I2C_NUMOF (sizeof(i2c_config) / sizeof(i2c_config[0]))
|
#define I2C_NUMOF (sizeof(i2c_config) / sizeof(i2c_config[0]))
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @name RTT configuration
|
||||||
|
*
|
||||||
|
* On the STM32Lx platforms, we always utilize the LPTIM1.
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
#define RTT_NUMOF (1)
|
||||||
|
#define RTT_FREQUENCY (1024U) /* 32768 / 2^n */
|
||||||
|
#define RTT_MAX_VALUE (0x0000ffff) /* 16-bit timer */
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name RTC configuration
|
* @name RTC configuration
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user