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:
parent
d8c1d4d7b6
commit
3a9215a54e
2 changed files with 39 additions and 0 deletions
|
@ -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
tests/drivers/dma/loop_transfer/boards/stm32h750b_dk.overlay
Normal file
31
tests/drivers/dma/loop_transfer/boards/stm32h750b_dk.overlay
Normal 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";
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue