From 03ba83fedbece105d2975f239f367bc1ce4d1038 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 10 Jun 2014 15:49:48 -0600 Subject: [PATCH] STM32: Expicitly include header file files. From Freddie Chopin --- arch/arm/src/stm32/chip/stm32f100_pinmap.h | 2 ++ arch/arm/src/stm32/chip/stm32f103c_pinmap.h | 2 ++ arch/arm/src/stm32/chip/stm32f103r_pinmap.h | 2 ++ arch/arm/src/stm32/chip/stm32f103v_pinmap.h | 2 ++ arch/arm/src/stm32/chip/stm32f103z_pinmap.h | 2 ++ arch/arm/src/stm32/chip/stm32f105v_pinmap.h | 2 ++ arch/arm/src/stm32/chip/stm32f107v_pinmap.h | 2 ++ arch/arm/src/stm32/chip/stm32l15xxx_pinmap.h | 2 ++ arch/arm/src/stm32/stm32_serial.c | 1 + 9 files changed, 17 insertions(+) diff --git a/arch/arm/src/stm32/chip/stm32f100_pinmap.h b/arch/arm/src/stm32/chip/stm32f100_pinmap.h index addef02656..3f87150583 100644 --- a/arch/arm/src/stm32/chip/stm32f100_pinmap.h +++ b/arch/arm/src/stm32/chip/stm32f100_pinmap.h @@ -47,6 +47,8 @@ #include +#include "stm32_gpio.h" + /************************************************************************************ * Pre-processor Definitions ************************************************************************************/ diff --git a/arch/arm/src/stm32/chip/stm32f103c_pinmap.h b/arch/arm/src/stm32/chip/stm32f103c_pinmap.h index 98dacb50ed..b4bbe7b8d4 100644 --- a/arch/arm/src/stm32/chip/stm32f103c_pinmap.h +++ b/arch/arm/src/stm32/chip/stm32f103c_pinmap.h @@ -46,6 +46,8 @@ #include +#include "stm32_gpio.h" + /************************************************************************************ * Pre-processor Definitions ************************************************************************************/ diff --git a/arch/arm/src/stm32/chip/stm32f103r_pinmap.h b/arch/arm/src/stm32/chip/stm32f103r_pinmap.h index 89409515aa..6a6f09bbe4 100644 --- a/arch/arm/src/stm32/chip/stm32f103r_pinmap.h +++ b/arch/arm/src/stm32/chip/stm32f103r_pinmap.h @@ -44,6 +44,8 @@ #include +#include "stm32_gpio.h" + /************************************************************************************ * Pre-processor Definitions ************************************************************************************/ diff --git a/arch/arm/src/stm32/chip/stm32f103v_pinmap.h b/arch/arm/src/stm32/chip/stm32f103v_pinmap.h index c3e28c4052..c63a5f96bf 100644 --- a/arch/arm/src/stm32/chip/stm32f103v_pinmap.h +++ b/arch/arm/src/stm32/chip/stm32f103v_pinmap.h @@ -43,6 +43,8 @@ #include +#include "stm32_gpio.h" + /************************************************************************************ * Pre-processor Definitions ************************************************************************************/ diff --git a/arch/arm/src/stm32/chip/stm32f103z_pinmap.h b/arch/arm/src/stm32/chip/stm32f103z_pinmap.h index 52fba04c4e..54b09d2335 100644 --- a/arch/arm/src/stm32/chip/stm32f103z_pinmap.h +++ b/arch/arm/src/stm32/chip/stm32f103z_pinmap.h @@ -42,6 +42,8 @@ #include +#include "stm32_gpio.h" + /************************************************************************************ * Pre-processor Definitions ************************************************************************************/ diff --git a/arch/arm/src/stm32/chip/stm32f105v_pinmap.h b/arch/arm/src/stm32/chip/stm32f105v_pinmap.h index 568dd78b36..73a08bd353 100644 --- a/arch/arm/src/stm32/chip/stm32f105v_pinmap.h +++ b/arch/arm/src/stm32/chip/stm32f105v_pinmap.h @@ -42,6 +42,8 @@ #include +#include "stm32_gpio.h" + /************************************************************************************ * Pre-processor Definitions ************************************************************************************/ diff --git a/arch/arm/src/stm32/chip/stm32f107v_pinmap.h b/arch/arm/src/stm32/chip/stm32f107v_pinmap.h index 385da0099d..66de9a70a0 100644 --- a/arch/arm/src/stm32/chip/stm32f107v_pinmap.h +++ b/arch/arm/src/stm32/chip/stm32f107v_pinmap.h @@ -42,6 +42,8 @@ #include +#include "stm32_gpio.h" + /************************************************************************************ * Pre-processor Definitions ************************************************************************************/ diff --git a/arch/arm/src/stm32/chip/stm32l15xxx_pinmap.h b/arch/arm/src/stm32/chip/stm32l15xxx_pinmap.h index 699cd88579..1a2b32fcdc 100644 --- a/arch/arm/src/stm32/chip/stm32l15xxx_pinmap.h +++ b/arch/arm/src/stm32/chip/stm32l15xxx_pinmap.h @@ -42,6 +42,8 @@ #include +#include "stm32_gpio.h" + /************************************************************************************ * Pre-processor Definitions ************************************************************************************/ diff --git a/arch/arm/src/stm32/stm32_serial.c b/arch/arm/src/stm32/stm32_serial.c index b378654027..3eb0f9798e 100644 --- a/arch/arm/src/stm32/stm32_serial.c +++ b/arch/arm/src/stm32/stm32_serial.c @@ -63,6 +63,7 @@ #include "chip.h" #include "stm32_uart.h" #include "stm32_dma.h" +#include "stm32_rcc.h" #include "up_arch.h" #include "up_internal.h" #include "os_internal.h"