stm32: disable ethernet/LwIP to save some more flash
This commit is contained in:
parent
8a2fecc720
commit
620e6bc1d8
@ -82,7 +82,8 @@ void STM32F7DISC_board_early_init(void);
|
||||
#define MICROPY_HW_USB_OTG_ID_PIN (pin_A10)
|
||||
|
||||
// Ethernet via RMII
|
||||
#define MICROPY_HW_ETH_MDC (pin_C1)
|
||||
// embeddedt: the line below is commented out to allow building without LwIP
|
||||
//#define MICROPY_HW_ETH_MDC (pin_C1)
|
||||
#define MICROPY_HW_ETH_MDIO (pin_A2)
|
||||
#define MICROPY_HW_ETH_RMII_REF_CLK (pin_A1)
|
||||
#define MICROPY_HW_ETH_RMII_CRS_DV (pin_A7)
|
||||
|
||||
@ -6,8 +6,8 @@ TEXT0_ADDR = 0x08000000
|
||||
TEXT1_ADDR = 0x08020000
|
||||
|
||||
# MicroPython settings
|
||||
MICROPY_PY_LWIP = 1
|
||||
# Disabled by embeddedt to save
|
||||
# Several disabled by embeddedt to save flash
|
||||
#MICROPY_PY_LWIP = 1
|
||||
#MICROPY_PY_USSL = 1
|
||||
#MICROPY_SSL_MBEDTLS = 1
|
||||
MICROPY_PY_LVGL = 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user