diff --git a/env/ehrenberg/platform.h b/env/ehrenberg/platform.h index 8f83f42..ebeac23 100644 --- a/env/ehrenberg/platform.h +++ b/env/ehrenberg/platform.h @@ -34,7 +34,7 @@ #define qspi PERIPH(qspi_t, APB_BASE+0x50000) #define i2s PERIPH(i2s_t, APB_BASE+0x90000) #define camera PERIPH(camera_t, APB_BASE+0xA0000) -#define sdma PERIPH(simpledma_t, APB_BASE+0xB0000) +#define sdma PERIPH(dma_t, APB_BASE+0xB0000) #define XIP_START_LOC 0xE0040000 diff --git a/include/ehrenberg/devices/dma.h b/include/ehrenberg/devices/dma.h index 155c37a..dc8db8e 100644 --- a/include/ehrenberg/devices/dma.h +++ b/include/ehrenberg/devices/dma.h @@ -1,7 +1,7 @@ -#ifndef _BSP_DMA_H -#define _BSP_DMA_H +#ifndef _DEVICES__DMA_H +#define _DEVICES_DMA_H -#include "gen/simpledma.h" +#include "gen/dma.h" #define EVENT_UART 1 #define I2S_LEFT_SAMPLE_AVAIL 2