mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Makefile.dep: blacklist bootloader_arduino feature when required
- bootloader_arduino cannot be used if stdio_cdc_acm is not used - stdio_cdc_acm is disabled when other stdio modules are already used
This commit is contained in:
parent
8e2c6c3cce
commit
eb20cfe9ca
11
Makefile.dep
11
Makefile.dep
@ -492,6 +492,17 @@ ifneq (,$(filter stdio_cdc_acm stdio_null stdio_uart slipdev_stdio,$(USEMODULE))
|
||||
DISABLE_MODULE += stdio_rtt
|
||||
endif
|
||||
|
||||
ifneq (,$(filter stdio_rtt stdio_null stdio_uart slipdev_stdio,$(USEMODULE)))
|
||||
# stdio_cdc_acm cannot be used when another STDIO is loaded
|
||||
DISABLE_MODULE += stdio_cdc_acm
|
||||
endif
|
||||
|
||||
ifeq (,$(filter stdio_cdc_acm,$(USEMODULE)))
|
||||
# The arduino bootloader feature cannot be used if the stdio_cdc_acm module
|
||||
# is not used
|
||||
FEATURES_BLACKLIST += bootloader_arduino
|
||||
endif
|
||||
|
||||
ifneq (,$(filter isrpipe,$(USEMODULE)))
|
||||
USEMODULE += tsrb
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user