Commit Graph

69 Commits

Author SHA1 Message Date
armink 2a66024bdc [bsp/simulator] Add RTC device RT_DEVICE_CTRL_RTC_GET_TIME_US command implement. 2021-04-14 20:08:22 +08:00
armink a62a07446c [bsp/simulator] Add windows rtc driver. 2021-04-13 20:11:56 +08:00
Bernard Xiong 1e4a463f36
Merge pull request #4508 from Guozhanxin/add_error_check
add error checks of rt_mutex_create()
2021-04-03 23:24:34 +08:00
tangyuxin 015418fa9b [bsp][simulator] 支持自动初始化及用户 main 入口 2021-04-01 17:01:14 +08:00
guozhanxin f9be3c80e3 add error checks of rt_mutex_create() 2021-03-24 09:32:12 +08:00
Meco Man e37abb2b81 [simulator] 手动-自动格式化整理 2021-03-20 22:39:32 +08:00
Xinrong Han 3f1407827d add error checks of rt_mutex_take() 2021-01-04 17:08:56 +08:00
Bernard Xiong 4de8758018 Fix the control interface and GUI initialization 2018-03-11 14:35:50 +08:00
Bernard Xiong 8b36b57a11 [UIEngine] move UI engine as a package 2018-03-03 16:34:01 +08:00
yangfasheng 0415298ceb 更新替换 SDL; 2018-01-19 13:38:43 +08:00
bernard 7c2bcdd3de [BSP] update SDL to SDL2 in simulator. 2017-12-16 00:05:23 +08:00
bernard f0dce37543 [BSP] Update simulator bsp for MSVC. 2017-12-14 10:16:31 +08:00
bernard eb1daff7d4 [BSP] Fix the simulator build for Win32. 2017-12-13 20:38:56 +08:00
Bernard Xiong a3d96ed555 Use rt_object_get_information to get object chain 2017-12-12 07:38:02 +08:00
Bernard Xiong 7ea1d0c672 [BSP] fix the compiling error 2017-10-22 17:07:10 +08:00
yygg_you 2d0c10a0ca 修改simulator,匹配RTT 3.0 2017-10-20 13:26:47 +08:00
bernard 5e3b3b19a6 [BSP] change the type of cmd.
1. Change the type of cmd to 'int';
2. Remove RT_LWIP_USING_RT_MEM macro;
2017-10-16 13:23:03 +08:00
Bernard Xiong fd7a65b4be [LIBC] remove minilibc when compiling simulator under Linux 2016-04-24 19:59:48 +08:00
Bernard Xiong 5c86147236 Update sd_sim.c 2016-03-23 23:08:35 +08:00
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 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
prife c6f88ef726 dfs_win32: add seekdir support 2015-02-02 01:21:40 +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 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
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 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
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 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
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 70611580dc simulator: move {dfs_win32.c,moudule_win32.} from drives/ 2013-03-15 16:54:23 +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 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 f709ddf631 fix compile errors with vs in bsp/simulator 2013-01-24 17:13:09 +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