blob: f8becf8e6ea8358eecf81c39668090a154f611be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
ifeq ($(USE_SMART_BUILD),yes)
ifneq ($(findstring HAL_USE_SERIAL TRUE,$(HALCONF)),)
PLATFORMSRC += ${CHIBIOS}/os/hal/ports/AVR/TINY/LLD/USARTv1/hal_serial_lld.c
endif
ifneq ($(findstring HAL_USE_UART TRUE,$(HALCONF)),)
PLATFORMSRC += ${CHIBIOS}/os/hal/ports/AVR/TINY/LLD/USARTv1/hal_uart_lld.c
endif
else
PLATFORMSRC += ${CHIBIOS}/os/hal/ports/AVR/TINY/LLD/USARTv1/hal_serial_lld.c
PLATFORMSRC += ${CHIBIOS}/os/hal/ports/AVR/TINY/LLD/USARTv1/hal_uart_lld.c
endif
PLATFORMINC += ${CHIBIOS}/os/hal/ports/AVR/TINY/LLD/USARTv1
|