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
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
fbbc4c8d18
merge bsp/simlinux into bsp/simulator
2013-01-22 16:57:47 +08:00
Ming, Bai
b4de7cce57
Re-normalizing the repo
2013-01-08 22:40:58 +08: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
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
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
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
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