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 \
@@ -487,7 +489,8 @@ LDFLAGS += \
487489 --cref \
488490 --gc-sections \
489491 --print-memory-usage \
490- -Map=$@ .map
492+ -Map=$@ .map \
493+ --wrap=LPUART_TransferHandleIRQ
491494
492495# LDDEFINES are used for link time adaptation of linker scripts, utilizing
493496# the C preprocessor. Therefore keep LDDEFINES separated from LDFLAGS!
You can’t perform that action at this time.
0 commit comments