mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/nucleo-l496zg: use common rtt configuration
This commit is contained in:
parent
f92139509d
commit
ca9bd8e5cc
@ -21,6 +21,7 @@
|
||||
|
||||
#include "periph_cpu.h"
|
||||
#include "cfg_i2c1_pb8_pb9.h"
|
||||
#include "cfg_rtt_default.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@ -220,17 +221,6 @@ static const spi_conf_t spi_config[] = {
|
||||
#define SPI_NUMOF (sizeof(spi_config) / sizeof(spi_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
|
||||
* @{
|
||||
|
Loading…
Reference in New Issue
Block a user