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: Mathieu Choplain <mathieu.choplain@st.com>
This commit is contained in:
Mathieu Choplain 2024-08-21 14:09:18 +02:00 committed by Anas Nashif
commit eaa799a9b5
8 changed files with 8 additions and 8 deletions

View file

@ -1,3 +1,3 @@
CONFIG_CODE_DATA_RELOCATION=y
CONFIG_MEM_ATTR_HEAP=y
CONFIG_DMA_LOOP_TRANSFER_RELOCATE_SECTION="ITCM"
CONFIG_DMA_LOOP_TRANSFER_RELOCATE_SECTION="DTCM"

View file

@ -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) )>;
};

View file

@ -1,3 +1,3 @@
CONFIG_CODE_DATA_RELOCATION=y
CONFIG_MEM_ATTR_HEAP=y
CONFIG_DMA_LOOP_TRANSFER_RELOCATE_SECTION="ITCM"
CONFIG_DMA_LOOP_TRANSFER_RELOCATE_SECTION="DTCM"

View file

@ -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) )>;
};

View file

@ -1,3 +1,3 @@
CONFIG_CODE_DATA_RELOCATION=y
CONFIG_MEM_ATTR_HEAP=y
CONFIG_DMA_LOOP_TRANSFER_RELOCATE_SECTION="ITCM"
CONFIG_DMA_LOOP_TRANSFER_RELOCATE_SECTION="DTCM"

View file

@ -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) )>;
};

View file

@ -1,3 +1,3 @@
CONFIG_CODE_DATA_RELOCATION=y
CONFIG_MEM_ATTR_HEAP=y
CONFIG_DMA_LOOP_TRANSFER_RELOCATE_SECTION="ITCM"
CONFIG_DMA_LOOP_TRANSFER_RELOCATE_SECTION="DTCM"

View file

@ -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) )>;
};