aboutsummaryrefslogtreecommitdiff
path: root/ports/stm32/mpconfigport.mk
diff options
context:
space:
mode:
authorDamien George2017-10-16 15:36:57 +1100
committerDamien George2017-10-16 15:36:57 +1100
commite36821a7662e9c65ee2bfb8c23925a10d2167faf (patch)
tree332677dc8ab0db4ec31eb690b409fc966dad1b8d /ports/stm32/mpconfigport.mk
parentc0ea91bc898139aca3ad3e21fc33ff9f0e817952 (diff)
stm32/modnwwiznet5k: Add support for W5500 Ethernet chip.
Which Wiznet chip to use is a compile-time option: MICROPY_PY_WIZNET5K should be set to either 5200 or 5500 to support either one of these Ethernet chips. The driver is called network.WIZNET5K in both cases. Note that this commit introduces a breaking-change at the build level because previously the valid values for MICROPY_PY_WIZNET5K were 0 and 1 but now they are 0, 5200 and 5500.
Diffstat (limited to 'ports/stm32/mpconfigport.mk')
-rw-r--r--ports/stm32/mpconfigport.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/ports/stm32/mpconfigport.mk b/ports/stm32/mpconfigport.mk
index 64145383e..e708de6c1 100644
--- a/ports/stm32/mpconfigport.mk
+++ b/ports/stm32/mpconfigport.mk
@@ -1,6 +1,9 @@
# Enable/disable extra modules
-# wiznet5k module for ethernet support
+# wiznet5k module for ethernet support; valid values are:
+# 0 : no Wiznet support
+# 5200 : support for W5200 module
+# 5500 : support for W5500 module
MICROPY_PY_WIZNET5K ?= 0
# cc3k module for wifi support