Skip to content
Discussion options

You must be logged in to vote

To completely remove "webrepl" from the firmware, you need to modify 4 files in the micropython directory

  1. "ports/esp32/boards/manifest.py"
...
# Useful networking-related packages.
# require("bundle-networking")
require("mip")
require("urequests")
require("ntptime")
# require("webrepl")
...
  1. "ports/esp32/mpconfigport.h"
...
#define MICROPY_PY_WEBREPL                  (0)
#define MICROPY_PY_SOCKET_EVENTS            (1)  /* need for socket event capability */
...
  1. "micropython/extmod/extmod.cmake
$ diff extmod.cmake extmod.cmake-ORIG
39a40
>     ${MICROPY_EXTMOD_DIR}/modwebrepl.c
  1. "micropython/extmod/extmod.mk"
$ diff extmod.mk extmod.mk-ORIG
36a37
> 	extmod/modwebrepl.c \

Replies: 4 comments 8 replies

Comment options

You must be logged in to vote
3 replies
@BrunoESP32
Comment options

@glenn20
Comment options

@BrunoESP32
Comment options

Comment options

andrewleech
Aug 26, 2023
Collaborator Sponsor

You must be logged in to vote
2 replies
@BrunoESP32
Comment options

@andrewleech
Comment options

andrewleech Aug 26, 2023
Collaborator Sponsor

Comment options

Josverl
Aug 27, 2023
Collaborator Sponsor

You must be logged in to vote
2 replies
@BrunoESP32
Comment options

@Josverl
Comment options

Josverl Aug 31, 2023
Collaborator Sponsor

Comment options

You must be logged in to vote
1 reply
@BrunoESP32
Comment options

Answer selected by BrunoESP32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
ESP32
Labels
None yet
5 participants