stm32/mpconfigport.h: Enable useful networking modules if lwIP enabled.
This commit is contained in:
parent
d821a27b58
commit
6d2e654b14
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue