due to memory fragmentation, can not have 12 pages in regular memory (ESP32)
This commit is contained in:
parent
100ae6d3b7
commit
35b5e5c459
1 changed files with 1 additions and 1 deletions
2
gen.h
2
gen.h
|
@ -24,7 +24,7 @@ typedef enum { rm_prev, rm_cur } rm_selection_t;
|
||||||
#if defined(ESP32) || defined(BUILD_FOR_RP2040)
|
#if defined(ESP32) || defined(BUILD_FOR_RP2040)
|
||||||
// ESP32 goes in a crash-loop when allocating 128kB
|
// ESP32 goes in a crash-loop when allocating 128kB
|
||||||
// see also https://github.com/espressif/esp-idf/issues/1934
|
// see also https://github.com/espressif/esp-idf/issues/1934
|
||||||
#define DEFAULT_N_PAGES 12
|
#define DEFAULT_N_PAGES 10 // was 12
|
||||||
#else
|
#else
|
||||||
// more requires unibusmap support
|
// more requires unibusmap support
|
||||||
#define DEFAULT_N_PAGES 31
|
#define DEFAULT_N_PAGES 31
|
||||||
|
|
Loading…
Add table
Reference in a new issue