Commit Graph

98 Commits

Author SHA1 Message Date
Man, Jianting (Meco) fb3f835089
[libc] remove strdup from rtthread.h (#6026)
add __STDC_LIMIT_MACROS macro in Keil
add RT_USING_LIBC in simulator
add _DLIB_ADD_EXTRA_SYMBOLS=0 in IAR
2022-06-04 17:02:35 +08:00
xiangxistu 2f9f39764d
[add] winsock implement on windows simulator. (#6010)
* [add] winsock implement on windows simulator.
2022-05-31 11:50:17 +08:00
Meco Man 08737c2a26 [simulator] 消除windows下的警告 2022-05-19 09:43:20 +08:00
Meco Man 569facb12d [simulator] 增加RTC配置项(默认开启) 2022-05-19 09:43:20 +08:00
Meco Man 19abf927d2 [simulator] avoid conflicts between winsock.h and sys/time.h 2022-05-16 10:02:22 +08:00
Man, Jianting (Meco) 6ce4a87492
[fcntl] create new fcntl.h file for vs (#5860)
* [fcntl] create new fcntl.h file for vs
2022-04-24 10:52:57 +08:00
Meco Man 3cacdf6ddb [simulator] upgrade SDL2.0 to 2.0.20 2022-04-13 22:37:59 +08:00
Meco Man 9b6bc0fcc7 [simulator] 解决simulator模拟器不能挂在sd卡的问题,并更新文档 2022-04-11 14:07:55 +08:00
Man, Jianting (Meco) c318dfa964
improve libc time and MSVC simulator (#5775)
- [libc] 解决由于类unix操作系统发展历史原因fcntl.h定义的标志位在不同编译器中定义不同的问题
- [simulator] 部分宏定义转为全局宏定义以确保vs内置文件可以正确配置
- [simulator] 取消自欺欺人式的警告消除处理方式
- [libc][time] 优化time相关结构体在不同编译器下的包含
2022-04-07 14:24:11 +08:00
liukangcc 3d2e23ec1c [update] move dfs_posix.h to legacy/dfs/dfs_posix.h 2022-01-14 23:09:32 +08:00
Man, Jianting (Meco) bb1084556f [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题
* [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题

* format codes

* [libc] 整理格式

* refresh projects
2022-01-09 00:20:32 +08:00
Meco Man 8565fe2448 [simulator] 消除vs下的警告 2022-01-08 15:46:52 +08:00
Meco Man 1948988913 [lvgl] 将lvgl目录调整到application文件夹下 2021-12-19 18:21:31 -05:00
Meco Man f4aa860d8b [qemu][lvgl] 优化lvgl显示驱动 2021-12-18 14:16:08 -05:00
Meco Man d4a72f29c7 [simulator][lvgl] 处理注释 2021-12-16 03:16:02 -05:00
Meco Man e72eb1ae95 [simulator][win32] add lvgl driver 2021-12-16 01:12:24 -05:00
Meco Man df9a23c534 [mutex] use RT_IPC_FLAG_PRIO to replace RT_IPC_FLAG_FIFO 2021-11-17 15:57:15 -05:00
Meco Man 3c232125db [bsp][simulator] update project 2021-10-29 09:59:45 -04:00
Meco Man 8f6260146c [libc][win32] improve win32 support 2021-10-13 15:29:01 -04:00
armink 3fafe6e811 [bsp][simulator] Add RT_DEVICE_CTRL_RTC_GET_TIMEVAL support for RTC driver 2021-09-29 19:47:22 +08:00
Meco Man 7d57f6b175 [bsp][simulator] 增加_CRT_DECLARE_NONSTDC_NAMES=0全局宏定义,防止vs内置stdc与libc定义冲突,如dev_t等 2021-09-25 00:24:55 -04:00
Meco Man f944ea7690 [bsp][simulator] 刷新工程 移除rtlibc以及重复定义的内容 2021-09-24 23:40:44 -04:00
Meco Man e18d44940f [finsh] 修复由于移除finsh导致__cmd_xxx命令无法使用的问题 2021-09-05 01:57:26 -04:00
Bernard Xiong 53cfba8725
Merge pull request #4689 from mysterywolf/simulator-sd_sim
[bug][bsp][simulator] 修复sd_sim.c编译报错的问题,使用rt_dgb代替老旧的debug输出方式
2021-05-16 08:57:10 +08:00
Meco Jianting Man 1773908df8
remove \n from LOG_x 2021-05-15 16:16:34 +08:00
Meco Man 69471e6242 [bsp][simulator]format codes to prevent CI errors 2021-05-15 15:38:14 +08:00
Meco Man a00a463248 format codes 2021-05-15 15:35:45 +08:00
Meco Man 31b94778c3 [bug][bsp][simulator] 修复sd_sim.c编译报错的问题,使用rt_dgb代替老旧的debug输出方式 2021-05-15 15:30:28 +08:00
yangjie 9c784f9c1f [bsp][simulator]delete tap_netif.c 2021-04-26 14:57:26 +08:00
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