Meco Man
f58d3c5200
rt_device_write/read return data type as rt_ssize_t
...
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-02-07 21:43:57 -05:00
breederbai
5e40f3a0d4
修复BUG(simulator):修复bsp/simulator编译报错的BUG
2022-12-29 14:02:08 -05:00
Meco Man
ce16945cba
[kernel][version] 采用新的版本宏定义
...
版本控制规范:https://semver.org/
目前的版本子号不是很规范,其中RT_VERSION甚至和VS那边造成了冲突
```c
/* RT-Thread version information */
#define RT_VERSION 4L /**< major version number */
#define RT_SUBVERSION 1L /**< minor version number */
#define RT_REVISION 1L /**< revise version number */
```
参考ESP32:
```c
/** Major version number (X.x.x) */
#define ESP_ARDUINO_VERSION_MAJOR 2
/** Minor version number (x.X.x) */
#define ESP_ARDUINO_VERSION_MINOR 0
/** Patch version number (x.x.X) */
#define ESP_ARDUINO_VERSION_PATCH 3
```
建议改成:
```c
/* Major version number (X.x.x) */
#define RT_VERSION_MAJOR 4
/* Minor version number (x.X.x) */
#define RT_VERSION_MINOR 2
/* Patch version number (x.x.X) */
#define RT_VERSION_PATCH 0
```
2022-09-07 10:11:45 -04:00
xiangxistu
78d8496db0
[fix] pthread_mutex_destroy can't work. ( #6212 )
2022-08-03 12:29:16 -04:00
Man, Jianting (Meco)
760432b6a3
[simulator] fix some warnings ( #6209 )
...
* [simulator] fix some warnings
comes from https://github.com/RT-Thread/rt-thread/pull/5791
* [simulator] update kconfig
Co-authored-by: guozhanxin <guozhanxin@rt-thread.com>
2022-08-02 23:21:09 -04:00
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