mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/blxxpill-128kib: Fix kconfig mismatch
Nightlies are failing due to kconfig mismatch. It would seem this is a result of bringing in the USB stuff. I assume that this uses ztimer periph_timer as a backend as periph_timer is already selected. However, kconfig only resolves one and not recursively making it hard to match. For not a hack is added to override for these boards.
This commit is contained in:
parent
945e40b897
commit
6b5c75cad4
@ -17,4 +17,11 @@ config BOARD_BLACKPILL_128KIB
|
||||
|
||||
select HAS_HIGHLEVEL_STDIO
|
||||
|
||||
# HACK: This is added due to the make resolution
|
||||
# make will select timer backend, probably due to the USBUS
|
||||
# and kconfig cannot select if something is already selected like make
|
||||
choice ZTIMER_MSEC_BACKEND
|
||||
default ZTIMER_MSEC_BACKEND_TIMER if MODULE_PERIPH_RTC
|
||||
endchoice
|
||||
|
||||
source "$(RIOTBOARD)/common/blxxxpill/Kconfig"
|
||||
|
@ -17,4 +17,11 @@ config BOARD_BLUEPILL_128KIB
|
||||
|
||||
select HAS_HIGHLEVEL_STDIO
|
||||
|
||||
# HACK: This is added due to the make resolution
|
||||
# make will select timer backend, probably due to the USBUS
|
||||
# and kconfig cannot select if something is already selected like make
|
||||
choice ZTIMER_MSEC_BACKEND
|
||||
default ZTIMER_MSEC_BACKEND_TIMER if MODULE_PERIPH_RTC
|
||||
endchoice
|
||||
|
||||
source "$(RIOTBOARD)/common/blxxxpill/Kconfig"
|
||||
|
@ -59,7 +59,7 @@ config MODULE_ZTIMER_MSEC
|
||||
bool "Milliseconds"
|
||||
select MODULE_ZTIMER
|
||||
|
||||
choice
|
||||
choice ZTIMER_MSEC_BACKEND
|
||||
bool "Backend"
|
||||
depends on MODULE_ZTIMER_MSEC
|
||||
default ZTIMER_MSEC_BACKEND_RTT if !MODULE_ZTIMER_NO_PERIPH_RTT
|
||||
|
Loading…
Reference in New Issue
Block a user