Commit Graph

10 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 2e99d2855b [gd32][drivers] auto formatted 2021-03-12 00:03:36 +08:00
iysheng 70217ef056 [bsp][gd32103c-eval] Add internal rtc driver 2021-03-09 12:13:42 +08:00
iysheng 5c8f6cc890 [bsp][gd32103c-eval] Add watchdog driver 2021-03-08 18:14:50 +08:00
iysheng e2d6f6aadd [bsp][gd32103c-eval] Modify adc driver with LOG_x function and deselect adc and hwtimer driver 2021-02-05 13:53:52 +08:00
iysheng 2b50fbafe2 [bsp][gd32103c-eval] Add hwtimer driver 2021-02-05 11:45:05 +08:00
Bernard Xiong 821229f896
Update SConscript 2021-01-05 09:12:04 +08:00
iysheng 01adbab9b7 [bsp][gd32103c-eval] Add gd32103c-eval bsp 2021-01-04 14:22:38 +08:00