cannot disable unwanted modules
Posted: Tue Apr 02, 2019 12:22 am
I am trying to remove some of the modules that I don't need.
This is my GNUmakefile that is included in the ports/esp8266 folder:
However after build and flash to the device, the btree and ussl modules are still there :
What am I doing wrong ??
This is my GNUmakefile that is included in the ports/esp8266 folder:
Code: Select all
include Makefile
CFLAGS += -Wno-error
CT_ALLOW_BUILD_AS_ROOT=y
MICROPY_PY_BTREE = 0
MICROPY_PY_USSL = 0
MICROPY_SSL_AXTLS = 0
Code: Select all
>>> help('modules')
__main__ inisetup sh1106_i2c ure
_boot json socket uselect
_onewire jsondb sys usocket
_webrepl lwip time ussl
adbat machine ubinascii ustruct
apa102 math ucollections utime
array micropython uctypes utimeq
btree neopixel uerrno uzlib
builtins network uhashlib webrepl
ds18x20 ntptime uheapq webrepl_setup
errno oled uio websocket
esp onewire ujson websocket_helper
flashbdev os uos wget
framebuf port_diag upip wlan
gc select upip_utarfile writer
gpio8266 sh urandom www
Plus any modules on the filesystem