diff --git a/include/libopencm3/stm32/common/dma_common_f13.h b/include/libopencm3/stm32/common/dma_common_l1f013.h similarity index 100% rename from include/libopencm3/stm32/common/dma_common_f13.h rename to include/libopencm3/stm32/common/dma_common_l1f013.h diff --git a/include/libopencm3/stm32/f0/dma.h b/include/libopencm3/stm32/f0/dma.h index a118a366..5c2b146a 100644 --- a/include/libopencm3/stm32/f0/dma.h +++ b/include/libopencm3/stm32/f0/dma.h @@ -32,7 +32,7 @@ #define LIBOPENCM3_DMA_H #include -#include +#include #endif diff --git a/include/libopencm3/stm32/f1/dma.h b/include/libopencm3/stm32/f1/dma.h index bdffa52a..5e259955 100644 --- a/include/libopencm3/stm32/f1/dma.h +++ b/include/libopencm3/stm32/f1/dma.h @@ -32,7 +32,7 @@ LGPL License Terms @ref lgpl_license #define LIBOPENCM3_DMA_H #include -#include +#include #endif diff --git a/include/libopencm3/stm32/f3/dma.h b/include/libopencm3/stm32/f3/dma.h index 9b4d4218..7fe1009a 100644 --- a/include/libopencm3/stm32/f3/dma.h +++ b/include/libopencm3/stm32/f3/dma.h @@ -32,7 +32,7 @@ #define LIBOPENCM3_DMA_H #include -#include +#include #endif diff --git a/include/libopencm3/stm32/l1/dma.h b/include/libopencm3/stm32/l1/dma.h index 2258f5b3..c66bc34b 100644 --- a/include/libopencm3/stm32/l1/dma.h +++ b/include/libopencm3/stm32/l1/dma.h @@ -37,7 +37,7 @@ LGPL License Terms @ref lgpl_license #define LIBOPENCM3_DMA_H #include -#include +#include #endif diff --git a/lib/stm32/common/dma_common_f13.c b/lib/stm32/common/dma_common_l1f013.c similarity index 100% rename from lib/stm32/common/dma_common_f13.c rename to lib/stm32/common/dma_common_l1f013.c diff --git a/lib/stm32/f0/Makefile b/lib/stm32/f0/Makefile index b337ee61..b754583d 100644 --- a/lib/stm32/f0/Makefile +++ b/lib/stm32/f0/Makefile @@ -37,7 +37,7 @@ OBJS = flash.o rcc.o usart.o dma.o OBJS += gpio_common_all.o gpio_common_f0234.o crc_common_all.o \ pwr_common_all.o iwdg_common_all.o rtc_common_bcd.o \ - dma_common_f13.o + dma_common_l1f013.o VPATH += ../../usb:../:../../cm3:../common diff --git a/lib/stm32/f0/dma.c b/lib/stm32/f0/dma.c index 230d5e38..c841ed6d 100644 --- a/lib/stm32/f0/dma.c +++ b/lib/stm32/f0/dma.c @@ -29,5 +29,5 @@ */ #include -#include +#include diff --git a/lib/stm32/f1/Makefile b/lib/stm32/f1/Makefile index b4310551..249f1068 100644 --- a/lib/stm32/f1/Makefile +++ b/lib/stm32/f1/Makefile @@ -36,7 +36,7 @@ ARFLAGS = rcs OBJS = adc.o can.o desig.o exti.o ethernet.o flash.o gpio.o \ rcc.o rtc.o timer.o -OBJS += crc_common_all.o dac_common_all.o dma_common_f13.o \ +OBJS += crc_common_all.o dac_common_all.o dma_common_l1f013.o \ gpio_common_all.o i2c_common_all.o iwdg_common_all.o \ pwr_common_all.o spi_common_all.o spi_common_f124.o \ timer_common_all.o usart_common_all.o usart_common_f124.o diff --git a/lib/stm32/f1/dma.c b/lib/stm32/f1/dma.c index 31565083..b4f88f6a 100644 --- a/lib/stm32/f1/dma.c +++ b/lib/stm32/f1/dma.c @@ -29,5 +29,5 @@ LGPL License Terms @ref lgpl_license */ #include -#include +#include diff --git a/lib/stm32/f3/Makefile b/lib/stm32/f3/Makefile index 3899f052..b9788f22 100644 --- a/lib/stm32/f3/Makefile +++ b/lib/stm32/f3/Makefile @@ -34,11 +34,11 @@ CFLAGS = -Os -g \ ARFLAGS = rcs -OBJS = rcc.o gpio.o adc.o exti.o i2c.o spi.o usart.o +OBJS = rcc.o gpio.o adc.o exti.o i2c.o spi.o usart.o dma.o OBJS += gpio_common_all.o gpio_common_f0234.o \ dac_common_all.o usart_common_all.o crc_common_all.o\ - iwdg_common_all.o spi_common_all.o dma_common_f13.o\ + iwdg_common_all.o spi_common_all.o dma_common_l1f013.o\ timer_common_all.o timer_common_f234.o flash_common_f234.o \ flash.o diff --git a/lib/stm32/f3/dma.c b/lib/stm32/f3/dma.c new file mode 100644 index 00000000..fbb0803d --- /dev/null +++ b/lib/stm32/f3/dma.c @@ -0,0 +1,33 @@ +/** @defgroup dma_file DMA + * + * @ingroup STM32F3xx + * + * @brief libopencm3 STM32F3xx DMA + * + * @version 1.0.0 + * + * @date 10 July 2013 + * + * 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 . + */ + +#include +#include + diff --git a/lib/stm32/l1/Makefile b/lib/stm32/l1/Makefile index f88d578a..43108782 100644 --- a/lib/stm32/l1/Makefile +++ b/lib/stm32/l1/Makefile @@ -32,9 +32,9 @@ CFLAGS = -Os -g \ -ffunction-sections -fdata-sections -MD -DSTM32L1 # ARFLAGS = rcsv ARFLAGS = rcs -OBJS = crc.o desig.o exti.o flash.o rcc.o usart.o +OBJS = crc.o desig.o exti.o flash.o rcc.o usart.o dma.o OBJS += crc_common_all.o dac_common_all.o -OBJS += dma_common_f13.o +OBJS += dma_common_l1f013.o OBJS += gpio_common_all.o gpio_common_f0234.o OBJS += i2c_common_all.o iwdg_common_all.o OBJS += pwr_common_all.o pwr.o rtc_common_bcd.o diff --git a/lib/stm32/l1/dma.c b/lib/stm32/l1/dma.c new file mode 100644 index 00000000..e3101ee3 --- /dev/null +++ b/lib/stm32/l1/dma.c @@ -0,0 +1,33 @@ +/** @defgroup dma_file DMA + * + * @ingroup STM32L1xx + * + * @brief libopencm3 STM32L1xx DMA + * + * @version 1.0.0 + * + * @date 10 July 2013 + * + * 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 . + */ + +#include +#include +