diff options
| author | Paul Sokolovsky | 2017-09-10 13:54:00 +0300 |
|---|---|---|
| committer | Paul Sokolovsky | 2017-09-10 13:54:00 +0300 |
| commit | 9355cca610e2e7f16a5847271fefe47db97b8cc4 (patch) | |
| tree | f0c6187a4227b7cedfa80ecadd57d23621caaa98 /ports/esp8266 | |
| parent | e41bc3fcbb098fba4fbb8a9a4119e1dda5519ddd (diff) | |
esp8266: Set DEFPSIZE=1024, MINCACHE=3 for "btree" module.
Defaults of 4096 and 5 respectively are too high to esp8266, causing
out of memory with a database beyond couple of pages.
Diffstat (limited to 'ports/esp8266')
| -rw-r--r-- | ports/esp8266/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/esp8266/Makefile b/ports/esp8266/Makefile index 177a32353..95236a8d9 100644 --- a/ports/esp8266/Makefile +++ b/ports/esp8266/Makefile @@ -7,6 +7,7 @@ MICROPY_PY_USSL = 1 MICROPY_SSL_AXTLS = 1 MICROPY_FATFS = 1 MICROPY_PY_BTREE = 1 +BTREE_DEFS_EXTRA = -DDEFPSIZE=1024 -DMINCACHE=3 FROZEN_DIR ?= scripts FROZEN_MPY_DIR ?= modules |
