summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-07-03 11:21:45 +1000
committerDamien George <damien.p.george@gmail.com>2019-07-03 11:21:45 +1000
commit6d2e654b1411d0816c8f7eaa159b9c57a2617859 (patch)
tree923f42177030a457d9fda7d2de064eae2843240c
parentd821a27b584740c21d451a882f7ca58d01486021 (diff)
stm32/mpconfigport.h: Enable useful networking modules if lwIP enabled.
-rw-r--r--ports/stm32/mpconfigport.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/stm32/mpconfigport.h b/ports/stm32/mpconfigport.h
index d80230063..5095dde52 100644
--- a/ports/stm32/mpconfigport.h
+++ b/ports/stm32/mpconfigport.h
@@ -139,6 +139,9 @@
#define MICROPY_PY_URE_SUB (1)
#define MICROPY_PY_UHEAPQ (1)
#define MICROPY_PY_UHASHLIB (1)
+#define MICROPY_PY_UHASHLIB_MD5 (MICROPY_PY_USSL)
+#define MICROPY_PY_UHASHLIB_SHA1 (MICROPY_PY_USSL)
+#define MICROPY_PY_UCRYPTOLIB (MICROPY_PY_USSL)
#define MICROPY_PY_UBINASCII (1)
#define MICROPY_PY_URANDOM (1)
#define MICROPY_PY_URANDOM_EXTRA_FUNCS (1)
@@ -160,6 +163,8 @@
#define MICROPY_PY_MACHINE_SPI_MAKE_NEW machine_hard_spi_make_new
#define MICROPY_HW_SOFTSPI_MIN_DELAY (0)
#define MICROPY_HW_SOFTSPI_MAX_BAUDRATE (HAL_RCC_GetSysClockFreq() / 48)
+#define MICROPY_PY_UWEBSOCKET (MICROPY_PY_LWIP)
+#define MICROPY_PY_WEBREPL (MICROPY_PY_LWIP)
#define MICROPY_PY_FRAMEBUF (1)
#ifndef MICROPY_PY_USOCKET
#define MICROPY_PY_USOCKET (1)