stm32: disable ethernet/LwIP to save some more flash

This commit is contained in:
embeddedt 2022-08-28 16:48:37 -04:00
parent 8a2fecc720
commit 620e6bc1d8
No known key found for this signature in database
GPG Key ID: A69433EC199B5613
2 changed files with 4 additions and 3 deletions

View File

@ -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)

View File

@ -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