File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ MICROPY_PY_USSL = 1
7
7
MICROPY_SSL_AXTLS = 1
8
8
MICROPY_FATFS = 1
9
9
MICROPY_PY_BTREE = 1
10
+ BTREE_DEFS_EXTRA = -DDEFPSIZE=1024 -DMINCACHE=3
10
11
11
12
FROZEN_DIR ?= scripts
12
13
FROZEN_MPY_DIR ?= modules
Original file line number Diff line number Diff line change 74
74
75
75
ifeq ($(MICROPY_PY_BTREE ) ,1)
76
76
BTREE_DIR = lib/berkeley-db-1.xx
77
- BTREE_DEFS = -D__DBINTERFACE_PRIVATE=1 -Dmpool_error=printf -Dabort=abort_ -Dvirt_fd_t=mp_obj_t "-DVIRT_FD_T_HEADER=<py/obj.h>"
77
+ BTREE_DEFS = -D__DBINTERFACE_PRIVATE=1 -Dmpool_error=printf -Dabort=abort_ -Dvirt_fd_t=mp_obj_t "-DVIRT_FD_T_HEADER=<py/obj.h>" $( BTREE_DEFS_EXTRA )
78
78
INC += -I$(TOP ) /$(BTREE_DIR ) /PORT/include
79
79
SRC_MOD += extmod/modbtree.c
80
80
SRC_MOD += $(addprefix $(BTREE_DIR ) /,\
You can’t perform that action at this time.
0 commit comments