From ce7f9addf21d84566a95df6d975d74431854b5ea Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 16 Jan 2017 12:11:04 +0000 Subject: Introduced modularized driver makefiles. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10053 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/LLD/USARTv1/driver.mk | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 os/hal/ports/STM32/LLD/USARTv1/driver.mk (limited to 'os/hal/ports/STM32/LLD/USARTv1') diff --git a/os/hal/ports/STM32/LLD/USARTv1/driver.mk b/os/hal/ports/STM32/LLD/USARTv1/driver.mk new file mode 100644 index 000000000..2f65c1f1f --- /dev/null +++ b/os/hal/ports/STM32/LLD/USARTv1/driver.mk @@ -0,0 +1,13 @@ +ifeq ($(USE_SMART_BUILD),yes) +ifneq ($(findstring HAL_USE_SERIAL TRUE,$(HALCONF)),) +PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/LLD/USARTv1/hal_serial_lld.c +endif +ifneq ($(findstring HAL_USE_UART TRUE,$(HALCONF)),) +PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/LLD/USARTv1/hal_uart_lld.c +endif +else +PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/LLD/USARTv1/hal_serial_lld.c +PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/LLD/USARTv1/hal_uart_lld.c +endif + +PLATFORMINC += $(CHIBIOS)/os/hal/ports/STM32/LLD/USARTv1 -- cgit v1.2.3