due to memory fragmentation, can not have 12 pages in regular memory (ESP32)

This commit is contained in:
folkert van heusden 2024-05-20 13:27:37 +02:00
parent 100ae6d3b7
commit 35b5e5c459
Signed by untrusted user who does not match committer: folkert
GPG key ID: 6B6455EDFEED3BD1

2
gen.h
View file

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