fixed gcc compiling error in lpc178x project

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2190 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
dzzxzz@gmail.com 2012-06-27 01:01:47 +00:00
parent a97ed29249
commit cfb550b8d1
3 changed files with 6 additions and 2 deletions

View File

@ -23,6 +23,10 @@
#ifndef __GLCD_DRV_H
#define __GLCD_DRV_H
#ifndef EOF
#define EOF (-1)
#endif
typedef unsigned long U32;
typedef unsigned char U8;
typedef unsigned long Boolean;

View File

@ -10,10 +10,10 @@ if os.getenv('RTT_CC'):
if CROSS_TOOL == 'gcc':
PLATFORM = 'gcc'
EXEC_PATH = 'E:/Program Files/CodeSourcery/Sourcery G++ Lite/bin'
EXEC_PATH = 'C:/Program Files/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI/bin'
elif CROSS_TOOL == 'keil':
PLATFORM = 'armcc'
EXEC_PATH = 'E:/Keil'
EXEC_PATH = 'C:/Keil'
elif CROSS_TOOL == 'iar':
print '================ERROR============================'
print 'Not support iar yet!'