diff options
| author | Jim Mussared <jim.mussared@gmail.com> | 2022-07-01 09:57:13 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-07-02 00:21:36 +1000 |
| commit | 6519b1b95e44e471cb6a8ac60c31bfac482f0e5a (patch) | |
| tree | 60347d2bf7c682995e621f1dcab1b8b072a45bf8 | |
| parent | 99c25897783122003550d58f8d31b4a8fecc8611 (diff) | |
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 <jim.mussared@gmail.com>
| -rw-r--r-- | ports/stm32/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/Makefile b/ports/stm32/Makefile index 53d1bb4ac..f1c22c2a9 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 |
