Commit Graph

214 Commits

Author SHA1 Message Date
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
Meco Man 8565fe2448 [simulator] 消除vs下的警告 2022-01-08 15:46:52 +08:00
guo 008eaed0f1
Merge pull request #5440 from mysterywolf/l475
[lvgl][simulator]&[l475][arduino] 细节修改
2021-12-27 21:10:19 +08:00
Meco Man 559d4ef4d6 [simulator][lvgl]暂时屏蔽到lvgl文件系统使能 2021-12-26 22:15:49 -05:00
Meco Man 9684d29fd1 [simulator] add utf-8 2021-12-27 08:24:34 +08:00
guo 2babfedd52
Merge pull request #5397 from liukangcc/cflag
[update] CFLAGS
2021-12-21 17:50:54 +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
Man, Jianting (Meco) 6369e89502
[posix] POSIX standard implementation for PSE51 (#5384)
* [posix] POSIX standard implementation for PSE51

- add some posix's interfaces that we haven't before.
- these PR have passed the interface definition test across gcc platfrom;
- have tested base on qemu-a9 and stm32h750-art-pi.

* [newlib] only enable POSIX.1-1990

* update projects
2021-12-17 15:34:17 +08:00
liukangcc b0f6c2fbae [update] CFLAGS 2021-12-17 14:28:40 +08:00
guo c4cd52a746
Merge pull request #5393 from mysterywolf/win32 2021-12-16 16:51:49 +08:00
guo a6b62d37d0
Merge pull request #5394 from mysterywolf/simu 2021-12-16 16:51:30 +08:00
Tangyuxin d724eed9fc
分离内存分配接口与内存分配算法 (#5175)
* [kernel][mem] Multiple instances of small memory allocation algorithm

* [kernel][mem] Change small memory management algorithm memory header flag

* [kernel][mem] Fix assertion problem

* [kernel][slab] Multiple instances of slab memory management algorithm

* [kernel][memheap] Remove rt_malloc/rt_free/rt_realloc and other related memory interfaces

* [kernel][mem] Clean up memory space of small memory management objects

* [kernel][kservice] Add memory application interface and thread protection interface

* [kernel][kservice] Fix function return value problem

* [kernel][memheap] Optimize memheaptrace print

* [kernel][memheap] Support best mode

* [kernel][memory] Remove semaphore lock

* [kernel][memheap] Add locked flag

* [kernel][memory] Support malloc memory in interrupt

* [kernel][memheap] Add 'memheapcheck' cmd

* [kernel][mem] Fix failure to request full memory

* [kernel][memheap] Fix compilation warning

* [kernel][mem] Fix mem realloc ASSERT

* [examples][testcases] Add small mem testcase

* [examples][mem_tc] Modify test memory size

* [examples][testcases] Add slab memory management algorithm test case

* [examples][testcases] fix small memory management algorithm test case

* [kernel][memory] Adjusting memory allocation algorithm object definition and interface

* [kernel][memory] Fix compilation warning

* [examples][utest] Fix mem test case

* [examples][utest] fix slab test case

* [utest][testcases] Shorten test time

* [kernel][memory] Formatting code

* [examples][utest] Adjust test run time

* [examples][utest] Formatting code

* [bsp] update all rtconfig.h
2021-12-16 16:23:58 +08: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 82cae7dcc9 [vs simulator] remove the error prompt for v4.1.0 2021-12-15 16:56:34 -05:00
Meco Man 879e9d4c54 更新rtconfig.h 2021-12-01 22:02:36 -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
guo cda8caeda0
Merge pull request #5180 from liukangcc/bsp
[update] bsp .config file and rtconfig.h file.
2021-10-15 13:54:46 +08:00
liukangcc 7dc99c1ff4 [update] bsp .config file and rtconfig.h file. 2021-10-14 14:49:53 +08:00
guo b1baf42d4e
Revert "Fix compiler flags issue" 2021-10-14 14:36:18 +08:00
guo 530f6b31bf
Merge pull request #5171 from liukangcc/ccflags
Fix compiler flags issue
2021-10-14 11:30:59 +08:00
liukangcc 3ac36a3107 [update] Fix compiler flags issue 2021-10-14 10:32:22 +08:00
Meco Man 8f6260146c [libc][win32] improve win32 support 2021-10-13 15:29:01 -04:00
Meco Man 09b4f0040e [bsp][simulator] attachment pr of #3592 2021-10-12 13:37:14 -04:00
Jianting (Meco) Man 7544b40122
Merge pull request #53 from jasonbu/master
simulator add support for msvc auto find path
2021-10-12 12:20:02 -05: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
JCZou 0369db718c Fix compiler flags issue
CCFLAGS is used by gcc and g++ compiler. So CFLAGS should be used for
gcc to avoid passing gcc flags to g++.
2021-08-19 08:53:27 +02: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