1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/lwip_sock_tcp
Alexandre Abadie d5e184b326
examples: tests: update Makefile.ci with stm32f7508-dk
This commit also makes some cleanup in the files since add_insufficient_memory_board.sh was used for the update
2022-04-15 12:51:58 +02:00
..
tests
constants.h
main.c
Makefile Merge pull request #17434 from kaspar030/murdock_use_emulators 2022-04-06 14:41:48 +02:00
Makefile.ci examples: tests: update Makefile.ci with stm32f7508-dk 2022-04-15 12:51:58 +02:00
README.md
stack.c
stack.h

Tests for lwIP's sock_tcp port

This tests the sock_tcp port of lwIP. There is no network device needed since a virtual device is provided at the backend.

These tests test both IPv4 and IPv6 capabilities. They can be activated by the LWIP_IPV4 and LWIP_IPV6 environment variables to a non-zero value. IPv6 is activated by default:

make all test
# or
LWIP_IPV6=1 make all test

To just test IPv4 set the LWIP_IPV4 to a non-zero value (IPv6 will be deactivated automatically):

LWIP_IPV4=1 make all test

To test both set the LWIP_IPV4 and LWIP_IPV6 to a non-zero value:

LWIP_IPV4=1 LWIP_IPV6=1 make all test

Since lwIP uses a lot of macro magic to activate/deactivate these capabilities it is advisable to test all three configurations individually (just IPv4, just IPv6, IPv4/IPv6 dual stack mode).