From c096114c6b94b2d9205ab31f9a8bd16239b40459 Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Thu, 23 Mar 2023 20:18:36 +0100 Subject: [PATCH] EKBEE expects 18 bit address space with no RAM behind the last 8/16(?)kB --- bus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bus.cpp b/bus.cpp index 2969542..330df5a 100644 --- a/bus.cpp +++ b/bus.cpp @@ -17,7 +17,7 @@ // see also https://github.com/espressif/esp-idf/issues/1934 constexpr int n_pages = 12; #else -constexpr int n_pages = 32; // 32=256kB (for EKBEEx.BIC) +constexpr int n_pages = 30; // 30=240kB (for EKBEEx.BIC) #endif constexpr uint16_t di_ena_mask[4] = { 4, 2, 0, 1 };