Grissiom
60857630c0
simulator: fix serial_write
...
printf("%s") will print a NULL terminated string, while rt_serial_write
should print buffer for size length. This also fix segfault when the
string is not null terminated but specified by size.
2013-05-15 20:16:03 +08:00
Grissiom
5f63189b3b
bsp/simulator: enable mouse motion track in SDL
...
Tested OK in RTGUI repo.
2013-03-20 16:16:16 +08:00
prife
ce612157da
Merge branch 'master' of github.com:RT-Thread/rt-thread
2013-03-15 16:58:04 +08:00
prife
9a80044a55
simulator: update readme.txt, disable RT_USING_MODULE in rtconfig.h
2013-03-15 16:55:44 +08:00
prife
70611580dc
simulator: move {dfs_win32.c,moudule_win32.} from drives/
2013-03-15 16:54:23 +08:00
aozima
981be386a7
add dfs_win32_stat st_mtime support.
2013-03-03 16:50:11 +08:00
prife
157e326487
dfs_elm.c: fix the head file conflicts caused by time.h
2013-03-02 18:56:07 +08:00
prife
2b0ebebcc2
simulator: update comments,add 'RTT_IN_MODULE' macro in testdll\SConstruct
2013-03-02 18:39:05 +08:00
prife
f1fe20a3df
simulator: fix dfs_win32_mkfs prototype
2013-03-02 14:35:04 +08:00
prife
5cb02e1258
simulator: make sure LCD driver ready to use after rt_hw_sdl_start is invoked
2013-03-02 14:32:26 +08:00
prife
842d129f03
simulator: assign the x86 32bit version in Enverionment, or the 64bit version will be built with vs2010 in win7 64bit
2013-03-01 22:43:33 +08:00
prife
3478420fad
Merge branch 'master' of github.com:RT-Thread/rt-thread
2013-03-01 01:55:47 +08:00
prife
a665b97129
app module for simulator: add the missing module_win32.c
2013-03-01 01:30:21 +08:00
prife
8bff1f8397
app module of simulator:update readme.txt, add rtthread.def for default buiding with msvc
2013-02-28 00:39:37 +08:00
prife
188dfea3a7
app module simulator: add app module test cases
2013-02-27 02:41:02 +08:00
prife
1ab15ba0a6
app module of simlator: simpliy command of building, now use `scons --def` to create rtthread.def which can used by msvc
2013-02-27 02:27:19 +08:00
prife
a07b4a4396
app module of simlator: rename librtthread.a to rtthread.lib after post-building
2013-02-27 02:04:43 +08:00
prife
a64ec10e68
app module support for simlator, first version
2013-02-27 00:37:57 +08:00
prife
242574a36f
mingw support for simulator: rtgui
2013-02-26 17:51:21 +08:00
prife
2106287efe
mingw support for simulator: dfs/uffs
2013-02-26 16:40:04 +08:00
prife
8928f4e4b7
mingw support for simulator: dfs/dfs_win32
2013-02-26 16:36:33 +08:00
prife
9f355875d8
mingw support for simulator: dfs/fatfs
2013-02-26 16:23:28 +08:00
prife
9ccdf4172e
basic mingw support for simulator: kernel and finsh
2013-02-26 16:03:08 +08:00
prife
38f1c4ef55
add declaration in simulator/drivers/usart_sim.c
2013-02-07 23:32:26 +08:00
prife
fd5dfc723c
clean code in simulator/drivers/serial.c
2013-02-07 23:27:29 +08:00
prife
81751d99cc
fix bug in simulator/drivers/serial.c which deadlock may happen if multi-uart both output use printf
2013-02-07 23:21:19 +08:00
prife
1c522be515
rewrite serial/uart code in simulator to support multi-uarts
2013-02-07 23:18:59 +08:00
prife
fb94ccd89e
Merge branch 'simdev'
2013-02-02 00:37:10 +08:00
prife
4f02e67bef
enabe dfs_win32 in simulator when built on windows
2013-01-28 18:06:59 +08:00
prife
5cc1dcb879
create disk/{ad, nor, nand in bsp/simulator
2013-01-28 18:05:19 +08:00
prife
72bd8b9978
clean code in bsp/simulator/rtconfig.py
2013-01-24 17:24:31 +08:00
prife
f709ddf631
fix compile errors with vs in bsp/simulator
2013-01-24 17:13:09 +08:00
Grissiom
0961cc5e36
simulator: no need to dump the bin file
2013-01-24 13:06:12 +08:00
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