diff --git a/include/libopencm3/stm32/dma.h b/include/libopencm3/stm32/dma.h index 899f5758..6938b083 100644 --- a/include/libopencm3/stm32/dma.h +++ b/include/libopencm3/stm32/dma.h @@ -21,6 +21,8 @@ # include #elif defined(STM32F2) # include +#elif defined(STM32F3) +# include #elif defined(STM32F4) # include #elif defined(STM32L1) diff --git a/include/libopencm3/stm32/f3/dma.h b/include/libopencm3/stm32/f3/dma.h new file mode 100644 index 00000000..e96005d9 --- /dev/null +++ b/include/libopencm3/stm32/f3/dma.h @@ -0,0 +1,38 @@ +/** @defgroup dma_defines DMA Defines + +@ingroup STM32F3xx_defines + +@brief Defined Constants and Types for the STM32F3xx DMA Controller + +@version 1.0.0 + +@date 30 November 2012 + +LGPL License Terms @ref lgpl_license + */ + +/* + * This file is part of the libopencm3 project. + * + * This library is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this library. If not, see . + */ + +#ifndef LIBOPENCM3_DMA_H +#define LIBOPENCM3_DMA_H + +#include +#include + +#endif + diff --git a/lib/stm32/f3/Makefile b/lib/stm32/f3/Makefile index 21ffa9a6..cc2475cc 100644 --- a/lib/stm32/f3/Makefile +++ b/lib/stm32/f3/Makefile @@ -38,7 +38,7 @@ OBJS = rcc.o gpio.o flash.o adc.o exti2.o OBJS += gpio_common_all.o gpio_common_f234.o i2c_common_all.o\ dac_common_all.o usart_common_all.o crc_common_all.o\ - iwdg_common_all.o spi_common_all.o + iwdg_common_all.o spi_common_all.o dma_common_f13.o VPATH += ../../usb:../:../../cm3:../common