Commit Graph

46 Commits

Author SHA1 Message Date
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
guo b1baf42d4e
Revert "Fix compiler flags issue" 2021-10-14 14:36:18 +08:00
liukangcc 3ac36a3107 [update] Fix compiler flags issue 2021-10-14 10:32:22 +08: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
Meco Man 364ef38e54 [mb9bf506r]手动-自动格式整理 2021-03-21 23:32:39 +08:00
Ernest 7be06b67bb [add] default environment 2019-10-22 16:48:57 +08:00
chenyong 74793a53fd [bsp] update project configure file for finsh component change
Signed-off-by: chenyong <1521761801@qq.com>
2019-09-26 15:40:13 +08:00
tyustli 1be90253d0 delete the CMSIS from components and add the CMSIS
and add the CMSIS in some specific BSP
2019-03-26 13:58:33 +08:00
tangyuxin ed725350a9 [tools] 修复命令行使用 iar 工具链,库文件链接不上的问题 2019-01-19 15:16:14 +08:00
chenchaoqun@rt-thread.com bb8e89e851 【串口】宏定义对应增加 2018-12-17 09:38:53 +08:00
liang yongxiang cd39c2525a [bsp] support get compiler path by environment variables for IAR 2018-04-07 15:43:45 +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 0f3563fd64 [BSP] Update project files 2017-12-31 21:45:32 +08:00
Bernard Xiong 7209a74e1c [BSP] fix compiling issue in mb9bf506r bsp 2017-11-01 21:30:56 +08:00
Bernard Xiong ec5fa950ed
Merge pull request #925 from SummerGGift/20171031_patch1
[BSP] change dfs_init.h => dfs.h
2017-11-01 05:54:52 +08:00
SummerGift f5486852e1 change dfs_init.h => dfs.h 2017-10-31 16:36:45 +08:00
bernard 7877836065 [BSP] Update project files. 2017-10-31 11:59:49 +08:00
bernard 296d57e859 [BSP] remove components.h file. 2017-10-16 14:10:18 +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 1368e01470 [BSP] fix RT_DFS_ELM_MAX_LFN to 255. 2017-04-09 19:23:28 +08:00
BernardXiong e38f3aa39c [BSP] Update Keil MDK project files. 2015-05-11 21:10:25 +08:00
bernard 26118499e0 [BSP] remove rt_device_init_all() invoking. 2014-07-19 06:50:00 +08:00
bernard c45f5a2490 [Drivers] re-write serial framework. 2014-07-18 06:45:54 +08:00
Grissiom 2a9e893c79 initialize timer in bsp
With new timer algorithm, timer should be initialized during startup. So
add them to the bsps. Use these commands to get which bsp is missing
calling the function:

    % git grep rt_system_timer_init bsp|sed -n 's|bsp/\([^/]*\).*|\1|p' | sort | uniq > have_tm_init
    % ls -1 bsp |sed -n 's|\([^/]*\).*|\1|p' | sort > all_bsp
    % comm -3 all_bsp have_tm_init
    beaglebone
    lpc176x
    lpc178x
    ls1bdev
    mb9bf506r
    stm32f10x
    xplorer4330
2013-10-21 00:31:10 +08:00
aozima 8711a0c986 update SConstruct. 2013-07-11 23:11:16 +08:00
aozima cc8301d0f1 update linker script for components auto initial. 2013-07-11 23:07:16 +08:00
Ming, Bai b4de7cce57 Re-normalizing the repo 2013-01-08 22:40:58 +08:00
dzzxzz@gmail.com e934439b26 update the IAR and MDK project file for MB9B506R BSP
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2513 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-24 03:40:01 +00:00
dzzxzz@gmail.com 999de72081 fixed a comment error in rtconfig.h
which default value of RT_THREAD_PRIORITY_MAX is 32 not 2 

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2303 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-24 08:26:44 +00:00
dzzxzz@gmail.com 2d6bb86360 fixed a compiling error while components_init.h changed to components.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2300 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-20 07:41:04 +00:00
dzzxzz@gmail.com d402cfea19 fixed compiling error in stm32f0x
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2197 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-30 01:52:48 +00:00
dzzxzz@gmail.com 7b6828b2b5 don't include the file while RTT don't define
ex. if RT_USING_MEMHEAP isn't defined, then memheap.c won't be included

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2148 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-02 07:45:48 +00:00
dzzxzz@gmail.com 6f6e31720b update MB9BF506R KEIL and IAR project files
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2147 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-01 08:33:38 +00:00
dzzxzz@gmail.com 60ada9665d add the standard CMSIS(Version 3.01) into components
and implement examples in MB9BF506R and LPC176x branches
define RT_USING_BSP_CMSIS in rtconfig.h will use CMSIS in bsp
define RT_USING_RTT_CMSIS in rtconfig.h will use CMSIS in components 

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2146 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-01 07:31:15 +00:00
dzzxzz@gmail.com 7fddcb0e35 add serial device driver framework
and implement the example in MB9BF506R branch

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2145 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-01 06:52:34 +00:00
dzzxzz@gmail.com 0ce3aa056d update CMSIS RTOS API in MB9BF506R
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2117 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-15 06:16:37 +00:00
dzzxzz@gmail.com e383470e01 update serial driver of MB9BF506R
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2116 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-15 03:38:36 +00:00
dzzxzz@gmail.com ffd65c60c4 using components initialize in mb9bf506 branch
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2101 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-23 10:29:50 +00:00
dzzxzz@gmail.com cbd32a0c32 upgrade MB9BF506 CMSIS to version 3.01
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2100 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-23 09:59:00 +00:00
dzzxzz@gmail.com b05e37893a according to the LPC176x, make a new BSP file structure for mb9bf506r
and add a template.ewp file for updating the IAR project

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2095 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-20 03:28:15 +00:00
dzzxzz@gmail.com 0f6856b538 update the keil projects with tools/buildbot.py project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2055 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 12:00:17 +00:00
dzzxzz@gmail.com a7810e12b9 update the rtconfig.py and SConstruct in the BSP
in order to use buildbot.py

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2028 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-09 03:32:35 +00:00
dzzxzz 3b06be1cde update FM3 MB9BF506R serial driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1997 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-17 03:58:15 +00:00
wuyangyong 2a52fefd5f update fm3 506.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1993 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-07 12:08:56 +00:00
dzzxzz@gmail.com 887bcbbad8 update Fujistu FM3 porting
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1990 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-05 01:13:30 +00:00