guozhanxin
9e79333512
[project] update mdk/iar project and config.
2023-10-08 11:21:00 +08:00
Meco Man
237bbfd968
[debug] remove RT_DEBUG_xxx
...
remove RT_DEBUG_THREAD RT_DEBUG_SCHEDULER RT_DEBUG_IPC RT_DEBUG_TIMER RT_DEBUG_IRQ RT_DEBUG_MEM RT_DEBUG_SLAB RT_DEBUG_MEMHEAP
2023-07-09 00:19:29 -04:00
zhkag
0f998f6b05
[simulator] 模拟器可以使用 utest 测试框架 ( #7644 )
...
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-06-10 12:32:34 +08:00
zhkag
22972409d4
[simulator] 修复 linux simulator 编译运行失败
2023-06-07 08:52:28 -04:00
Jia Salix Ye
0d7e18df1e
[HUST CSE][bsp][fix] Fix potential buffer overflow vulnerability ( #7409 )
2023-05-04 22:38:48 +08:00
zouziyu2002
ce4674defa
[HUST CSE] add forced type conversion when using 'realloc','malloc','calloc' for better readability
2023-04-28 15:55:28 +01:00
7YZ7
501b22aabe
[HUST CSE] Fix many abnormal symbols in annotations and format code
2023-04-17 22:26:23 -04:00
Bernard Xiong
9600b75b55
[DFS] prepare for dfs_v2.0 ( #7200 )
...
* [DFS] prepare for dfs_v2. dfs_fd -> dfs_file; dfs_fnode -> dfs_vnode.
* [BSP] fix code analysis warning
* [smart] fix the pointer overflow.
* code format
* [smart] fix the lwp->lwp_obj checking.
2023-04-08 22:25:51 +08:00
Man, Jianting (Meco)
5c70c9e402
[lvgl][simulator] sync upstream win32 driver ( #7165 )
2023-04-05 13:27:14 +08:00
Shicheng Chu
93f3cb30e4
[kernel] 将rt_thread结构体改为显式继承rt_object ( #7131 )
2023-04-04 09:06:27 -04:00
yangjie11
95e6b69b8e
sync and update all projects ( #7138 )
...
* sync and update
2023-03-31 16:49:48 +08:00
Meco Man
0f461e870c
[errno code][-RT_ERROR] fix that use RT_ERROR without -
2023-03-20 00:06:16 -04:00
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
Meco Man
ddccef3a64
modify RT_ALIGN_SIZE as 8 by default
2023-01-12 22:47:23 -05:00
Meco Man
9bc68d26a4
format Kconfig and sconscript
2023-01-08 22:52:13 -05:00
breederbai
5e40f3a0d4
修复BUG(simulator):修复bsp/simulator编译报错的BUG
2022-12-29 14:02:08 -05:00
Tangyuxin
a4829b1c00
[fix] Fix simulator compilation warnings ( #6438 )
...
* [fix] Fix simulator compilation warnings
* Update bsp/simulator/rtconfig_project.h
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-09-20 10:31:11 -04: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
liuxianliang
a4eb64b873
update the project for RT-Thread_V4.1.1
2022-08-16 19:38:48 +08:00
Meco Man
53c6e7308c
[simulator] exit()函数改为exit(1)
2022-08-14 21:49:43 -04:00
Meco Man
f290ff8754
[simulator][rtconfig.py] fix the problem of path cannot be find and cause failure
...
Some users' computer cannot find the path of VS and will cause failure. Just skip this step.
2022-08-13 22:04:11 -04:00
Man, Jianting (Meco)
0ac8f72037
[lvgl] remove suareline studio specific support for imxrt1060 ( #6261 )
...
* [lvgl] PKG_USING_LV_MUSIC_DEMO defaults by yes
* [lvgl] remove specific suppport for imxrt1060
https://github.com/lvgl/lvgl/pull/3566
2022-08-13 22:02:41 -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
Meco Man
3f0934feb7
[simulator][lvgl]同步lvgl win32 driver
...
b69dca2ade
0b01584e29
https://github.com/lvgl/lv_drivers/pull/212
https://github.com/lvgl/lv_drivers/pull/216
2022-07-07 16:55:47 +08:00
Meco Man
15cd71bae6
[lvgl] adapt lvgl 8.3.0
2022-07-07 16:55:25 +08:00
Meco Man
ada0e8f1a1
[simulator] improve init process
2022-06-16 10:30:16 +08: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
Man, Jianting (Meco)
1506829b85
[lvgl] remove LV_DISP_DEF_REFR_PERIOD which are defined manually ( #5976 )
2022-05-23 01:41:23 +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
e43548f46f
[simulator] 优化SD挂载,在首次挂载失败后格式化重新尝试
2022-05-19 09:43:20 +08:00
Meco Man
7d657cbf46
[simulator] enable BSD socket by default
2022-05-19 09:43:20 +08:00
Meco Man
5ee36367da
[simulator] improve Kconfig structure
...
add Onboard Peripheral Drivers menu
2022-05-19 09:43:20 +08:00
Meco Man
7fc707d99c
[sal][kconfig] 重新梳理sal的依赖关系
2022-05-16 10:02:22 +08:00
Meco Man
b793b6427a
[sal] add draft for docking winsock
2022-05-16 10:02:22 +08:00
Meco Man
19abf927d2
[simulator] avoid conflicts between winsock.h and sys/time.h
2022-05-16 10:02:22 +08:00
Meco Man
4448869394
[simulator] 优化vs模拟器的LVGL结构
2022-05-11 20:30:38 +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
efdd28bde6
remove meaningless debug file
2022-04-13 22:37:59 +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
guozhanxin
e353b2d5f1
[bsp] Update all projects.
2022-03-29 19:28:06 +08:00
liukangcc
ccbd22f493
[update] refresh project
2022-01-26 18:30:23 +08:00
liukangcc
3d2e23ec1c
[update] move dfs_posix.h to legacy/dfs/dfs_posix.h
2022-01-14 23:09:32 +08:00
Meco Man
42a28df745
[simulator] 解决““Gm”选项已否决,并将在将来的版本中移除”的警告
2022-01-08 17:40:26 -05: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
85441c0dc4
[sconscript] 代替+=的表述方法
2022-01-08 15:48:50 +08:00