From 35b5e5c4597dc41c91b1c4b4f4babd0b5c4afd7c Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Mon, 20 May 2024 13:27:37 +0200 Subject: [PATCH] due to memory fragmentation, can not have 12 pages in regular memory (ESP32) --- gen.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen.h b/gen.h index 19e52db..a65cee9 100644 --- a/gen.h +++ b/gen.h @@ -24,7 +24,7 @@ typedef enum { rm_prev, rm_cur } rm_selection_t; #if defined(ESP32) || defined(BUILD_FOR_RP2040) // ESP32 goes in a crash-loop when allocating 128kB // see also https://github.com/espressif/esp-idf/issues/1934 -#define DEFAULT_N_PAGES 12 +#define DEFAULT_N_PAGES 10 // was 12 #else // more requires unibusmap support #define DEFAULT_N_PAGES 31