Commit 3a9215a5 authored by Abderrahmane Jarmouni's avatar Abderrahmane Jarmouni Committed by Carles Cufi
Browse files

tests: drivers: dma: loop_transfer: add stm32h750b_dk config



Run test on stm32h750b_dk board

Signed-off-by: default avatarAbderrahmane Jarmouni <git@jarmouni.me>
parent d8c1d4d7
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
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"
+31 −0
Original line number Diff line number Diff line
/*
 * 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";
};