Moved ADuCM Serial Driver under a common folder as the driver will be shared across different platforms.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13491 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Rocco Marco Guglielmi 2020-03-31 11:55:38 +00:00
parent 8b25109b26
commit 69370d58d3
4 changed files with 14 additions and 6 deletions

View File

@ -3,7 +3,6 @@ PLATFORMSRC := $(CHIBIOS)/os/hal/ports/common/ARMCMx/nvic.c \
$(CHIBIOS)/os/hal/ports/ADUCM/ADUCM36x/aducm_isr.c \
$(CHIBIOS)/os/hal/ports/ADUCM/ADUCM36x/hal_lld.c \
$(CHIBIOS)/os/hal/ports/ADUCM/ADUCM36x/hal_pal_lld.c \
$(CHIBIOS)/os/hal/ports/ADUCM/ADUCM36x/hal_serial_lld.c \
$(CHIBIOS)/os/hal/ports/ADUCM/ADUCM36x/hal_spi_lld.c \
$(CHIBIOS)/os/hal/ports/ADUCM/ADUCM36x/hal_st_lld.c
@ -29,7 +28,7 @@ else
endif
# Drivers compatible with the platform.
# include $(CHIBIOS)/os/hal/ports/ADUCM/ADUCM36x/GPIOv1/driver.mk
include $(CHIBIOS)/os/hal/ports/ADUCM/LLD/UARTv1/driver.mk
# Shared variables
ALLCSRC += $(PLATFORMSRC)

View File

@ -0,0 +1,9 @@
ifeq ($(USE_SMART_BUILD),yes)
ifneq ($(findstring HAL_USE_SERIAL TRUE,$(HALCONF)),)
PLATFORMSRC += $(CHIBIOS)/os/hal/ports/ADUCM/LLD/UARTv1/hal_serial_lld.c
endif
else
PLATFORMSRC += $(CHIBIOS)/os/hal/ports/ADUCM/LLD/UARTv1/hal_serial_lld.c
endif
PLATFORMINC += $(CHIBIOS)/os/hal/ports/ADUCM/LLD/UARTv1

View File

@ -15,8 +15,8 @@
*/
/**
* @file ADUCM36x/hal_serial_lld.c
* @brief ADUCM serial subsystem low level driver source.
* @file UARTv1/hal_serial_lld.c
* @brief ADUCM low level serial driver code.
*
* @addtogroup SERIAL
* @{

View File

@ -15,8 +15,8 @@
*/
/**
* @file ADUCM36x/hal_serial_lld.h
* @brief ADUCM serial subsystem low level driver header.
* @file UARTv1/hal_serial_lld.c
* @brief ADUCM low level serial driver header.
*
* @addtogroup SERIAL
* @{