File tree Expand file tree Collapse file tree 5 files changed +461
-0
lines changed
tests/net/lib/http_client Expand file tree Collapse file tree 5 files changed +461
-0
lines changed Original file line number Diff line number Diff line change
1
+ # SPDX-License-Identifier: Apache-2.0
2
+
3
+ cmake_minimum_required (VERSION 3.20.0 )
4
+ find_package (Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE} )
5
+ project (http_client )
6
+
7
+ FILE (GLOB app_sources src/*.c )
8
+ target_sources (app PRIVATE ${app_sources} )
9
+
10
+ zephyr_linker_sources (SECTIONS sections-rom.ld )
11
+ zephyr_iterable_section (NAME http_resource_desc_test_http_service KVMA
12
+ RAM_REGION GROUP RODATA_REGION SUBALIGN $
13
+ {CONFIG_LINKER_ITERABLE_SUBALIGN} )
Original file line number Diff line number Diff line change
1
+ CONFIG_NETWORKING=y
2
+ CONFIG_NET_DRIVERS=y
3
+ CONFIG_NET_LOOPBACK=y
4
+ CONFIG_NET_TEST=y
5
+ CONFIG_EVENTFD=y
6
+ CONFIG_NET_SOCKETS=y
7
+ CONFIG_NET_TCP=y
8
+ CONFIG_NET_TCP_TIME_WAIT_DELAY=0
9
+ CONFIG_NET_BUF_RX_COUNT=32
10
+ CONFIG_NET_BUF_TX_COUNT=32
11
+ CONFIG_NET_PKT_RX_COUNT=8
12
+ CONFIG_NET_PKT_TX_COUNT=8
13
+ CONFIG_ZTEST=y
14
+ CONFIG_ENTROPY_GENERATOR=y
15
+ CONFIG_TEST_RANDOM_GENERATOR=y
16
+
17
+ CONFIG_HTTP_CLIENT=y
18
+ CONFIG_HTTP_SERVER=y
Original file line number Diff line number Diff line change
1
+ #include <zephyr/linker/iterable_sections.h>
2
+
3
+ ITERABLE_SECTION_ROM(http_resource_desc_test_http_service, 4)
You can’t perform that action at this time.
0 commit comments