From 4d22ade102b9b5c5b610f2de47385cc53d4ba009 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 31 Jul 2016 02:39:59 +0300 Subject: [PATCH] esp8266: Enable btree module. --- esp8266/Makefile | 2 ++ esp8266/esp8266.ld | 1 + 2 files changed, 3 insertions(+) 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*)