mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-09 20:45:41 +08:00
[src][SConscript] Provide user heap options
This commit is contained in:
1 parent
089c2dd106
commit
d79802b942
2 files changed
+16
-1
No files matched your search
@@ -23,6 +23,9 @@ if GetDepend('RT_USING_MEMHEAP') == False:
|
||||
if GetDepend('RT_USING_MEMHEAP_AS_HEAP'):
|
||||
SrcRemove(src, ['mem.c'])
|
||||
|
||||
if GetDepend('RT_USING_USERHEAP'):
|
||||
SrcRemove(src, ['mem.c', 'slab.c', 'memheap.c'])
|
||||
|
||||
if GetDepend('RT_USING_DEVICE') == False:
|
||||
SrcRemove(src, ['device.c'])
|
||||
|
||||
|
||||
Reference in new issue
Block a user