Skip to content

Commit ab6c28f

Browse files
biwenlifabiobaltieri
authored andcommitted
soc: nxp: imx943: set dma tcd queue size to fix build issues
Set dma tcd queue size to 4 defaultly to fix build issues, - error: static assertion failed: NUM_DMA_BLOCKS_RX_PREP must be < CONFIG_DMA_TCD_QUEUE_SIZE #define BUILD_ASSERT(EXPR, MSG...) _Static_assert((EXPR),... drivers/i2s/i2s_mcux_sai.c:45: note: in expansion of macro BUILD_ASSERT BUILD_ASSERT(MAX_TX_DMA_BLOCKS > NUM_DMA_BLOCKS_RX_PREP, Signed-off-by: Biwen Li <[email protected]>
1 parent a57fcc1 commit ab6c28f

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

soc/nxp/imx/imx9/imx943/Kconfig.defconfig.mimx94398.m33

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,7 @@ configdefault SYS_CLOCK_TICKS_PER_SEC
4747

4848
endif
4949

50+
configdefault DMA_TCD_QUEUE_SIZE
51+
default 4
52+
5053
endif # SOC_MIMX94398_M33

soc/nxp/imx/imx9/imx943/Kconfig.defconfig.mimx94398.m7_0

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,7 @@ configdefault SYS_CLOCK_TICKS_PER_SEC
4949

5050
endif
5151

52+
configdefault DMA_TCD_QUEUE_SIZE
53+
default 4
54+
5255
endif # SOC_MIMX94398_M7_0

soc/nxp/imx/imx9/imx943/Kconfig.defconfig.mimx94398.m7_1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,7 @@ configdefault SYS_CLOCK_TICKS_PER_SEC
4949

5050
endif
5151

52+
configdefault DMA_TCD_QUEUE_SIZE
53+
default 4
54+
5255
endif # SOC_MIMX94398_M7_1

0 commit comments

Comments
 (0)