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 @@ -136,6 +136,7 @@ SRC_HAL_IMX_C += \
136136 $(MCUX_SDK_DIR ) /drivers/lpi2c/fsl_lpi2c.c \
137137 $(MCUX_SDK_DIR ) /drivers/lpspi/fsl_lpspi.c \
138138 $(MCUX_SDK_DIR ) /drivers/lpspi/fsl_lpspi_edma.c \
139+ $(MCUX_SDK_DIR ) /drivers/lpuart/fsl_lpuart.c \
139140 $(MCUX_SDK_DIR ) /drivers/pit/fsl_pit.c \
140141 $(MCUX_SDK_DIR ) /drivers/pwm/fsl_pwm.c \
141142 $(MCUX_SDK_DIR ) /drivers/sai/fsl_sai.c \
151152SRC_HAL_IMX_C += $(MCU_DIR ) /xip/fsl_flexspi_nor_boot.c
152153endif
153154
155+ LDFLAGS += --wrap=LPUART_TransferHandleIRQ
156+
154157INC_HAL_IMX += \
155158 -I$(TOP ) /$(MCU_DIR ) \
156159 -I$(TOP ) /$(MCU_DIR ) /drivers \
@@ -243,7 +246,6 @@ SRC_C += \
243246 eth.c \
244247 fatfs_port.c \
245248 flash.c \
246- hal/fsl_lpuart.c \
247249 hal/pwm_backport.c \
248250 help.c \
249251 led.c \
@@ -489,7 +491,8 @@ LDFLAGS += \
489491 --cref \
490492 --gc-sections \
491493 --print-memory-usage \
492- -Map=$@ .map
494+ -Map=$@ .map \
495+ --wrap=LPUART_TransferHandleIRQ
493496
494497# LDDEFINES are used for link time adaptation of linker scripts, utilizing
495498# the C preprocessor. Therefore keep LDDEFINES separated from LDFLAGS!
You can’t perform that action at this time.
0 commit comments