This is an automated email from the ASF dual-hosted git repository.
acassis 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 d9d9d3fbedc boards/lm3s6965-ek: drop dns client and telnetd from
qemu-protected
d9d9d3fbedc is described below
commit d9d9d3fbedc8e653b8a8061d9756adf02b798f91
Author: Swatantra Yadav <[email protected]>
AuthorDate: Sun Nov 1 13:29:51 2026 +0530
boards/lm3s6965-ek: drop dns client and telnetd from qemu-protected
The protected configuration for lm3s6965-ek partitions flash into
128 KiB for the kernel (kflash) and 128 KiB for user space (uflash).
Recent additions to the kernel and VFS caused kflash to overflow by
288 bytes during the CI arm-ti build (arm-none-eabi-ld: section .data
will not fit in region kflash).
Disable the DNS client library (CONFIG_NETDB_DNSCLIENT) and the Telnet
daemon (CONFIG_NETUTILS_TELNETD). In QEMU, DNS resolution is unused by
the built-in examples, and dropping the resolver library saves ~3 KiB
of code from the kernel image and ~2 KiB from user space, restoring
ample flash headroom. Networking (DHCP, TCP/UDP, ping) and the
ELF/module examples remain fully functional.
Signed-off-by: Swatantra Yadav <[email protected]>
Assisted-by: Google Gemini
---
boards/arm/tiva/lm3s6965-ek/configs/qemu-protected/defconfig | 4 ----
1 file changed, 4 deletions(-)
diff --git a/boards/arm/tiva/lm3s6965-ek/configs/qemu-protected/defconfig
b/boards/arm/tiva/lm3s6965-ek/configs/qemu-protected/defconfig
index d738bd945d3..7d10b68dce1 100644
--- a/boards/arm/tiva/lm3s6965-ek/configs/qemu-protected/defconfig
+++ b/boards/arm/tiva/lm3s6965-ek/configs/qemu-protected/defconfig
@@ -39,12 +39,8 @@ CONFIG_LIBC_ELF_SYMBOL_CACHECOUNT=64
CONFIG_LIBC_ENVPATH=y
CONFIG_MODULE=y
CONFIG_NET=y
-CONFIG_NETDB_DNSCLIENT=y
-CONFIG_NETDB_DNSCLIENT_NAMESIZE=64
-CONFIG_NETDB_DNSSERVER_NOADDR=y
CONFIG_NETINIT_DHCPC=y
CONFIG_NETINIT_NOMAC=y
-CONFIG_NETUTILS_TELNETD=y
CONFIG_NET_BROADCAST=y
CONFIG_NET_ICMP_SOCKET=y
CONFIG_NET_MAX_LISTENPORTS=8