Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions tests/drivers/dma/loop_transfer/boards/stm32h750b_dk.conf
Original file line number Diff line number Diff line change
@@ -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"
31 changes: 31 additions & 0 deletions tests/drivers/dma/loop_transfer/boards/stm32h750b_dk.overlay
Original file line number Diff line number Diff line change
@@ -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";
};