1
0
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:
Alexandre Abadie 2019-10-12 23:29:58 +02:00
parent 8e2c6c3cce
commit eb20cfe9ca
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -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