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.
This commit is contained in:
Paul Sokolovsky
2017-09-10 13:54:00 +03:00
parent e41bc3fcbb
commit 9355cca610
2 changed files with 2 additions and 1 deletions

View File

@@ -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