Skip to content

Commit 1f23557

Browse files
committed
Fix split heap on ESP
It was setting the DMA capability requirement which excludes PSRAM. Fixes #8597. Fixes #8573.
1 parent bb12d36 commit 1f23557

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)