mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
d29652350b
Failing to provide any of the required features can provide a message such as: There are unsatisfied feature requirements: periph_uart|periph_lpuart This can be confusing and may hide the actual. E.g. above message was generated when using SPI on the `msb-430` and `stdio_uart`. However, the MSB-430 board *does* provide `periph_uart`, so this looks like a bug in the feature resolution. This changes the failure mode of `FEATURES_REQUIRED_ANY` to just pick the first of the alternatives given if none of the alternative is usable, which gives in the example the following message instead: The following features may conflict: periph_spi periph_uart Rationale: Both SPI and UART are provided by the same USART peripheral The output is less surprising and can provide non-obvious reasons why `FEATURES_REQUIRED_ANY` failed to pick a feature. The downside is that the alternatives are no longer visible. However, that output likely was so confusing this might be for the best. Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de> |
||
---|---|---|
.. | ||
arch | ||
boards | ||
boot | ||
libc | ||
pkg | ||
tests | ||
toolchain | ||
tools | ||
utils | ||
app_dirs.inc.mk | ||
application.inc.mk | ||
auto_init.inc.mk | ||
bindist.inc.mk | ||
blob.inc.mk | ||
boards.inc.mk | ||
buildtests.inc.mk | ||
cargo-settings.inc.mk | ||
cargo-targets.inc.mk | ||
cflags.inc.mk | ||
clang_tidy.inc.mk | ||
color.inc.mk | ||
default-radio-settings.inc.mk | ||
defaultmodules_deps.inc.mk | ||
defaultmodules_no_recursive_deps.inc.mk | ||
defaultmodules_regular.inc.mk | ||
dependencies_debug.inc.mk | ||
dependency_resolution.inc.mk | ||
deprecated_boards.inc.mk | ||
deprecated_cpus.inc.mk | ||
deprecated_modules.inc.mk | ||
docker.inc.mk | ||
driver_with_disp_dev.mk | ||
driver_with_saul.mk | ||
driver_with_touch_dev.mk | ||
eclipse.inc.mk | ||
features_check.inc.mk | ||
features_modules.inc.mk | ||
git_version.inc.mk | ||
info-global.inc.mk | ||
info-nproc.inc.mk | ||
info.inc.mk | ||
kconfig.mk | ||
mcuboot.mk | ||
modules.inc.mk | ||
murdock.inc.mk | ||
periph.mk | ||
pio.inc.mk | ||
pseudomodules.inc.mk | ||
scan-build.inc.mk | ||
stdio.inc.mk | ||
suit.base.inc.mk | ||
suit.inc.mk | ||
tests.inc.mk | ||
ubsan.inc.mk | ||
usb-codes.inc.mk | ||
vars.inc.mk |