Skip to content

Commit 8ff0682

Browse files
authored
Merge pull request #8605 from tannewt/fix_esp_heap_alloc
Fix split heap on ESP
2 parents 4bdd3e6 + 1f23557 commit 8ff0682

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/circuitpy_mpconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ extern void common_hal_mcu_enable_interrupts(void);
9393
#define MICROPY_GC_ALLOC_THRESHOLD (0)
9494
#define MICROPY_GC_SPLIT_HEAP (1)
9595
#define MICROPY_GC_SPLIT_HEAP_AUTO (1)
96-
#define MP_PLAT_ALLOC_HEAP(size) port_malloc(size, true)
96+
#define MP_PLAT_ALLOC_HEAP(size) port_malloc(size, false)
9797
#define MP_PLAT_FREE_HEAP(ptr) port_free(ptr)
9898
#include "supervisor/port_heap.h"
9999
#define MICROPY_HELPER_LEXER_UNIX (0)

0 commit comments

Comments
 (0)