diff options
Diffstat (limited to 'nuttx/arch/arm/src/sam3u/sam3u_dmac.c')
-rwxr-xr-x | nuttx/arch/arm/src/sam3u/sam3u_dmac.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/sam3u/sam3u_dmac.c b/nuttx/arch/arm/src/sam3u/sam3u_dmac.c index 489d81bc1..510ac7e8a 100755 --- a/nuttx/arch/arm/src/sam3u/sam3u_dmac.c +++ b/nuttx/arch/arm/src/sam3u/sam3u_dmac.c @@ -69,6 +69,12 @@ #ifdef CONFIG_SAM3U_DMA +/* If AT90SAM3U support is enabled, then OS DMA support should also be enabled */ + +#ifndef CONFIG_ARCH_DMA +# warning "ATSAM3U DMA enabled but CONFIG_ARCH_DMA disabled" +#endif + /* Check the number of link list descriptors to allocate */ #ifndef CONFIG_SAM3U_NLLDESC |