Grissiom
634c3a3518
rtgui_demo: port to new API
2013-01-24 12:54:20 +08:00
Grissiom
94a727a4fe
link with libm.so
...
This fix the compiling error:
/usr/lib64/gcc/x86_64-slackware-linux/4.7.2/../../../../x86_64-slackware-linux/bin/ld: build/components/rtgui/common/dc.o: undefined reference to symbol 'sin@@GLIBC_2.2.5'
/usr/lib64/gcc/x86_64-slackware-linux/4.7.2/../../../../x86_64-slackware-linux/bin/ld: note: 'sin@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line
/lib64/libm.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
2013-01-24 12:52:42 +08:00
prife
821d0ac252
fix memory leak in sd_erase in bsp/simulator
2013-01-22 23:57:10 +08:00
prife
d7f8f375df
just mask signal in sdl_fb.c
2013-01-22 23:51:13 +08:00
prife
f5fea40c5e
add sd_erase in sd_sim.c, just erase MBR in SDCARD
2013-01-22 23:48:52 +08:00
prife
05544d12c9
add .gdbinit to bsp/simulator
2013-01-22 17:45:06 +08:00
prife
80e2dd0d3d
add gcc.ld to bsp/simulator
2013-01-22 17:40:03 +08:00
prife
f2636ea813
clean code in bsp/simulator/application/application.c
2013-01-22 17:07:12 +08:00
prife
fbbc4c8d18
merge bsp/simlinux into bsp/simulator
2013-01-22 16:57:47 +08:00
Grissiom
3bab79a7dd
update CRLF
2013-01-09 00:06:34 +08:00
Ming, Bai
b4de7cce57
Re-normalizing the repo
2013-01-08 22:40:58 +08:00
goprife@gmail.com
ecb226f9d4
clean code in bsp/simulator
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2577 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-31 06:37:37 +00:00
goprife@gmail.com
e56e9a2674
remove one comment line in simulator/rtconfig.h
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2574 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-31 06:02:18 +00:00
goprife@gmail.com
e81907607f
fix bugs in bsp/simulator/nanddrv_file.c; support NFTL and uffs!; format coding style with astyle
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2573 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-31 05:39:12 +00:00
goprife@gmail.com
91197259ac
fix warning in bsp/simulator
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2562 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-30 09:39:35 +00:00
goprife@gmail.com
8951089b5a
add win32 error code transform to DFS error code;
...
fix warning in usart_sim.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2559 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-30 06:32:14 +00:00
goprife@gmail.com
a3b5fa5870
enable UFFS, and modify the uffs options in bsp/simulator
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2557 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-30 03:24:54 +00:00
goprife@gmail.com
42090544fc
close uffs since the nand driver is not okay yet.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2555 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 12:31:12 +00:00
rogerz.zhang@gmail.com
7db8d2939b
fix bug that uffs may crash because of uninitialized device ops
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2553 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 11:40:06 +00:00
rogerz.zhang@gmail.com
d573786d52
fix memory access error in list_tc() under bsp/simulator
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2550 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 08:11:38 +00:00
goprife@gmail.com
77f4ee3029
fix compile warnings in bsp/simulator
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2544 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 04:12:47 +00:00
goprife@gmail.com
e1e948a33e
fix spell errors in bsp/simulator
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2542 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 03:44:00 +00:00
goprife@gmail.com
1b274d996f
format code style with astyle in bsp/simulator
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2535 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-27 08:26:35 +00:00
goprife@gmail.com
2e1de690f2
remove realtouch ui, then move snake to rtgui_demo
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2534 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-27 08:21:30 +00:00
goprife@gmail.com
10892ce762
clean code in bsp/simulator
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2533 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-27 08:03:18 +00:00
goprife@gmail.com
2bae33a381
change nand_sim.c to nanddrv_file.c; add SDL.dll to bsp/simulator; clean code
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2532 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-27 07:21:13 +00:00
goprife@gmail.com
859477d7ba
clean code in bsp/simulator
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2531 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-27 06:58:58 +00:00
goprife@gmail.com
6e299e5e7a
add uffs configuration to rtconfig.h
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2465 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-02 14:32:01 +00:00
goprife@gmail.com
7c82d6e304
revert RTGUI path in SConstruct, update applications/platform.c
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2462 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-01 07:08:48 +00:00
goprife@gmail.com
4ee9c0dc0f
update SCons script in bsp/simulator
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2460 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-01 06:59:37 +00:00
goprife@gmail.com
f427ba48f9
add dfs_win32.c (an windows directory can be mounted as an disk in DFS)
...
add demo code in application.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2454 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-28 05:48:17 +00:00
goprife@gmail.com
3d4e0db73b
update bsp/simulator/readme.txt
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2452 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-26 14:25:16 +00:00
goprife@gmail.com
6a8ac7814c
fix bug in snake (bsp/simulator) with patch by provided by Romeo(xeonrun@@gmail.com)
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2444 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-24 05:56:16 +00:00
goprife@gmail.com
90c3859e32
update snake code in bsp/simulator
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2443 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-23 16:29:39 +00:00
goprife@gmail.com
c1f7aa1ca7
add realtouch ui code to bsp/simulator
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2442 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-23 15:18:02 +00:00
goprife@gmail.com
67e2506750
update files
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2440 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-23 14:05:39 +00:00
goprife@gmail.com
5057b28523
add snake demo (run in realtouch)
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2439 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-23 13:40:31 +00:00
goprife@gmail.com
60fc67cb3d
modify sdl driver to reduce the messages sent to rtgui server. add realtouch_ui_init
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2438 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-23 13:32:56 +00:00
goprife@gmail.com
c9e327d9c4
fix the compile error(htos redefinition) in application.c when enable LWIP
...
disable LWIP by default
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2427 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-19 03:38:30 +00:00
goprife@gmail.com
20a57ea77c
change RTGUI path in SConstruct, update application.c to start RTGUI demo automatically, set idle's hook to reduce the cpu consumption.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2426 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-18 08:35:23 +00:00
chaos.proton@gmail.com
4a5dea7807
bsp/simulator: enable the RTGUI by default
...
Note, you need to call `application.obj()` in finsh to make it show up.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2425 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-18 08:23:08 +00:00
chaos.proton@gmail.com
57154e90bf
bsp/simulator: make RTT_RTGUI compatible with previous definition
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2424 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-18 08:17:25 +00:00
goprife@gmail.com
14709082a5
fix the link bug in bsp/simulator
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2423 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-17 05:18:06 +00:00
goprife@gmail.com
2eefeab242
update app code in simulator
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2421 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-16 12:21:28 +00:00
goprife@gmail.com
13d2e4a5ac
update bsp/simulator/SConscript to auto remove drivers according to rtconfig.h
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2420 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-16 07:15:03 +00:00
goprife@gmail.com
cabee09a32
lib_path should be list no string in bsp/simulator/SConstruct
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2418 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-16 06:42:28 +00:00
goprife@gmail.com
50d69f69f6
update simulator/SConstruct
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2417 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-16 04:28:24 +00:00
goprife@gmail.com
3012a3abb5
use the event-wait to replace the event poll when get the sdl's event
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2416 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-16 03:22:03 +00:00
goprife@gmail.com
3112b09c8f
add sdl driver for simulator; update scripts in simulator
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2415 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-15 16:31:51 +00:00
goprife@gmail.com
518f29e55b
add SDL library to simulator
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2414 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-15 15:56:46 +00:00
bernard.xiong@gmail.com
0f111d6e47
merge prife's patch for exclusive access pcap driver.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2404 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-13 01:44:34 +00:00
goprife@gmail.com
8cdbed763d
add template.vcproj for bsp/simulator; modify SConstruct for auto-generation
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2396 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-07 05:32:29 +00:00
goprife@gmail.com
3ebcb76a97
remove vs2005.vcproj
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2395 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-07 05:29:31 +00:00
goprife@gmail.com
0eb29ecc3b
update vs2005.vcproj in simulator to support lwip
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2392 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-05 03:04:39 +00:00
bernard.xiong@gmail.com
67f60b770c
Add pcap driver(for win32) in simulator porting.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2391 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-04 16:29:36 +00:00
goprife@gmail.com
6e242e0529
rebuild the directory organization of simulator
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2389 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-04 05:52:14 +00:00
goprife@gmail.com
bfc30136ef
change simulator directory organization
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2388 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-04 05:49:49 +00:00
goprife@gmail.com
61bec5b560
update bsp/simulator, add component head path, fix atoi redefinition compile error in application.c
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2370 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-24 08:55:27 +00:00
bernard.xiong@gmail.com
6fa4aa965c
Add exit() function on finsh shell.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2368 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-23 02:42:52 +00:00
goprife@gmail.com
68ead993ad
add English version readme for bsp/simulator
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2363 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-21 09:37:29 +00:00
goprife@gmail.com
76218a079d
clean code under bsp/simulator
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2362 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-21 05:55:36 +00:00
goprife@gmail.com
9b9266ad72
add readme.txt for bsp/simulator
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2361 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-21 05:16:02 +00:00
goprife@gmail.com
641187f132
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
2012-10-21 04:50:50 +00:00
goprife@gmail.com
c3b741d010
add simulator bsp for win32, which can be compiled by visual studio (2005 or newer version)
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2357 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-21 04:33:52 +00:00