mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 11:10:14 +01:00
stm32/mpconfigport.h: Enable useful networking modules if lwIP enabled.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user