py: Support to build berkeley db 1.85 and "btree" module.

This commit is contained in:
Paul Sokolovsky
2016-06-15 00:52:45 +03:00
parent 06b783cf58
commit 337111ba9e
3 changed files with 29 additions and 0 deletions

View File

@@ -205,6 +205,9 @@ STATIC const mp_rom_map_elem_t mp_builtin_module_table[] = {
#if MICROPY_PY_FRAMEBUF
{ MP_ROM_QSTR(MP_QSTR_framebuf), MP_ROM_PTR(&mp_module_framebuf) },
#endif
#if MICROPY_PY_BTREE
{ MP_ROM_QSTR(MP_QSTR_btree), MP_ROM_PTR(&mp_module_btree) },
#endif
// extra builtin modules as defined by a port
MICROPY_PORT_BUILTIN_MODULES