From 6c806253bdd4537752d196d3d6cdb6bcf2419a4d Mon Sep 17 00:00:00 2001 From: "dzzxzz@gmail.com" Date: Wed, 4 Jul 2012 02:02:12 +0000 Subject: [PATCH] fixed a compiling error using gcc in linux system git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2201 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- bsp/lpc176x/applications/startup.c | 2 +- bsp/stm32f20x/Drivers/SConscript | 2 +- .../Libraries/CMSIS/CM3/DeviceSupport/ST/STM32F2xx/stm32f2xx.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bsp/lpc176x/applications/startup.c b/bsp/lpc176x/applications/startup.c index f71b3ff55e..efc1966249 100644 --- a/bsp/lpc176x/applications/startup.c +++ b/bsp/lpc176x/applications/startup.c @@ -16,7 +16,7 @@ #include #include -#include "lpc17xx.h" +#include "LPC17xx.h" #include "board.h" #ifdef RT_USING_DFS diff --git a/bsp/stm32f20x/Drivers/SConscript b/bsp/stm32f20x/Drivers/SConscript index b9529222d0..fd1f9103d4 100644 --- a/bsp/stm32f20x/Drivers/SConscript +++ b/bsp/stm32f20x/Drivers/SConscript @@ -2,7 +2,7 @@ Import('RTT_ROOT') Import('rtconfig') from building import * -cwd = os.path.join(str(Dir('#')), 'drivers') +cwd = os.path.join(str(Dir('#')), 'Drivers') src = Glob('*.c') CPPPATH = [cwd] diff --git a/bsp/stm32f20x/Libraries/CMSIS/CM3/DeviceSupport/ST/STM32F2xx/stm32f2xx.h b/bsp/stm32f20x/Libraries/CMSIS/CM3/DeviceSupport/ST/STM32F2xx/stm32f2xx.h index 9c0c2162e8..743c89425c 100644 --- a/bsp/stm32f20x/Libraries/CMSIS/CM3/DeviceSupport/ST/STM32F2xx/stm32f2xx.h +++ b/bsp/stm32f20x/Libraries/CMSIS/CM3/DeviceSupport/ST/STM32F2xx/stm32f2xx.h @@ -6829,7 +6829,7 @@ typedef struct */ #ifdef USE_STDPERIPH_DRIVER - #include "stm32f2xx_conf.h " + #include "stm32f2xx_conf.h" #endif /* USE_STDPERIPH_DRIVER */ /** @addtogroup Exported_macro -- GitLab