stm32f3: dma support added.
This commit is contained in:
committed by
Piotr Esden-Tempski
parent
433c1c9db8
commit
6af6cec101
@@ -21,6 +21,8 @@
|
|||||||
# include <libopencm3/stm32/f1/dma.h>
|
# include <libopencm3/stm32/f1/dma.h>
|
||||||
#elif defined(STM32F2)
|
#elif defined(STM32F2)
|
||||||
# include <libopencm3/stm32/f2/dma.h>
|
# include <libopencm3/stm32/f2/dma.h>
|
||||||
|
#elif defined(STM32F3)
|
||||||
|
# include <libopencm3/stm32/f3/dma.h>
|
||||||
#elif defined(STM32F4)
|
#elif defined(STM32F4)
|
||||||
# include <libopencm3/stm32/f4/dma.h>
|
# include <libopencm3/stm32/f4/dma.h>
|
||||||
#elif defined(STM32L1)
|
#elif defined(STM32L1)
|
||||||
|
|||||||
38
include/libopencm3/stm32/f3/dma.h
Normal file
38
include/libopencm3/stm32/f3/dma.h
Normal file
@@ -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 <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef LIBOPENCM3_DMA_H
|
||||||
|
#define LIBOPENCM3_DMA_H
|
||||||
|
|
||||||
|
#include <libopencm3/stm32/memorymap.h>
|
||||||
|
#include <libopencm3/stm32/common/dma_common_f13.h>
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
@@ -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\
|
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\
|
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
|
VPATH += ../../usb:../:../../cm3:../common
|
||||||
|
|||||||
Reference in New Issue
Block a user