This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 310cc494608a24a09132000dc23ae12288a4d938
Author: ViezeVingertjes <[email protected]>
AuthorDate: Wed Nov 25 17:52:43 2026 +0100

    boards/esp32s3-touch-amoled-216: Add Wi-Fi configuration.
    
    Add a wifi configuration based on the ESP32-S3 DevKit one: Wi-Fi
    station with the wapi tool, DHCP client, ping and iperf, and SPI flash
    storage (SPIFFS) for the wapi configuration.  Document it.
    
    Tested on hardware: wlan0 comes up and "wapi scan wlan0" lists the
    surrounding access points.
    
    Assisted-by: Claude:claude-opus-5-5
    Signed-off-by: ViezeVingertjes <[email protected]>
---
 .../boards/esp32s3-touch-amoled-216/index.rst      | 14 ++++
 .../configs/wifi/defconfig                         | 90 ++++++++++++++++++++++
 2 files changed, 104 insertions(+)

diff --git 
a/Documentation/platforms/xtensa/esp32s3/boards/esp32s3-touch-amoled-216/index.rst
 
b/Documentation/platforms/xtensa/esp32s3/boards/esp32s3-touch-amoled-216/index.rst
index f0de4f27343..a01c2e32938 100644
--- 
a/Documentation/platforms/xtensa/esp32s3/boards/esp32s3-touch-amoled-216/index.rst
+++ 
b/Documentation/platforms/xtensa/esp32s3/boards/esp32s3-touch-amoled-216/index.rst
@@ -218,3 +218,17 @@ before the board boots::
     nsh> df -h
       Filesystem      Size      Used  Available Mounted on
       vfat           3580M     1040K      3579M /mnt
+
+wifi
+----
+
+Enables Wi-Fi support (station mode) with the ``wapi`` tool.  You can scan
+for networks and connect to an access point with::
+
+    nsh> wapi scan wlan0
+    nsh> wapi psk wlan0 mypasswd 3
+    nsh> wapi essid wlan0 myssid 1
+    nsh> renew wlan0
+
+``wapi save_config wlan0`` stores the current settings on the SPI flash,
+where ``CONFIG_WIRELESS_WAPI_INITCONF`` picks them up at boot.
diff --git 
a/boards/xtensa/esp32s3/esp32s3-touch-amoled-216/configs/wifi/defconfig 
b/boards/xtensa/esp32s3/esp32s3-touch-amoled-216/configs/wifi/defconfig
new file mode 100644
index 00000000000..068febb879d
--- /dev/null
+++ b/boards/xtensa/esp32s3/esp32s3-touch-amoled-216/configs/wifi/defconfig
@@ -0,0 +1,90 @@
+#
+# This file is autogenerated: PLEASE DO NOT EDIT IT.
+#
+# You can use "make menuconfig" to make any modifications to the installed 
.config file.
+# You can then do "make savedefconfig" to generate a new defconfig file that 
includes your
+# modifications.
+#
+CONFIG_ALLOW_BSD_COMPONENTS=y
+CONFIG_ARCH="xtensa"
+CONFIG_ARCH_BOARD="esp32s3-touch-amoled-216"
+CONFIG_ARCH_BOARD_COMMON=y
+CONFIG_ARCH_BOARD_ESP32S3_TOUCH_AMOLED_216=y
+CONFIG_ARCH_CHIP="esp32s3"
+CONFIG_ARCH_CHIP_ESP32S3=y
+CONFIG_ARCH_CHIP_ESP32S3WROOM1N16R8=y
+CONFIG_ARCH_INTERRUPTSTACK=2048
+CONFIG_ARCH_IRQ_TO_NDX=y
+CONFIG_ARCH_MINIMAL_VECTORTABLE_DYNAMIC=y
+CONFIG_ARCH_NUSER_INTERRUPTS=2
+CONFIG_ARCH_STACKDUMP=y
+CONFIG_ARCH_XTENSA=y
+CONFIG_BOARD_LOOPSPERMSEC=16717
+CONFIG_BUILTIN=y
+CONFIG_DEBUG_FULLOPT=y
+CONFIG_DEBUG_SYMBOLS=y
+CONFIG_DRIVERS_IEEE80211=y
+CONFIG_DRIVERS_WIRELESS=y
+CONFIG_ESP32S3_SPIFLASH=y
+CONFIG_ESP32S3_SPIFLASH_SPIFFS=y
+CONFIG_ESP32S3_USBSERIAL=y
+CONFIG_ESPRESSIF_WIFI=y
+CONFIG_ETC_ROMFS=y
+CONFIG_EXPERIMENTAL=y
+CONFIG_FS_PROCFS=y
+CONFIG_FS_ROMFS=y
+CONFIG_HAVE_CXX=y
+CONFIG_HAVE_CXXINITIALIZE=y
+CONFIG_IDLETHREAD_STACKSIZE=3072
+CONFIG_INIT_ENTRYPOINT="init_main"
+CONFIG_INIT_STACKSIZE=8192
+CONFIG_INTELHEX_BINARY=y
+CONFIG_IOB_BUFSIZE=400
+CONFIG_IOB_NBUFFERS=100
+CONFIG_IOB_THROTTLE=40
+CONFIG_LIBC_EXECFUNCS=y
+CONFIG_LINE_MAX=64
+CONFIG_NETDB_DNSCLIENT=y
+CONFIG_NETDEV_LATEINIT=y
+CONFIG_NETDEV_PHY_IOCTL=y
+CONFIG_NETDEV_WIRELESS_IOCTL=y
+CONFIG_NETUTILS_CJSON=y
+CONFIG_NETUTILS_IPERF=y
+CONFIG_NET_ETH_PKTSIZE=1514
+CONFIG_NET_ICMP_SOCKET=y
+CONFIG_NET_TCP=y
+CONFIG_NET_TCP_DELAYED_ACK=y
+CONFIG_NET_TCP_WRITE_BUFFERS=y
+CONFIG_NET_UDP=y
+CONFIG_NET_UDP_WRITE_BUFFERS=y
+CONFIG_NSH_BUILTIN_APPS=y
+CONFIG_NSH_DISABLE_DATE=y
+CONFIG_NSH_FILEIOSIZE=512
+CONFIG_NSH_READLINE=y
+CONFIG_PREALLOC_TIMERS=4
+CONFIG_PTHREAD_MUTEX_TYPES=y
+CONFIG_RAM_SIZE=114688
+CONFIG_RAM_START=0x20000000
+CONFIG_RR_INTERVAL=200
+CONFIG_RTC=y
+CONFIG_RTC_DRIVER=y
+CONFIG_SCHED_CHILD_STATUS=y
+CONFIG_SCHED_HAVE_PARENT=y
+CONFIG_SCHED_LPWORK=y
+CONFIG_SCHED_WAITPID=y
+CONFIG_START_DAY=6
+CONFIG_START_MONTH=12
+CONFIG_START_YEAR=2011
+CONFIG_SYSLOG_BUFFER=y
+CONFIG_SYSTEM_DHCPC_RENEW=y
+CONFIG_SYSTEM_NSH=y
+CONFIG_SYSTEM_NSH_STACKSIZE=8192
+CONFIG_SYSTEM_NXINIT=y
+CONFIG_SYSTEM_PING=y
+CONFIG_TIMER=y
+CONFIG_TLS_TASK_NELEM=4
+CONFIG_WIRELESS=y
+CONFIG_WIRELESS_WAPI=y
+CONFIG_WIRELESS_WAPI_CMDTOOL=y
+CONFIG_WIRELESS_WAPI_INITCONF=y
+CONFIG_WIRELESS_WAPI_STACKSIZE=4096

Reply via email to