From d582e4d37e75b28dff59d380951b0063189ed5a2 Mon Sep 17 00:00:00 2001 From: Peter van der Perk Date: Fri, 11 Aug 2023 13:22:02 +0200 Subject: [PATCH] boards: imxrt teensy-4.x/imxrt1064: Enable dma for lpi2c/lpspi --- boards/arm/imxrt/imxrt1064-evk/configs/lvgl/defconfig | 2 ++ boards/arm/imxrt/teensy-4.x/configs/lcd-4.1/defconfig | 3 +++ 2 files changed, 5 insertions(+) diff --git a/boards/arm/imxrt/imxrt1064-evk/configs/lvgl/defconfig b/boards/arm/imxrt/imxrt1064-evk/configs/lvgl/defconfig index f225595ca0..ec0381a06c 100644 --- a/boards/arm/imxrt/imxrt1064-evk/configs/lvgl/defconfig +++ b/boards/arm/imxrt/imxrt1064-evk/configs/lvgl/defconfig @@ -30,6 +30,7 @@ CONFIG_FT5X06_THRESHX=9 CONFIG_FT5X06_THRESHY=15 CONFIG_GRAPHICS_LVGL=y CONFIG_IDLETHREAD_STACKSIZE=2048 +CONFIG_IMXRT_EDMA=y CONFIG_IMXRT_GPIO1_0_15_IRQ=y CONFIG_IMXRT_GPIO_IRQ=y CONFIG_IMXRT_LCD=y @@ -38,6 +39,7 @@ CONFIG_IMXRT_LCD_HFRONTPORCH=8 CONFIG_IMXRT_LCD_VBACKPORCH=12 CONFIG_IMXRT_LCD_VRAMBASE=0x20240000 CONFIG_IMXRT_LPI2C1=y +CONFIG_IMXRT_LPI2C_DMA=y CONFIG_IMXRT_LPUART1=y CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INPUT=y diff --git a/boards/arm/imxrt/teensy-4.x/configs/lcd-4.1/defconfig b/boards/arm/imxrt/teensy-4.x/configs/lcd-4.1/defconfig index 3806ed62c9..6369eb33e7 100644 --- a/boards/arm/imxrt/teensy-4.x/configs/lcd-4.1/defconfig +++ b/boards/arm/imxrt/teensy-4.x/configs/lcd-4.1/defconfig @@ -24,7 +24,10 @@ CONFIG_DRIVERS_VIDEO=y CONFIG_EXAMPLES_FB=y CONFIG_FS_PROCFS=y CONFIG_IDLETHREAD_STACKSIZE=2048 +CONFIG_IMXRT_EDMA=y CONFIG_IMXRT_LPSPI4=y +CONFIG_IMXRT_LPSPI4_DMA=y +CONFIG_IMXRT_LPSPI_DMA=y CONFIG_IMXRT_LPUART1=y CONFIG_IMXRT_USBDEV=y CONFIG_INIT_ENTRYPOINT="nsh_main"