heap_tlsf: use tlsf IMPL in ESP32C2 ROM

This commit is contained in:
jiangguangming
2021-03-19 17:29:42 +08:00
committed by wuzhenghui
parent a9f8b20431
commit 6ec373daf5
11 changed files with 95 additions and 36 deletions

View File

@@ -49,6 +49,10 @@ void heap_caps_enable_nonos_stack_heaps(void)
*/
void heap_caps_init(void)
{
#ifdef CONFIG_HEAP_ROM_IMPL
extern void multi_heap_in_rom_init(void);
multi_heap_in_rom_init();
#endif
/* Get the array of regions that we can use for heaps
(with reserved memory removed already.)
*/