Update driver.mk
This commit is contained in:
parent
0d462dc0c4
commit
f9ed7a6f05
|
@ -1,13 +1,13 @@
|
|||
ifeq ($(USE_SMART_BUILD),yes)
|
||||
ifneq ($(findstring HAL_USE_SERIAL TRUE,$(HALCONF)),)
|
||||
PLATFORMSRC += $(CHIBIOS_CONTRIB)/os/hal/ports/WB32/LLD/UARTv1/hal_serial_lld.c
|
||||
PLATFORMSRC_CONTRIB += $(CHIBIOS_CONTRIB)/os/hal/ports/WB32/LLD/UARTv1/hal_serial_lld.c
|
||||
endif
|
||||
ifneq ($(findstring HAL_USE_UART TRUE,$(HALCONF)),)
|
||||
PLATFORMSRC += $(CHIBIOS_CONTRIB)/os/hal/ports/WB32/LLD/UARTv1/hal_uart_lld.c
|
||||
PLATFORMSRC_CONTRIB += $(CHIBIOS_CONTRIB)/os/hal/ports/WB32/LLD/UARTv1/hal_uart_lld.c
|
||||
endif
|
||||
else
|
||||
PLATFORMSRC += $(CHIBIOS_CONTRIB)/os/hal/ports/WB32/LLD/UARTv1/hal_serial_lld.c
|
||||
PLATFORMSRC += $(CHIBIOS_CONTRIB)/os/hal/ports/WB32/LLD/UARTv1/hal_uart_lld.c
|
||||
PLATFORMSRC_CONTRIB += $(CHIBIOS_CONTRIB)/os/hal/ports/WB32/LLD/UARTv1/hal_serial_lld.c
|
||||
PLATFORMSRC_CONTRIB += $(CHIBIOS_CONTRIB)/os/hal/ports/WB32/LLD/UARTv1/hal_uart_lld.c
|
||||
endif
|
||||
|
||||
PLATFORMINC_CONTRIB += $(CHIBIOS_CONTRIB)/os/hal/ports/WB32/LLD/UARTv1
|
||||
|
|
Loading…
Reference in New Issue