summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-07-31 02:39:59 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-07-31 02:39:59 +0300
commit4d22ade102b9b5c5b610f2de47385cc53d4ba009 (patch)
treeef778f033366ad4c0cb6f1cd026d7c65ccbd5559 /esp8266
parent64ad838fde7ab4333fadc804a0339a074d041767 (diff)
downloadmicropython-4d22ade102b9b5c5b610f2de47385cc53d4ba009.tar.gz
micropython-4d22ade102b9b5c5b610f2de47385cc53d4ba009.zip
esp8266: Enable btree module.
Diffstat (limited to 'esp8266')
-rw-r--r--esp8266/Makefile2
-rw-r--r--esp8266/esp8266.ld1
2 files changed, 3 insertions, 0 deletions
diff --git a/esp8266/Makefile b/esp8266/Makefile
index 35a609b3d2..ea9c7eb871 100644
--- a/esp8266/Makefile
+++ b/esp8266/Makefile
@@ -5,6 +5,7 @@ QSTR_DEFS = qstrdefsport.h #$(BUILD)/pins_qstr.h
MICROPY_PY_USSL = 1
MICROPY_SSL_AXTLS = 1
+MICROPY_PY_BTREE = 1
# include py core make definitions
include ../py/py.mk
@@ -88,6 +89,7 @@ SRC_C = \
$(BUILD)/frozen.c \
fatfs_port.c \
axtls_helpers.c \
+ $(SRC_MOD)
STM_SRC_C = $(addprefix stmhal/,\
pybstdio.c \
diff --git a/esp8266/esp8266.ld b/esp8266/esp8266.ld
index 79bdf87f71..2e327b4a4f 100644
--- a/esp8266/esp8266.ld
+++ b/esp8266/esp8266.ld
@@ -121,6 +121,7 @@ SECTIONS
*lib/fatfs/*.o*(.literal*, .text*)
*/libaxtls.a:(.literal*, .text*)
+ *lib/berkeley-db-1.xx/*.o(.literal*, .text*)
*lib/libm/*.o*(.literal*, .text*)
*lib/mp-readline/*.o(.literal*, .text*)
*lib/netutils/*.o*(.literal*, .text*)