Commit 0b41a271 authored by Mathieu Choplain's avatar Mathieu Choplain Committed by Anas Nashif
Browse files

tests: dma/chan_blen_transfer: move buffer to DMA-accessible memory



This commit moves the test buffer from ITCM (not accessible by DMA) to DTCM
on several NXP boards, to make the test successful.

Signed-off-by: default avatarMathieu Choplain <mathieu.choplain@st.com>
(cherry picked from commit eaa799a9)
parent a23758db
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
CONFIG_CODE_DATA_RELOCATION=y
CONFIG_MEM_ATTR_HEAP=y
CONFIG_DMA_LOOP_TRANSFER_RELOCATE_SECTION="ITCM"
CONFIG_DMA_LOOP_TRANSFER_RELOCATE_SECTION="DTCM"
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@

#include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>

&itcm {
&dtcm {
	zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_RAM_NOCACHE) )>;
};

+1 −1
Original line number Diff line number Diff line
CONFIG_CODE_DATA_RELOCATION=y
CONFIG_MEM_ATTR_HEAP=y
CONFIG_DMA_LOOP_TRANSFER_RELOCATE_SECTION="ITCM"
CONFIG_DMA_LOOP_TRANSFER_RELOCATE_SECTION="DTCM"
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@

#include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>

&itcm {
&dtcm {
	zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_RAM_NOCACHE) )>;
};

+1 −1
Original line number Diff line number Diff line
CONFIG_CODE_DATA_RELOCATION=y
CONFIG_MEM_ATTR_HEAP=y
CONFIG_DMA_LOOP_TRANSFER_RELOCATE_SECTION="ITCM"
CONFIG_DMA_LOOP_TRANSFER_RELOCATE_SECTION="DTCM"
Loading