Merge pull request #8605 from tannewt/fix_esp_heap_alloc
Fix split heap on ESP
This commit is contained in:
commit
8ff0682937
@ -93,7 +93,7 @@ extern void common_hal_mcu_enable_interrupts(void);
|
||||
#define MICROPY_GC_ALLOC_THRESHOLD (0)
|
||||
#define MICROPY_GC_SPLIT_HEAP (1)
|
||||
#define MICROPY_GC_SPLIT_HEAP_AUTO (1)
|
||||
#define MP_PLAT_ALLOC_HEAP(size) port_malloc(size, true)
|
||||
#define MP_PLAT_ALLOC_HEAP(size) port_malloc(size, false)
|
||||
#define MP_PLAT_FREE_HEAP(ptr) port_free(ptr)
|
||||
#include "supervisor/port_heap.h"
|
||||
#define MICROPY_HELPER_LEXER_UNIX (0)
|
||||
|
Loading…
Reference in New Issue
Block a user