File tree Expand file tree Collapse file tree 3 files changed +32
-2015
lines changed Expand file tree Collapse file tree 3 files changed +32
-2015
lines changed Original file line number Diff line number Diff line change @@ -135,6 +135,7 @@ SRC_HAL_IMX_C += \
135135 $(MCUX_SDK_DIR ) /drivers/lpi2c/fsl_lpi2c.c \
136136 $(MCUX_SDK_DIR ) /drivers/lpspi/fsl_lpspi.c \
137137 $(MCUX_SDK_DIR ) /drivers/lpspi/fsl_lpspi_edma.c \
138+ $(MCUX_SDK_DIR ) /drivers/lpuart/fsl_lpuart.c \
138139 $(MCUX_SDK_DIR ) /drivers/pit/fsl_pit.c \
139140 $(MCUX_SDK_DIR ) /drivers/pwm/fsl_pwm.c \
140141 $(MCUX_SDK_DIR ) /drivers/sai/fsl_sai.c \
150151SRC_HAL_IMX_C += $(MCU_DIR ) /xip/fsl_flexspi_nor_boot.c
151152endif
152153
154+ LDFLAGS += --wrap=LPUART_TransferHandleIRQ
155+
153156INC_HAL_IMX += \
154157 -I$(TOP ) /$(MCU_DIR ) \
155158 -I$(TOP ) /$(MCU_DIR ) /drivers \
@@ -235,7 +238,6 @@ SRC_C += \
235238 eth.c \
236239 fatfs_port.c \
237240 flash.c \
238- hal/fsl_lpuart.c \
239241 hal/pwm_backport.c \
240242 help.c \
241243 led.c \
@@ -467,7 +469,8 @@ LDFLAGS += \
467469 --cref \
468470 --gc-sections \
469471 --print-memory-usage \
470- -Map=$@ .map
472+ -Map=$@ .map \
473+ --wrap=LPUART_TransferHandleIRQ
471474
472475# LDDEFINES are used for link time adaptation of linker scripts, utilizing
473476# the C preprocessor. Therefore keep LDDEFINES separated from LDFLAGS!
You can’t perform that action at this time.
0 commit comments