Fixed a problem of inclusion order that caused DMA2 problems in STM32 HAls.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3522 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
63ae69408a
commit
5a74dd3c2e
|
@ -45,10 +45,6 @@
|
||||||
|
|
||||||
#include "stm32f10x.h"
|
#include "stm32f10x.h"
|
||||||
|
|
||||||
/* STM32 DMA and RCC helpers.*/
|
|
||||||
#include "stm32_dma.h"
|
|
||||||
#include "stm32_rcc.h"
|
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* Driver constants. */
|
/* Driver constants. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
@ -155,6 +151,10 @@ typedef struct {
|
||||||
/* External declarations. */
|
/* External declarations. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/* STM32 DMA and RCC helpers.*/
|
||||||
|
#include "stm32_dma.h"
|
||||||
|
#include "stm32_rcc.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -40,10 +40,6 @@
|
||||||
|
|
||||||
#include "stm32f4xx.h"
|
#include "stm32f4xx.h"
|
||||||
|
|
||||||
/* STM32 DMA and RCC helpers.*/
|
|
||||||
#include "stm32_dma.h"
|
|
||||||
#include "stm32_rcc.h"
|
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* Driver constants. */
|
/* Driver constants. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
@ -1344,6 +1340,10 @@ typedef struct {
|
||||||
/* External declarations. */
|
/* External declarations. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/* STM32 DMA and RCC helpers.*/
|
||||||
|
#include "stm32_dma.h"
|
||||||
|
#include "stm32_rcc.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -39,10 +39,6 @@
|
||||||
|
|
||||||
#include "stm32l1xx.h"
|
#include "stm32l1xx.h"
|
||||||
|
|
||||||
/* STM32 DMA and RCC helpers.*/
|
|
||||||
#include "stm32_dma.h"
|
|
||||||
#include "stm32_rcc.h"
|
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* Driver constants. */
|
/* Driver constants. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
@ -1009,6 +1005,10 @@ typedef struct {
|
||||||
/* External declarations. */
|
/* External declarations. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/* STM32 DMA and RCC helpers.*/
|
||||||
|
#include "stm32_dma.h"
|
||||||
|
#include "stm32_rcc.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue