From 6519b1b95e44e471cb6a8ac60c31bfac482f0e5a Mon Sep 17 00:00:00 2001 From: Jim Mussared Date: Fri, 1 Jul 2022 09:57:13 +1000 Subject: [PATCH] stm32/Makefile: Fix setting of define that enables WIZNET5K driver. Commit 9670a156dabc1c751a6b02ef280daccf5a0ed213 missed one renaming of MICROPY_PY_WIZNET5K to MICROPY_PY_NETWORK_WIZNET5K which prevented the Wiznet interface from being enabled. Signed-off-by: Jim Mussared --- ports/stm32/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/stm32/Makefile b/ports/stm32/Makefile index 53d1bb4ac4..f1c22c2a9a 100644 --- a/ports/stm32/Makefile +++ b/ports/stm32/Makefile @@ -459,7 +459,7 @@ endif ifneq ($(MICROPY_PY_NETWORK_WIZNET5K),0) WIZNET5K_DIR=drivers/wiznet5k INC += -I$(TOP)/$(WIZNET5K_DIR) -CFLAGS_MOD += -DMICROPY_PY_WIZNET5K=$(MICROPY_PY_NETWORK_WIZNET5K) -D_WIZCHIP_=$(MICROPY_PY_NETWORK_WIZNET5K) +CFLAGS_MOD += -DMICROPY_PY_NETWORK_WIZNET5K=$(MICROPY_PY_NETWORK_WIZNET5K) -D_WIZCHIP_=$(MICROPY_PY_NETWORK_WIZNET5K) ifeq ($(MICROPY_PY_LWIP),1) # When using MACRAW mode (with lwIP), maximum buffer space must be used for the raw socket CFLAGS_MOD += -DWIZCHIP_USE_MAX_BUFFER