-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: drivers: dma: chen_blen_transfer: add bdma test to nucleo_h743zi
Add unit tests for BDMA driver. Also requires adding additional kconfig options to allocate the memory buffers in a specific SRAM section, because the BDMA only has access to SRAM4. Signed-off-by: Hein Wessels <heinwessels93@gmail.com>
- Loading branch information
1 parent
e3e2f63
commit be01753
Showing
4 changed files
with
33 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 10 additions & 2 deletions
12
tests/drivers/dma/chan_blen_transfer/boards/nucleo_h743zi.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
CONFIG_DMA_TRANSFER_CHANNEL_NR_0=6 | ||
CONFIG_DMA_TRANSFER_CHANNEL_NR_1=10 | ||
CONFIG_DMA_TRANSFER_CHANNEL_NR_0=4 | ||
CONFIG_DMA_TRANSFER_CHANNEL_NR_1=6 | ||
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" | ||
|
||
# Required for SRAM4 to be non-cachable | ||
CONFIG_NOCACHE_MEMORY=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters