diff options
| author | Mark Seminatore <nebula_peeps4t@icloud.com> | 2025-03-31 11:38:36 -0700 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-04-03 13:17:14 +1100 |
| commit | f96417dbf28617c533e4f2e65c65d1ed11f089fa (patch) | |
| tree | db7ae8cb2ec934895bcb05279c79f9ba77ae1e19 /tools/codeformat.py | |
| parent | 5eee5a67dc69f6b701e9a79b6fd1e047dfbd55a9 (diff) | |
rp2/cyw43_configport: Fix cyw43 mDNS by properly starting mDNS on netif.
The rp2 port has an incomplete mDNS implementation. The code in `main.c`
calls `mdns_resp_init()` which opens the UDP socket for mDNS. However, no
code in the cyw43 driver makes the proper calls to `mdns_resp_add_netif()`
and `mdns_resp_remove_netif()` to send the announce packets. The wiznet5k
driver does make these calls and was used as a model for these changes.
This commit attempts to address this by very small changes to the
`ports/rp2/cyw43_configport.h` file. The change uses new cyw43 driver
hooks to map the driver macros `CYW43_CB_TCPIP_INIT_EXTRA` and
`CYW43_CB_TCPIP_DEINIT_EXTRA` to the appropriate lwIP mDNS calls.
Fixes issue #15297.
Signed-off-by: Mark Seminatore <nebula_peeps4t@icloud.com>
Diffstat (limited to 'tools/codeformat.py')
0 files changed, 0 insertions, 0 deletions
