Skip to content

Commit

Permalink
mimxrt/fsl_lpuart: Use a wrapper function to handle IRQ Idle support.
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Leech <andrew.leech@planetinnovation.com.au>
  • Loading branch information
pi-anl committed Nov 14, 2024
1 parent 96adb2f commit 8ac7e3d
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2,014 deletions.
4 changes: 3 additions & 1 deletion ports/mimxrt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ SRC_HAL_IMX_C += \
$(MCUX_SDK_DIR)/drivers/lpi2c/fsl_lpi2c.c \
$(MCUX_SDK_DIR)/drivers/lpspi/fsl_lpspi.c \
$(MCUX_SDK_DIR)/drivers/lpspi/fsl_lpspi_edma.c \
$(MCUX_SDK_DIR)/drivers/lpuart/fsl_lpuart.c \
$(MCUX_SDK_DIR)/drivers/pit/fsl_pit.c \
$(MCUX_SDK_DIR)/drivers/pwm/fsl_pwm.c \
$(MCUX_SDK_DIR)/drivers/sai/fsl_sai.c \
Expand All @@ -149,6 +150,8 @@ else
SRC_HAL_IMX_C += $(MCU_DIR)/xip/fsl_flexspi_nor_boot.c
endif

LDFLAGS += --wrap=LPUART_TransferHandleIRQ

INC_HAL_IMX += \
-I$(TOP)/$(MCU_DIR) \
-I$(TOP)/$(MCU_DIR)/drivers \
Expand Down Expand Up @@ -234,7 +237,6 @@ SRC_C += \
eth.c \
fatfs_port.c \
flash.c \
hal/fsl_lpuart.c \
hal/pwm_backport.c \
help.c \
led.c \
Expand Down
Loading

0 comments on commit 8ac7e3d

Please sign in to comment.