mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 01:07:21 +00:00
[Kernel] Add ARMCC 6.x support.
This commit is contained in:
@@ -16,8 +16,11 @@
|
||||
#include "rtthread.h"
|
||||
|
||||
#ifdef RT_USING_HEAP
|
||||
|
||||
#ifdef __CC_ARM
|
||||
/* avoid the heap and heap-using library functions supplied by arm */
|
||||
#pragma import(__use_no_heap)
|
||||
#endif
|
||||
|
||||
void *malloc(size_t n)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user