From 31f54b93735bca0ef23b68dc1a1cf735800bbf14 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 8 Dec 2009 17:44:03 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1398 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/ARM7-AT91SAM7X-LWIP-GCC/lwip/arch/sys_arch.c | 2 +- demos/ARM7-AT91SAM7X-LWIP-GCC/web/web.c | 2 +- demos/AVR-ATmega128-GCC/lcd.c | 7 ++----- demos/GNU-Linux-GCC/chcore.c | 2 +- demos/GNU-Linux-GCC/main.c | 2 +- demos/Win32-MinGW/chcore.c | 4 ++-- demos/Win32-MinGW/main.c | 4 ++-- os/hal/platforms/Win32/serial_lld.c | 4 ++-- 8 files changed, 12 insertions(+), 15 deletions(-) diff --git a/demos/ARM7-AT91SAM7X-LWIP-GCC/lwip/arch/sys_arch.c b/demos/ARM7-AT91SAM7X-LWIP-GCC/lwip/arch/sys_arch.c index 0a78a3653..9fcf2a24a 100644 --- a/demos/ARM7-AT91SAM7X-LWIP-GCC/lwip/arch/sys_arch.c +++ b/demos/ARM7-AT91SAM7X-LWIP-GCC/lwip/arch/sys_arch.c @@ -51,7 +51,7 @@ * */ -#include +#include "ch.h" #include "lwip/opt.h" #include "lwip/mem.h" diff --git a/demos/ARM7-AT91SAM7X-LWIP-GCC/web/web.c b/demos/ARM7-AT91SAM7X-LWIP-GCC/web/web.c index c64f2e47d..3d0c384d2 100644 --- a/demos/ARM7-AT91SAM7X-LWIP-GCC/web/web.c +++ b/demos/ARM7-AT91SAM7X-LWIP-GCC/web/web.c @@ -29,7 +29,7 @@ * @{ */ -#include +#include "ch.h" #include "lwip/opt.h" #include "lwip/arch.h" diff --git a/demos/AVR-ATmega128-GCC/lcd.c b/demos/AVR-ATmega128-GCC/lcd.c index eed0c896e..29a4d0c8c 100644 --- a/demos/AVR-ATmega128-GCC/lcd.c +++ b/demos/AVR-ATmega128-GCC/lcd.c @@ -17,11 +17,8 @@ along with this program. If not, see . */ -#include - -#include - -#include "board.h" +#include "ch.h" +#include "hal.h" #include "lcd.h" static void e_pulse(void) { diff --git a/demos/GNU-Linux-GCC/chcore.c b/demos/GNU-Linux-GCC/chcore.c index e7116edb4..6185b8f4e 100644 --- a/demos/GNU-Linux-GCC/chcore.c +++ b/demos/GNU-Linux-GCC/chcore.c @@ -28,7 +28,7 @@ * @{ */ -#include +#include "ch.h" static struct itimerval tempo; static bool_t pending = FALSE; diff --git a/demos/GNU-Linux-GCC/main.c b/demos/GNU-Linux-GCC/main.c index 8d0d25879..07e16625c 100644 --- a/demos/GNU-Linux-GCC/main.c +++ b/demos/GNU-Linux-GCC/main.c @@ -19,7 +19,7 @@ #include -#include +#include "ch.h" static WORKING_AREA(waThread1, 2048); static msg_t Thread1(void *arg) { diff --git a/demos/Win32-MinGW/chcore.c b/demos/Win32-MinGW/chcore.c index 8dcb3b9ad..f0555fab5 100644 --- a/demos/Win32-MinGW/chcore.c +++ b/demos/Win32-MinGW/chcore.c @@ -27,8 +27,8 @@ * @{ */ -#include -#include +#include "ch.h" +#include "hal.h" static LARGE_INTEGER nextcnt; static LARGE_INTEGER slice; diff --git a/demos/Win32-MinGW/main.c b/demos/Win32-MinGW/main.c index 6a2b5367f..7f081c023 100644 --- a/demos/Win32-MinGW/main.c +++ b/demos/Win32-MinGW/main.c @@ -20,8 +20,8 @@ #include #include -#include -#include +#include "ch.h" +#include "hal.h" static uint32_t wdguard; static WORKING_AREA(wdarea, 2048); diff --git a/os/hal/platforms/Win32/serial_lld.c b/os/hal/platforms/Win32/serial_lld.c index ab8384254..b0c43e596 100644 --- a/os/hal/platforms/Win32/serial_lld.c +++ b/os/hal/platforms/Win32/serial_lld.c @@ -27,8 +27,8 @@ #include #include -#include -#include +#include "ch.h" +#include "hal.h" /** @brief Serial driver 1 identifier.*/ #if USE_WIN32_SERIAL1 || defined(__DOXYGEN__) -- cgit v1.2.3