mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-27 15:01:03 +08:00
Enable DHCP
This commit is contained in:
parent
bb0bc41f99
commit
84fe1d87b3
@ -7,3 +7,6 @@ example:
|
|||||||
build:
|
build:
|
||||||
cp ../../mongoose.c ../../mongoose.h http-server/src/
|
cp ../../mongoose.c ../../mongoose.h http-server/src/
|
||||||
cd $(ZEPHYR_DIR) && west build -b nucleo_f746zg -p auto $(CWD)/http-server
|
cd $(ZEPHYR_DIR) && west build -b nucleo_f746zg -p auto $(CWD)/http-server
|
||||||
|
|
||||||
|
flash:
|
||||||
|
cd $(ZEPHYR_DIR) && west flash
|
||||||
|
@ -1,19 +1,19 @@
|
|||||||
# networking
|
|
||||||
CONFIG_NETWORKING=y
|
CONFIG_NETWORKING=y
|
||||||
CONFIG_NET_IPV4=y
|
CONFIG_NET_IPV4=y
|
||||||
# CONFIG_NET_IPV6 is not set
|
CONFIG_NET_IPV6=y
|
||||||
CONFIG_NET_TCP=y
|
CONFIG_NET_TCP=y
|
||||||
|
CONFIG_NET_UDP=y
|
||||||
|
CONFIG_NET_DHCPV4=y
|
||||||
CONFIG_NET_SOCKETS=y
|
CONFIG_NET_SOCKETS=y
|
||||||
CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE=16384
|
CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE=32756
|
||||||
CONFIG_NET_TX_STACK_SIZE=2048
|
CONFIG_NET_LOG=y
|
||||||
CONFIG_NET_RX_STACK_SIZE=2048
|
CONFIG_LOG=y
|
||||||
|
#CONFIG_NET_TX_STACK_SIZE=2048
|
||||||
|
#CONFIG_NET_RX_STACK_SIZE=2048
|
||||||
CONFIG_ISR_STACK_SIZE=2048
|
CONFIG_ISR_STACK_SIZE=2048
|
||||||
CONFIG_MAIN_STACK_SIZE=2048
|
CONFIG_MAIN_STACK_SIZE=8192
|
||||||
CONFIG_IDLE_STACK_SIZE=1024
|
CONFIG_IDLE_STACK_SIZE=1024
|
||||||
CONFIG_NET_CONFIG_SETTINGS=y
|
CONFIG_NET_CONFIG_SETTINGS=y
|
||||||
#CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1"
|
#CONFIG_NET_CONFIG_MY_IPV4_ADDR="169.254.240.10"
|
||||||
#CONFIG_NET_CONFIG_MY_IPV4_NETMASK="255.255.255.0"
|
#CONFIG_NET_CONFIG_MY_IPV4_NETMASK="255.255.0.0"
|
||||||
#CONFIG_NET_CONFIG_MY_IPV4_GW="192.0.2.2"
|
#CONFIG_NET_CONFIG_MY_IPV4_GW="169.254.240.5"
|
||||||
CONFIG_NET_CONFIG_MY_IPV4_ADDR="169.254.240.10"
|
|
||||||
CONFIG_NET_CONFIG_MY_IPV4_NETMASK="255.255.0.0"
|
|
||||||
CONFIG_NET_CONFIG_MY_IPV4_GW="169.254.240.5"
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user