[STM32F0:DMA] Renamed common file to meet all supported families, added missing files
This commit is contained in:
parent
8b0656459b
commit
cc4c164ebe
@ -32,7 +32,7 @@
|
||||
#define LIBOPENCM3_DMA_H
|
||||
|
||||
#include <libopencm3/stm32/memorymap.h>
|
||||
#include <libopencm3/stm32/common/dma_common_f13.h>
|
||||
#include <libopencm3/stm32/common/dma_common_l1f013.h>
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -32,7 +32,7 @@ LGPL License Terms @ref lgpl_license
|
||||
#define LIBOPENCM3_DMA_H
|
||||
|
||||
#include <libopencm3/stm32/memorymap.h>
|
||||
#include <libopencm3/stm32/common/dma_common_f13.h>
|
||||
#include <libopencm3/stm32/common/dma_common_l1f013.h>
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -32,7 +32,7 @@
|
||||
#define LIBOPENCM3_DMA_H
|
||||
|
||||
#include <libopencm3/stm32/memorymap.h>
|
||||
#include <libopencm3/stm32/common/dma_common_f13.h>
|
||||
#include <libopencm3/stm32/common/dma_common_l1f013.h>
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -37,7 +37,7 @@ LGPL License Terms @ref lgpl_license
|
||||
#define LIBOPENCM3_DMA_H
|
||||
|
||||
#include <libopencm3/stm32/l1/memorymap.h>
|
||||
#include <libopencm3/stm32/common/dma_common_f13.h>
|
||||
#include <libopencm3/stm32/common/dma_common_l1f013.h>
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -29,5 +29,5 @@
|
||||
*/
|
||||
|
||||
#include <libopencm3/stm32/dma.h>
|
||||
#include <libopencm3/stm32/common/dma_common_f13.h>
|
||||
#include <libopencm3/stm32/common/dma_common_l1f013.h>
|
||||
|
||||
|
@ -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
|
||||
|
@ -29,5 +29,5 @@ LGPL License Terms @ref lgpl_license
|
||||
*/
|
||||
|
||||
#include <libopencm3/stm32/dma.h>
|
||||
#include <libopencm3/stm32/common/dma_common_f13.h>
|
||||
#include <libopencm3/stm32/common/dma_common_l1f013.h>
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
33
lib/stm32/f3/dma.c
Normal file
33
lib/stm32/f3/dma.c
Normal file
@ -0,0 +1,33 @@
|
||||
/** @defgroup dma_file DMA
|
||||
*
|
||||
* @ingroup STM32F3xx
|
||||
*
|
||||
* @brief <b>libopencm3 STM32F3xx DMA</b>
|
||||
*
|
||||
* @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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <libopencm3/stm32/dma.h>
|
||||
#include <libopencm3/stm32/common/dma_common_l1f013.h>
|
||||
|
@ -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
|
||||
|
33
lib/stm32/l1/dma.c
Normal file
33
lib/stm32/l1/dma.c
Normal file
@ -0,0 +1,33 @@
|
||||
/** @defgroup dma_file DMA
|
||||
*
|
||||
* @ingroup STM32L1xx
|
||||
*
|
||||
* @brief <b>libopencm3 STM32L1xx DMA</b>
|
||||
*
|
||||
* @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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <libopencm3/stm32/dma.h>
|
||||
#include <libopencm3/stm32/common/dma_common_l1f013.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user