Commit Graph

252 Commits

Author SHA1 Message Date
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
Meco Man 48c72e233e [simulator] 更新配置文件 防止报错 2021-03-16 15:29:20 +08:00
Meco Man 8f7bbfa011 remove RT_USING_NOLIBC 2021-02-23 11:27:12 +08:00
Xinrong Han 3f1407827d add error checks of rt_mutex_take() 2021-01-04 17:08:56 +08:00
guozhanxin a22decb71b 【优化】在代码中移除 rt_system_object_init/rt_system_tick_init 的调用。 2020-11-23 11:39:38 +08:00
buxiasen 188befc78e simulator add support for msvc auto find path 2020-05-12 16:15:35 +08:00
David Lin 622e8cb0ca
Fixed typo 'rthread' in help infomation
rthread -> rtthread
2020-03-06 21:46:21 +08:00
Bernard Xiong 5ef1bfc878 [bsp] Remove unnecessary files. 2019-12-21 07:25:12 +08:00
Ernest 7be06b67bb [add] default environment 2019-10-22 16:48:57 +08:00
LinJieqiang d16d78c53e fix spelling mistake for "RT_IDEL_HOOK_LIST_SIZE" 2019-09-05 08:33:12 +08:00
armink 60e32cb61e [bsp/simulator] Fix project generate configuration. 2019-07-19 16:14:02 +08:00
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +08:00
misonyo 69cd16e136 [all BSP]fix kconfig file syntax error 2019-01-16 23:23:38 +08:00
chenchaoqun@rt-thread.com 87b407ff18 【修改】.config 中RT_SERIAL_USING_DMA选项 2018-12-17 09:53:44 +08:00
chenchaoqun@rt-thread.com bb8e89e851 【串口】宏定义对应增加 2018-12-17 09:38:53 +08:00
Bernard Xiong 4de8758018 Fix the control interface and GUI initialization 2018-03-11 14:35:50 +08:00
moebius.ever 8160a4089a fixed #1261, modify "axf" to "elf" in rtconfig.py for GCC Toolchains configuration. 2018-03-07 15:28:51 +08:00
Bernard Xiong 8b36b57a11 [UIEngine] move UI engine as a package 2018-03-03 16:34:01 +08:00
aozima 19433e0cf5 update SConscript: support scons 3. 2018-02-06 20:07:28 +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 fdc4fee036 Update .gitignore file. 2017-12-14 09:58:40 +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 ae7237dc53 [BSP] Fix the WIN32 compiling issue.
rename _errno to __rt_errno for conflict in WIN32.
2017-11-30 23:56:52 +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
ArdaFu 3051276e09 [BSP][Simulator] Fix compile error. Replace nfs_init.h with nfs.h 2017-10-17 14:03:25 +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
tanek liang d793cfdef7 [bsp] fix incompatible type error for "finsh_system_init()" 2017-07-29 14:21:40 +08:00
Bernard Xiong 1368e01470 [BSP] fix RT_DFS_ELM_MAX_LFN to 255. 2017-04-09 19:23:28 +08:00
pangweishen 5de8bb2c50 Update rtconfig.h
When useing the macro of  _WIN32 in the file of rtconfig.h , then the file of dfs_win32.c will removed and compiled some mistakes. Fix it.
2016-09-01 14:09:42 +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 369557a981 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2015-10-09 08:56:58 +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 1e4bcaca3e [BSP] remove rtgui_demo in the simulator BSP 2015-10-01 11:34:10 +08:00
Bernard Xiong 5ac0ed7403 [BSP] remove testdll in the simualtor BSP 2015-10-01 11:29:59 +08: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
pangwei 570e9470b1 [uffs] fix the SConscript file of uffs.
Signed-off-by: pangwei <271372443@qq.com>
2015-05-21 17:06:05 +08:00
pangwei d3a031c084 [BSP]add some header File
Signed-off-by: pangwei <271372443@qq.com>
2015-05-21 15:26:31 +08:00
pangwei 688f324fea [BSP] Remove the RT_USING_COMPONENTS_INIT in rt_config.h , and added some components init functions by hand. 2015-05-21 15:05:00 +08:00
prife c6f88ef726 dfs_win32: add seekdir support 2015-02-02 01:21:40 +08:00
bernard 26118499e0 [BSP] remove rt_device_init_all() invoking. 2014-07-19 06:50:00 +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 712d9428ed simulator: disable RTGUI in rtconfig.h
clean code in SConstruct and application.c, disable RTGUI in rtconfig.h
by default.
2013-12-08 20:39:19 +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
Bernard Xiong a0ffbc1fb8 Merge pull request #179 from grissiom/finsh-ex
Finsh ex
2013-10-18 17:06:36 -07: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 3a33906ab1 simulator/jffs2: remove _TIME_T_DEFINED when built by VC++
_TIME_T_DEFINED was pre-defined in order to build jffs2 with VC.
While it may cause many side effects.
2013-10-17 23:47:08 +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
prife 821ab3b9aa scons script: support to generate vs2012 project xml
rename template.vcproj to template_vs2005.vcproj
add template_vs2012.vcxproj
NOTE: the vs2012.py is ugly, just can work.
2013-10-01 15:37:34 +08:00
Grissiom 35cac170fa simulator: add clang-analyze tool support
When CROSS_TOOL or 'RTT_CC' env is setted to 'clang-analyze', it will
use Clang to check the codes.
2013-09-07 15:15:48 +08:00
Grissiom 18692c29b8 simulator: get CROSS_TOOL and EXEC_PATH from env
Simulator get it's way to Travis CI ready.
2013-09-06 21:54:27 +08:00