From d621dbde1a8fa118595a1e04133165a39e79fbba Mon Sep 17 00:00:00 2001 From: Laurentiu Mihalcea Date: Wed, 4 Jun 2025 14:20:25 -0400 Subject: [PATCH] modules: hal_nxp: migrate dma_nxp_edma driver to SDK-NG Migrate the dma_nxp_edma driver to SDK-NG. This means: 1) Adding the CMAKE logic required for compiling the module 2) Updating the HAL_NXP manifest to pull in the patches which handle the migration on the HAL side 3) Removing CMAKE logic from old mcux-sdk so that they are no longer included in the build Signed-off-by: Laurentiu Mihalcea --- modules/hal_nxp/mcux/mcux-sdk-ng/drivers/drivers.cmake | 1 + modules/hal_nxp/mcux/mcux-sdk/CMakeLists.txt | 2 -- west.yml | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/hal_nxp/mcux/mcux-sdk-ng/drivers/drivers.cmake b/modules/hal_nxp/mcux/mcux-sdk-ng/drivers/drivers.cmake index 969cf871346..d5ffc62cc19 100644 --- a/modules/hal_nxp/mcux/mcux-sdk-ng/drivers/drivers.cmake +++ b/modules/hal_nxp/mcux/mcux-sdk-ng/drivers/drivers.cmake @@ -64,6 +64,7 @@ set_variable_ifdef(CONFIG_DMA_MCUX_EDMA_V3 CONFIG_MCUX_COMPONENT_driver.dma set_variable_ifdef(CONFIG_DMA_MCUX_EDMA CONFIG_MCUX_COMPONENT_driver.edma) set_variable_ifdef(CONFIG_DMA_MCUX_EDMA_V3 CONFIG_MCUX_COMPONENT_driver.dma3) set_variable_ifdef(CONFIG_DMA_MCUX_EDMA_V4 CONFIG_MCUX_COMPONENT_driver.edma4) +set_variable_ifdef(CONFIG_DMA_NXP_EDMA CONFIG_MCUX_COMPONENT_driver.edma_rev2) set_variable_ifdef(CONFIG_ENTROPY_MCUX_RNGA CONFIG_MCUX_COMPONENT_driver.rnga) set_variable_ifdef(CONFIG_ENTROPY_MCUX_TRNG CONFIG_MCUX_COMPONENT_driver.trng) set_variable_ifdef(CONFIG_ENTROPY_MCUX_CAAM CONFIG_MCUX_COMPONENT_driver.caam) diff --git a/modules/hal_nxp/mcux/mcux-sdk/CMakeLists.txt b/modules/hal_nxp/mcux/mcux-sdk/CMakeLists.txt index 70bd548d18b..dc3b10adfc7 100644 --- a/modules/hal_nxp/mcux/mcux-sdk/CMakeLists.txt +++ b/modules/hal_nxp/mcux/mcux-sdk/CMakeLists.txt @@ -76,8 +76,6 @@ if (DEFINED CONFIG_SOC_RESET_HOOK) endif() endif() -include_driver_ifdef(CONFIG_DMA_NXP_EDMA edma_rev2 driver_edma_rev2) - if(CONFIG_CPU_CORTEX_A) include_driver_ifdef(CONFIG_HAS_MCUX_CACHE cache/armv8-a driver_cache_armv8a) endif() diff --git a/west.yml b/west.yml index 65633f4f61e..d5d55bbdbfc 100644 --- a/west.yml +++ b/west.yml @@ -210,7 +210,7 @@ manifest: groups: - hal - name: hal_nxp - revision: f37e22e5246d862161f024485ca369f70c20ffc0 + revision: 008b9ccda27eea95370762808da10d5834ca1529 path: modules/hal/nxp groups: - hal