Remove webrepl from to save memory?

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
Posts: 20
Joined: Wed Oct 26, 2016 10:07 pm

Remove webrepl from to save memory?

Post by NTL2009 » Thu Oct 27, 2016 9:29 pm

I expect to be doing all my commands while connected via USB. Would there be any advantage (memory, performance?) to commenting out the lines "import webrepl" and "webrepl.start()" from Like this:

# This file is executed on every boot (including wake-boot from deepsleep)
#import esp
import gc
# import webrepl
# webrepl.start()

Posts: 1155
Joined: Fri Feb 28, 2014 2:05 pm

Re: Remove webrepl from to save memory?

Post by pfalcon » Thu Oct 27, 2016 9:40 pm

Yes. That's btw the reason why webrepl is not enabled by default it "daily development" builds. Note that starting with next version (1.8.6), webrepl won't be started automatically in release builds too:
Awesome MicroPython list
Pycopy - A better MicroPython
MicroPython standard library for all ports and forks -
More up to date docs -

Post Reply