EKBEE expects 18 bit address space with no RAM behind the last 8/16(?)kB

This commit is contained in:
folkert van heusden 2023-03-23 20:18:36 +01:00
parent 82da553c94
commit c096114c6b
Signed by untrusted user who does not match committer: folkert
GPG key ID: 6B6455EDFEED3BD1

View file

@ -17,7 +17,7 @@
// see also https://github.com/espressif/esp-idf/issues/1934 // see also https://github.com/espressif/esp-idf/issues/1934
constexpr int n_pages = 12; constexpr int n_pages = 12;
#else #else
constexpr int n_pages = 32; // 32=256kB (for EKBEEx.BIC) constexpr int n_pages = 30; // 30=240kB (for EKBEEx.BIC)
#endif #endif
constexpr uint16_t di_ena_mask[4] = { 4, 2, 0, 1 }; constexpr uint16_t di_ena_mask[4] = { 4, 2, 0, 1 };