summaryrefslogtreecommitdiff
path: root/extmod/extmod.cmake
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2023-02-01 14:19:45 +1100
committerDamien George <damien@micropython.org>2023-03-01 01:26:44 +1100
commitf78464c12ba97688e3d234d88362a90e38892f7c (patch)
tree7d5b7fbd5a63a4b020558236c125b768862961e2 /extmod/extmod.cmake
parenta3773026238c7c779cad79aa9d9c468e680e7004 (diff)
extmod/modnetwork: Allow more extensive port-specific customisation.
This allows for a port (e.g. esp8266/esp32) to use extmod/modnetwork.c and provide the globals dict, rather than just a list of interfaces. When this is used, the default implementation of `network.route` and the NIC list is not enabled. Also splits out the LWIP-specific helpers from modnetwork.c into network_lwip.c. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'extmod/extmod.cmake')
-rw-r--r--extmod/extmod.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/extmod/extmod.cmake b/extmod/extmod.cmake
index 2a19a0e85..0e5ed9422 100644
--- a/extmod/extmod.cmake
+++ b/extmod/extmod.cmake
@@ -38,6 +38,7 @@ set(MICROPY_SOURCE_EXTMOD
${MICROPY_EXTMOD_DIR}/moduzlib.c
${MICROPY_EXTMOD_DIR}/modwebrepl.c
${MICROPY_EXTMOD_DIR}/network_cyw43.c
+ ${MICROPY_EXTMOD_DIR}/network_lwip.c
${MICROPY_EXTMOD_DIR}/network_ninaw10.c
${MICROPY_EXTMOD_DIR}/network_wiznet5k.c
${MICROPY_EXTMOD_DIR}/uos_dupterm.c