heap: use ROM implementation for heap tlsf on esp32c2

This commit is contained in:
morris
2022-05-06 19:20:05 +08:00
parent 24f5fecef0
commit 068adfba70
10 changed files with 24 additions and 16 deletions

View File

@@ -49,7 +49,7 @@ void heap_caps_enable_nonos_stack_heaps(void)
*/
void heap_caps_init(void)
{
#ifdef CONFIG_HEAP_ROM_IMPL
#ifdef CONFIG_HEAP_TLSF_USE_ROM_IMPL
extern void multi_heap_in_rom_init(void);
multi_heap_in_rom_init();
#endif