mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/common/nucleo: increase XTIMER_BACKOFF for STM32F1 boards
- Boards using stm32f103xx use the same custom config for xtimer which relies on the same underlying hardware timers that hang when sleeping for <20us so spin when approaching that limit.
This commit is contained in:
parent
db08af4586
commit
ed3a716ffd
@ -67,7 +67,7 @@ void board_init(void);
|
||||
* @{
|
||||
*/
|
||||
#define XTIMER_WIDTH (16)
|
||||
#define XTIMER_BACKOFF 5
|
||||
#define XTIMER_BACKOFF (19)
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -61,7 +61,7 @@ void board_init(void);
|
||||
* @{
|
||||
*/
|
||||
#define XTIMER_WIDTH (16)
|
||||
#define XTIMER_BACKOFF 5
|
||||
#define XTIMER_BACKOFF (19)
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -44,7 +44,7 @@ extern "C" {
|
||||
|
||||
#if defined(CPU_FAM_STM32F1)
|
||||
#define XTIMER_WIDTH (16)
|
||||
#define XTIMER_BACKOFF (5)
|
||||
#define XTIMER_BACKOFF (19)
|
||||
#endif
|
||||
|
||||
#if defined(CPU_FAM_STM32L1)
|
||||
|
@ -29,7 +29,7 @@ extern "C" {
|
||||
* @{
|
||||
*/
|
||||
#define XTIMER_WIDTH (16)
|
||||
#define XTIMER_BACKOFF 5
|
||||
#define XTIMER_BACKOFF (19)
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
@ -29,7 +29,7 @@ extern "C" {
|
||||
* @{
|
||||
*/
|
||||
#define XTIMER_WIDTH (16)
|
||||
#define XTIMER_BACKOFF 5
|
||||
#define XTIMER_BACKOFF (19)
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user