Skip to content

Commit

Permalink
due to memory fragmentation, can not have 12 pages in regular memory …
Browse files Browse the repository at this point in the history
…(ESP32)
  • Loading branch information
folkertvanheusden committed May 20, 2024
1 parent 100ae6d commit 35b5e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gen.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 35b5e5c

Please sign in to comment.