-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Makefile.dep: DEFAULT_MODULE += stdio_rtt will always load dependencies - even if other stdio is selected #13460
Copy link
Copy link
Closed
Labels
Area: build systemArea: Build systemArea: Build systemType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)The issue reports a bug / The PR fixes a bug (including spelling errors)
Description
Description
Affected boards:
feather-nrf52840
hamilton
pinetime
ruuvitag
thingy52
DEFAULT_MODULE += stdio_rtt in the /boards/affected_board/Makefile.dep will force the dependencies of stdio_rtt (e.g. xtimer) to load, even if another stdio module is selected.
Steps to reproduce the issue/Actual results
USEMODULE=stdio_null BOARD=ruuvitag make info-modules will print
auto_init
--> auto_init_xtimer
board
boards_common_nrf52xxdk
core
core_init
core_msg
core_panic
cortexm_common
cortexm_common_periph
cortexm_fpu
cpu
cpu_common
--> div
newlib
newlib_nano
newlib_syscalls_default
nrf5x_common_periph
periph
periph_common
periph_gpio
periph_pm
--> periph_timer
stdio_null
sys
--> xtimer
Whereas BOARD=ruuvitag can obviously be replaced with any other affected board.
Expected results
Output above without lines beginning with -->.
Versions
Master
Reactions are currently unavailable
Metadata
Metadata
Labels
Area: build systemArea: Build systemArea: Build systemType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)The issue reports a bug / The PR fixes a bug (including spelling errors)