Skip to content

Commit dbd1449

Browse files
soburikartben
authored andcommitted
samples: net: http_server: add extra config for enable DHCPv4
Add `overlay-dhcpv4.conf` for using this sample with DHCPv4. When the DHCPv4 client is enabled, we must have a large number for `CONFIG_ZVFS_EVENTFD_MAX`. This sample may be frequently used with the DHCPv4 client, so we'll add the extra config file. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
1 parent 0206dc2 commit dbd1449

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

samples/net/sockets/http_server/README.rst

+3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ There are configuration files for various setups in the
3737
* - :zephyr_file:`overlay-tls.conf <samples/net/sockets/http_server/overlay-tls.conf>`
3838
- This overlay config can be added to build the HTTPS variant.
3939

40+
* - :zephyr_file:`overlay-dhcpv4.conf <samples/net/sockets/http_server/overlay-dhcpv4.conf>`
41+
- This overlay enables DHCPv4 client feature.
42+
4043
To build and run the HTTP server application:
4144

4245
.. code-block:: bash
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CONFIG_NET_DHCPV4=y
2+
CONFIG_ZVFS_EVENTFD_MAX=2

0 commit comments

Comments
 (0)