Commit Graph

50 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
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 958d940575 [lpcxxx] auto formatted 2021-03-17 02:26:35 +08:00
yangjie dc09f3760f 更新 stm32 工程,nxp 工程 2020-12-28 15:02:17 +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
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +08:00
misonyo a454393994 [BSP][all NXP]change license to Apache-2.0 2018-10-22 11:02: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
aozima 19433e0cf5 update SConscript: support scons 3. 2018-02-06 20:07:28 +08:00
Bernard Xiong 0f3563fd64 [BSP] Update project files 2017-12-31 21:45:32 +08:00
Bernard Xiong f74cde045b [BSP] fix the finsh_system_init issue in BSP 2017-12-08 11:57:22 +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 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
BernardXiong e38f3aa39c [BSP] Update Keil MDK project files. 2015-05-11 21:10:25 +08:00
Grissiom c565925169 bsp/{cortex-M}: fix the SysTick_Config
SysTick_Config substract one inside the function. So there is no need to
substract one when passing the parameter.
2015-01-09 15:26:06 +08:00
bernard 26118499e0 [BSP] remove rt_device_init_all() invoking. 2014-07-19 06:50:00 +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
yiyue.fang 483479acee update the MDK project file in LPC178x 2013-04-10 01:16:56 +08:00
ufwihg e989f13f04 update bsp/lpc178x/CMSIS/CM3/DeviceSupport/NXP/LPC177x_8x/startup/gcc/startup_LPC177x_8x.s 2013-03-30 11:43:03 +08:00
Bernard Xiong aaf0186852 Update GCC porting of LPC178x 2013-03-29 16:28:11 +08:00
Bernard Xiong a5df8c9d0b remove RT-Thread GUI 2013-02-21 14:04:17 +08:00
Ming, Bai b4de7cce57 Re-normalizing the repo 2013-01-08 22:40:58 +08:00
dzzxzz@gmail.com 42c385d23e update the MDK project file in LPC178x
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2510 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-24 02:33:07 +00:00
dzzxzz@gmail.com 5492ed91e7 update lpc178x keil project file
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2326 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-09 02:09:02 +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 cfb550b8d1 fixed gcc compiling error in lpc178x project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2190 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-27 01:01:47 +00:00
dzzxzz@gmail.com 70e39ffa54 update rtgui related project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2177 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-19 00:48:11 +00:00
bernard.xiong@gmail.com 016aeaf2ff update LPC178x project file.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2078 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-16 04:58:10 +00:00
bernard.xiong@gmail.com 0982f6e079 Added LCD driver and enable SDRAM.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2077 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-16 04:16:19 +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 57f34f6031 fixed compiling error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2054 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 11:41:15 +00:00
dzzxzz@gmail.com cfc501f919 fixed IAR compiling error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2053 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 11:29:42 +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 a54b523ec0 fixed scons+keil compiling error in lpc2148 and lpc178x branches
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1897 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-31 08:18:46 +00:00
wuyangyong b498aa0da6 use new srcremove.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1870 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 03:27:46 +00:00
wuyangyong 04ab961b6f update lpc1788 bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1786 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-05 10:35:28 +00:00
wuyangyong 3763021cd5 add applications (bsp lpc1788)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1785 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-05 10:28:43 +00:00
wuyangyong d246a71b91 update lpc1788 bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1784 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-05 10:25:23 +00:00
wuyangyong 2d98e4990e add lpc178x eth driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1765 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-14 09:18:11 +00:00
wuyangyong 01a17f4f38 update lpc178x bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1764 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-14 05:43:51 +00:00
wuyangyong 5de50e1422 update lpc178x bsp
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1763 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-13 18:04:20 +00:00
wuyangyong eb0af4e41e add lpc1788
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1759 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-13 17:15:32 +00:00