From 8400c8e42e3644eec40ec85703cedabae6fd986e Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 2 Dec 2009 20:13:51 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1371 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/MSP430/pal_lld.c | 4 ++-- os/hal/platforms/MSP430/pal_lld.h | 2 ++ os/hal/platforms/MSP430/serial_lld.c | 6 ++---- os/hal/platforms/STM32/hal_lld.c | 2 +- os/hal/platforms/STM32/hal_lld.h | 4 ++-- os/hal/templates/hal_lld.c | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) (limited to 'os') diff --git a/os/hal/platforms/MSP430/pal_lld.c b/os/hal/platforms/MSP430/pal_lld.c index 227853a12..0cd56de6e 100644 --- a/os/hal/platforms/MSP430/pal_lld.c +++ b/os/hal/platforms/MSP430/pal_lld.c @@ -24,8 +24,8 @@ * @{ */ -#include -#include +#include "ch.h" +#include "hal.h" /** * @brief MSP430 I/O ports configuration. diff --git a/os/hal/platforms/MSP430/pal_lld.h b/os/hal/platforms/MSP430/pal_lld.h index 4fbde7a40..0519af3b1 100644 --- a/os/hal/platforms/MSP430/pal_lld.h +++ b/os/hal/platforms/MSP430/pal_lld.h @@ -277,6 +277,8 @@ typedef union __ioport * ioportid_t; #define pal_lld_setgroupmode(port, mask, mode) \ _pal_lld_setgroupmode(port, mask, mode) +extern const MSP430DIOConfig pal_default_config; + #ifdef __cplusplus extern "C" { #endif diff --git a/os/hal/platforms/MSP430/serial_lld.c b/os/hal/platforms/MSP430/serial_lld.c index 4130432cd..e28bb3cd3 100644 --- a/os/hal/platforms/MSP430/serial_lld.c +++ b/os/hal/platforms/MSP430/serial_lld.c @@ -24,12 +24,10 @@ * @{ */ -#include -#include - #include -#include "board.h" +#include "ch.h" +#include "hal.h" #if USE_MSP430_USART0 || defined(__DOXYGEN__) /** @brief USART0 serial driver identifier.*/ diff --git a/os/hal/platforms/STM32/hal_lld.c b/os/hal/platforms/STM32/hal_lld.c index a904cf69f..d25b0f026 100644 --- a/os/hal/platforms/STM32/hal_lld.c +++ b/os/hal/platforms/STM32/hal_lld.c @@ -19,7 +19,7 @@ /** * @file STM32/hal_lld.c - * @brief STM32 HAL subsystem low level driver source + * @brief STM32 HAL subsystem low level driver source. * @addtogroup STM32_HAL * @{ */ diff --git a/os/hal/platforms/STM32/hal_lld.h b/os/hal/platforms/STM32/hal_lld.h index b0bba29d5..a6fdc9661 100644 --- a/os/hal/platforms/STM32/hal_lld.h +++ b/os/hal/platforms/STM32/hal_lld.h @@ -19,7 +19,7 @@ /** * @file STM32/hal_lld.h - * @brief STM32 HAL subsystem low level driver header + * @brief STM32 HAL subsystem low level driver header. * @addtogroup STM32_HAL * @{ */ @@ -33,7 +33,7 @@ */ #undef FALSE #undef TRUE -#include +#include "stm32f10x.h" #define FALSE 0 #define TRUE (!FALSE) diff --git a/os/hal/templates/hal_lld.c b/os/hal/templates/hal_lld.c index 0d2d46dcc..103645b38 100644 --- a/os/hal/templates/hal_lld.c +++ b/os/hal/templates/hal_lld.c @@ -24,8 +24,8 @@ * @{ */ -#include -#include +#include "ch.h" +#include "hal.h" /*===========================================================================*/ /* Low Level Driver exported variables. */ -- cgit v1.2.3