tests: drivers: dma: loop_transfer: add stm32h750b_dk config

Run test on stm32h750b_dk board

Signed-off-by: Abderrahmane Jarmouni <git@jarmouni.me>
This commit is contained in:
Abderrahmane Jarmouni 2024-09-22 13:20:04 +02:00 committed by Carles Cufí
commit 3a9215a54e
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,8 @@
CONFIG_DMA_LOOP_TRANSFER_CHANNEL_NR=3
CONFIG_DMA_LOOP_TRANSFER_NUMBER_OF_DMAS=2
# Required by BDMA which only has access to
# SRAM4 & the driver excpects it to be uncached as well.
# Other DMAs have access to SRAM4 as well.
CONFIG_CODE_DATA_RELOCATION=y
CONFIG_DMA_LOOP_TRANSFER_RELOCATE_SECTION="SRAM4"

View file

@ -0,0 +1,31 @@
/*
* Copyright (c) 2024 Abderrahmane JARMOUNI
*
* SPDX-License-Identifier: Apache-2.0
*/
&sram4 {
zephyr,memory-attr = <DT_MEM_ARM_MPU_RAM_NOCACHE>;
zephyr,memory-region = "SRAM4";
status = "okay";
};
&dma1 {
status = "okay";
};
&dma2 {
status = "okay";
};
tst_dma0: &dmamux1 {
status = "okay";
};
&bdma1 {
status = "okay";
};
tst_dma1: &dmamux2 {
status = "okay";
};