Bernard Xiong
a65ee8ac45
[BSP] disable module feature under simulator for Linux
2015-10-02 08:16:15 +08:00
Bernard Xiong
d2ec1f3eaa
[DFS] remove st_blksize in the struct stat
2015-10-01 06:46:52 +00:00
Bernard Xiong
1e4bcaca3e
[BSP] remove rtgui_demo in the simulator BSP
2015-10-01 11:34:10 +08:00
Bernard Xiong
5ac0ed7403
[BSP] remove testdll in the simualtor BSP
2015-10-01 11:29:59 +08:00
Bernard Xiong
1ac6bc6c88
[BSP] fix compiling issue in simulator for Linux
2015-09-30 10:21:55 +00:00
Bernard Xiong
cdf4c7e897
[BSP] Enable module application in simulator BSP
2015-09-30 18:06:09 +08:00
Bernard Xiong
aa190ed5f6
[BSP] enable file system feature in simulator BSP
2015-09-30 17:57:58 +08:00
Bernard Xiong
7e45f059dc
[BSP] Update simualtor bsp for Win32/MSVC
2015-09-30 16:26:40 +08:00
pangwei
570e9470b1
[uffs] fix the SConscript file of uffs.
...
Signed-off-by: pangwei <271372443@qq.com>
2015-05-21 17:06:05 +08:00
pangwei
d3a031c084
[BSP]add some header File
...
Signed-off-by: pangwei <271372443@qq.com>
2015-05-21 15:26:31 +08:00
pangwei
688f324fea
[BSP] Remove the RT_USING_COMPONENTS_INIT in rt_config.h , and added some components init functions by hand.
2015-05-21 15:05:00 +08:00
prife
c6f88ef726
dfs_win32: add seekdir support
2015-02-02 01:21:40 +08:00
bernard
26118499e0
[BSP] remove rt_device_init_all() invoking.
2014-07-19 06:50:00 +08:00
nongxiaoming
c20ec19a96
modify the pixel format to RGB565 in sdl_fb.c
2014-03-12 16:36:39 +08:00
prife
d8f06c8542
simulator: fix compile errors in nand driver(512+16)
2014-02-16 14:30:58 +08:00
prife
a6fa98f1ee
simulator: fix exit issue when close RTGUI window
2014-02-09 11:24:36 +08:00
prife
712d9428ed
simulator: disable RTGUI in rtconfig.h
...
clean code in SConstruct and application.c, disable RTGUI in rtconfig.h
by default.
2013-12-08 20:39:19 +08:00
prife
0701b57eaa
Merge pull request #188 from prife/master
...
simulatr: print error messages when RTT_RTGUI is invalid
2013-10-28 07:59:35 -07:00
prife
a12892af31
simulatr: print error messages when RTT_RTGUI is invalid
2013-10-26 14:00:24 +08:00
Bernard Xiong
a0ffbc1fb8
Merge pull request #179 from grissiom/finsh-ex
...
Finsh ex
2013-10-18 17:06:36 -07:00
Grissiom
1e01252824
finsh: refactor the control key handling
...
We split the history handling form the key handling. So we could handle
the direction key even if the history is disabled. As a "side effect", I
also remove the unnecessary "use_history" bit.
2013-10-18 22:36:51 +08:00
prife
3a33906ab1
simulator/jffs2: remove _TIME_T_DEFINED when built by VC++
...
_TIME_T_DEFINED was pre-defined in order to build jffs2 with VC.
While it may cause many side effects.
2013-10-17 23:47:08 +08:00
prife
5641360b49
simulator: add createdef.py to generate def file for VS
...
Now we can get rid off Mingw to create def file. To create def file, one
should run:
scons --def
in the bsp/simulator.
2013-10-14 22:53:59 +08:00
bernard
d092105f3a
Add tap netif driver
2013-10-10 00:41:36 +09:00
prife
821ab3b9aa
scons script: support to generate vs2012 project xml
...
rename template.vcproj to template_vs2005.vcproj
add template_vs2012.vcxproj
NOTE: the vs2012.py is ugly, just can work.
2013-10-01 15:37:34 +08:00
Grissiom
35cac170fa
simulator: add clang-analyze tool support
...
When CROSS_TOOL or 'RTT_CC' env is setted to 'clang-analyze', it will
use Clang to check the codes.
2013-09-07 15:15:48 +08:00
Grissiom
18692c29b8
simulator: get CROSS_TOOL and EXEC_PATH from env
...
Simulator get it's way to Travis CI ready.
2013-09-06 21:54:27 +08:00
Grissiom
c6e81b58d9
simulator: move SDL setting staff into drivers/SConstruct
...
This could not only make a cleaner SConstruct, but could also benefit
RTGUI building.
2013-09-06 21:49:53 +08:00
Grissiom
6563ae6cab
simulator: init SDL after rt_components_init
...
SDL may use DFS to open files. It should be run after
rt_components_init.
2013-08-31 16:46:36 +08:00
Grissiom
3d0c0af371
simulator: fix SDL initialization under Linux
...
rt_hw_sdl_start should wait untill the rtgui_graphic_set_device is
called int the sdl_loop. Use pthread_cond_wait to achieve this in Linux.
2013-08-31 16:30:32 +08:00
prife
8846ac8c40
simulator: update to support simulator for linux
2013-07-22 23:02:03 +08:00
prife
02e74583c7
simulator: update code for new component initialization support on mingw
2013-07-11 23:31:34 +08:00
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
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