mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ci/websockets: Run ws-client example test on ethernet runners
This commit is contained in:
parent
936bbdc75b
commit
ff1846bebe
@ -97,11 +97,11 @@ def test_recv_long_msg(dut, websocket, msg_len, repeats):
|
|||||||
\nreceived: {}\nwith length {}'.format(send_msg, len(send_msg), recv_msg, len(recv_msg)))
|
\nreceived: {}\nwith length {}'.format(send_msg, len(send_msg), recv_msg, len(recv_msg)))
|
||||||
|
|
||||||
|
|
||||||
@ttfw_idf.idf_example_test(env_tag='Example_WIFI_Protocols')
|
@ttfw_idf.idf_example_test(env_tag='Example_EthKitV1')
|
||||||
def test_examples_protocol_websocket(env, extra_data):
|
def test_examples_protocol_websocket(env, extra_data):
|
||||||
"""
|
"""
|
||||||
steps:
|
steps:
|
||||||
1. join AP
|
1. obtain IP address
|
||||||
2. connect to uri specified in the config
|
2. connect to uri specified in the config
|
||||||
3. send and receive data
|
3. send and receive data
|
||||||
"""
|
"""
|
||||||
|
@ -1,2 +1,11 @@
|
|||||||
CONFIG_WEBSOCKET_URI_FROM_STDIN=y
|
CONFIG_WEBSOCKET_URI_FROM_STDIN=y
|
||||||
CONFIG_WEBSOCKET_URI_FROM_STRING=n
|
CONFIG_WEBSOCKET_URI_FROM_STRING=n
|
||||||
|
CONFIG_EXAMPLE_CONNECT_ETHERNET=y
|
||||||
|
CONFIG_EXAMPLE_CONNECT_WIFI=n
|
||||||
|
CONFIG_EXAMPLE_USE_INTERNAL_ETHERNET=y
|
||||||
|
CONFIG_EXAMPLE_ETH_PHY_IP101=y
|
||||||
|
CONFIG_EXAMPLE_ETH_MDC_GPIO=23
|
||||||
|
CONFIG_EXAMPLE_ETH_MDIO_GPIO=18
|
||||||
|
CONFIG_EXAMPLE_ETH_PHY_RST_GPIO=5
|
||||||
|
CONFIG_EXAMPLE_ETH_PHY_ADDR=1
|
||||||
|
CONFIG_EXAMPLE_CONNECT_IPV6=y
|
||||||
|
Loading…
x
Reference in New Issue
Block a user