tests: drivers: dma: stm32h7: use auto generated linker section

Change this test to use the automatically generated linker section
to place the buffer in SRAM4, instead of using the manually created
region added in 088d38f. This is in preperation of removing the
manually created section.

Signed-off-by: Hein Wessels <heinwessels93@gmail.com>
This commit is contained in:
Hein Wessels 2023-03-24 09:37:00 +01:00 committed by Fabio Baltieri
commit b208fc52c7
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ CONFIG_DMA_LOOP_TRANSFER_NUMBER_OF_DMAS=2
# Required by BDMA which only has access to
# a NOCACHE SRAM4 section. All other DMAs also
# has access to this section.
CONFIG_DMA_LOOP_TRANSFER_SRAM_SECTION=".sram4"
CONFIG_DMA_LOOP_TRANSFER_SRAM_SECTION="SRAM4.dma"
# Required for SRAM4 to be non-cachable
CONFIG_NOCACHE_MEMORY=y

View file

@ -4,7 +4,7 @@ CONFIG_DMA_LOOP_TRANSFER_NUMBER_OF_DMAS=2
# Required by BDMA which only has access to
# a NOCACHE SRAM4 section. All other DMAs also
# has access to this section.
CONFIG_DMA_LOOP_TRANSFER_SRAM_SECTION=".sram4"
CONFIG_DMA_LOOP_TRANSFER_SRAM_SECTION="SRAM4.dma"
# Required for SRAM4 to be non-cachable
CONFIG_NOCACHE_MEMORY=y