You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ma...@apache.org on 2023/02/16 11:11:41 UTC
[nuttx] branch master updated: boards/spresense: Enable broadcast flag in DHCP process
This is an automated email from the ASF dual-hosted git repository.
masayuki pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new a8e5dcbfa9 boards/spresense: Enable broadcast flag in DHCP process
a8e5dcbfa9 is described below
commit a8e5dcbfa9653df00193278706b99cf9b508113b
Author: SPRESENSE <41...@users.noreply.github.com>
AuthorDate: Thu Feb 16 14:27:27 2023 +0900
boards/spresense: Enable broadcast flag in DHCP process
In spresense:wifi, renew command will be failed with disabling
broadcast flag.
For spresense defconfig, enabling it.
---
boards/arm/cxd56xx/spresense/configs/wifi/defconfig | 1 +
boards/arm/cxd56xx/spresense/configs/wifi_smp/defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/boards/arm/cxd56xx/spresense/configs/wifi/defconfig b/boards/arm/cxd56xx/spresense/configs/wifi/defconfig
index aaee6f283b..241819e3e8 100644
--- a/boards/arm/cxd56xx/spresense/configs/wifi/defconfig
+++ b/boards/arm/cxd56xx/spresense/configs/wifi/defconfig
@@ -95,6 +95,7 @@ CONFIG_NET=y
CONFIG_NETDB_DNSCLIENT=y
CONFIG_NETINIT_NETLOCAL=y
CONFIG_NETUTILS_CODECS=y
+CONFIG_NETUTILS_DHCPC_BOOTP_FLAGS=0x8000
CONFIG_NETUTILS_FTPC=y
CONFIG_NETUTILS_FTPD=y
CONFIG_NETUTILS_HTTPD_DIRLIST=y
diff --git a/boards/arm/cxd56xx/spresense/configs/wifi_smp/defconfig b/boards/arm/cxd56xx/spresense/configs/wifi_smp/defconfig
index acb2a3ea3e..679cd4b2eb 100644
--- a/boards/arm/cxd56xx/spresense/configs/wifi_smp/defconfig
+++ b/boards/arm/cxd56xx/spresense/configs/wifi_smp/defconfig
@@ -98,6 +98,7 @@ CONFIG_NET=y
CONFIG_NETDB_DNSCLIENT=y
CONFIG_NETINIT_NETLOCAL=y
CONFIG_NETUTILS_CODECS=y
+CONFIG_NETUTILS_DHCPC_BOOTP_FLAGS=0x8000
CONFIG_NETUTILS_FTPC=y
CONFIG_NETUTILS_FTPD=y
CONFIG_NETUTILS_HTTPD_DIRLIST=y