mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 20:21:04 +00:00
heap: Refactor heap regions/capabilities out of FreeRTOS
Remove tagged heap API, rename caps_xxx to heap_caps_xxx Also includes additional heap_caps_xxx inspection functions.
This commit is contained in:

committed by
Angus Gratton

parent
5ee49fd311
commit
71c70cb15c
@@ -86,14 +86,12 @@ static struct syscall_stub_table s_stub_table = {
|
||||
#endif
|
||||
};
|
||||
|
||||
void *pvPortMalloc(size_t);
|
||||
|
||||
void esp_setup_syscall_table()
|
||||
{
|
||||
syscall_table_ptr_pro = &s_stub_table;
|
||||
syscall_table_ptr_app = &s_stub_table;
|
||||
_GLOBAL_REENT = &s_reent;
|
||||
environ = pvPortMalloc(sizeof(char*));
|
||||
environ = malloc(sizeof(char*));
|
||||
environ[0] = NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user