Fix split heap on ESP

It was setting the DMA capability requirement which excludes PSRAM.

Fixes #8597. Fixes #8573.
This commit is contained in:
Scott Shawcroft 2023-11-14 12:00:59 -08:00
parent bb12d36e5a
commit 1f2355742b
No known key found for this signature in database
GPG Key ID: 0DFD512649C052DA
1 changed files with 1 additions and 1 deletions

View File

@ -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)