Skip to content
Snippets Groups Projects
Commit 43241cea authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

unix: Enable btree module.

But disable it for coverage build, as its extra warninsg aren't compatible
with K&R C BerkeleyDB uses.
parent b09cd0e1
No related branches found
No related tags found
No related merge requests found
...@@ -260,7 +260,7 @@ freedos: ...@@ -260,7 +260,7 @@ freedos:
# build an interpreter for coverage testing and do the testing # build an interpreter for coverage testing and do the testing
coverage: coverage:
$(MAKE) COPT="-O0" CFLAGS_EXTRA='-DMP_CONFIGFILE="<mpconfigport_coverage.h>" -fprofile-arcs -ftest-coverage -Wdouble-promotion -Wformat -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wuninitialized -Wunused-parameter -DMICROPY_UNIX_COVERAGE' LDFLAGS_EXTRA='-fprofile-arcs -ftest-coverage' BUILD=build-coverage PROG=micropython_coverage $(MAKE) COPT="-O0" MICROPY_PY_BTREE=0 CFLAGS_EXTRA='-DMP_CONFIGFILE="<mpconfigport_coverage.h>" -fprofile-arcs -ftest-coverage -Wdouble-promotion -Wformat -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wuninitialized -Wunused-parameter -DMICROPY_UNIX_COVERAGE' LDFLAGS_EXTRA='-fprofile-arcs -ftest-coverage' BUILD=build-coverage PROG=micropython_coverage
coverage_test: coverage coverage_test: coverage
$(eval DIRNAME=$(notdir $(CURDIR))) $(eval DIRNAME=$(notdir $(CURDIR)))
......
...@@ -11,6 +11,9 @@ MICROPY_USE_READLINE = 1 ...@@ -11,6 +11,9 @@ MICROPY_USE_READLINE = 1
# Whether to enable FatFs VFS # Whether to enable FatFs VFS
MICROPY_FATFS = 1 MICROPY_FATFS = 1
# btree module using Berkeley DB 1.xx
MICROPY_PY_BTREE = 1
# _thread module using pthreads # _thread module using pthreads
MICROPY_PY_THREAD = 1 MICROPY_PY_THREAD = 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment