stm32/f0: DMA base address compatibility tweak

This commit is contained in:
Roger Wolff 2014-05-25 20:26:03 +02:00 committed by Karl Palsson
parent b37597f1db
commit 5c5c77d4dc

View File

@ -82,6 +82,8 @@
/* AHB1 */
#define DMA_BASE (PERIPH_BASE_AHB1 + 0x0000)
/* DMA is the name in the F0 refman, but all other stm32's use DMA1 */
#define DMA1_BASE DMA_BASE
#define RCC_BASE (PERIPH_BASE_AHB1 + 0x1000)