no-OS
Loading...
Searching...
No Matches
test_dma.c File Reference

CAPI DMA memory-to-memory tests. More...

#include <stdint.h>
#include <string.h>
#include "parameters.h"
#include "test_framework.h"
#include "test_dma.h"
Include dependency graph for test_dma.c:

Functions

int test_dma (void)
 Run all DMA test cases available on the mapped platform.
 

Detailed Description

CAPI DMA memory-to-memory tests.

Exercises the DMA driver using memory-to-memory transfers that require no external hardware. On STM32F7 only DMA2 supports mem-to-mem; the platform layer (parameters.h) selects the correct stream/channel.

Copyright (c) 2026 Analog Devices, Inc. SPDX-License-Identifier: BSD-3-Clause

Function Documentation

◆ test_dma()

int test_dma ( void )

Run all DMA test cases available on the mapped platform.

Returns
0 if all executed cases passed, first non-zero test error otherwise.