Przeglądaj źródła

update bsp/simulator, fix the include path in vs2005.vcproj, clean code in rtconfig.py

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2360 bbd45198-f89e-11dd-88c7-29a3b14d5316
goprife@gmail.com 12 lat temu
rodzic
commit
641187f132
2 zmienionych plików z 4 dodań i 10 usunięć
  1. 2 8
      bsp/simulator/rtconfig.py
  2. 2 2
      bsp/simulator/vs2005.vcproj

+ 2 - 8
bsp/simulator/rtconfig.py

@@ -1,7 +1,6 @@
 # toolchains options
-ARCH='x86'
-#CPU='posix'
-CPU='win32'
+ARCH='sim'
+CPU='win32' #CPU='posix'
 CROSS_TOOL='msvc' #win32
 
 # lcd panel options
@@ -14,11 +13,6 @@ if  CROSS_TOOL == 'gcc':
 	PLATFORM 	= 'gcc'
 	EXEC_PATH 	= '/usr/bin/gcc'
 
-
-if  CROSS_TOOL == '':
-	PLATFORM 	= 'gcc'
-	EXEC_PATH 	= '/usr/bin/gcc'
-
 if  CROSS_TOOL == 'msvc':
 	PLATFORM 	= 'cl'
 	EXEC_PATH = ''

+ 2 - 2
bsp/simulator/vs2005.vcproj

@@ -292,11 +292,11 @@
 				Name="libcpu"
 				>
 				<File
-					RelativePath="..\..\libcpu\x86\win32\cpu_port.c"
+					RelativePath="..\..\libcpu\sim\win32\cpu_port.c"
 					>
 				</File>
 				<File
-					RelativePath="..\..\libcpu\x86\win32\cpu_port.h"
+					RelativePath="..\..\libcpu\sim\win32\cpu_port.h"
 					>
 				</File>
 			</Filter>