diff options
author | Damien George <damien@micropython.org> | 2025-04-29 10:24:52 +1000 |
---|---|---|
committer | Angus Gratton <gus@projectgus.com> | 2025-05-01 11:16:29 +1000 |
commit | 3f1df4bacb2aa8f9018011c6a61eff9247248e1b (patch) | |
tree | 5a6d29467b9c4e622e3c4b82874b501431e67913 /docs/tutorial/index.rst | |
parent | 62479f2cb60ae73dcb81d0b0e2b2d147813e0604 (diff) | |
download | micropython-3f1df4bacb2aa8f9018011c6a61eff9247248e1b.tar.gz micropython-3f1df4bacb2aa8f9018011c6a61eff9247248e1b.zip |
tests/net_hosted: Only run network loopback test on supported targets.
Only a few ports have TCP/IP loopback enabled in their network stack, and
this test will only pass on those ports. There's not really any good way
to do a feature check for loopback mode without actually running the test
and seeing if it passes/fails, so add an explicit check that the test is
running on a port known to support loopback.
(Enabling loopback on lwIP, eg RPI_PICO_W, costs +568 code and +272 bss and
is a rarely used feature, so not worth unconditionally enabling.)
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/tutorial/index.rst')
0 files changed, 0 insertions, 0 deletions