alan@dev:~/nuttxspace/nuttx$ ./tools/configure.sh esp32s3-devkit:wifi Copy files Select CONFIG_HOST_LINUX=y Refreshing... CP: arch/dummy/Kconfig to /home/alan/nuttxspace/nuttx/arch/dummy/dummy_kconfig CP: boards/dummy/Kconfig to /home/alan/nuttxspace/nuttx/boards/dummy/dummy_kconfig LN: platform/board to /home/alan/nuttxspace/apps/platform/dummy LN: include/arch to arch/xtensa/include LN: include/arch/board to /home/alan/nuttxspace/nuttx/boards/xtensa/esp32s3/esp32s3-devkit/include LN: drivers/platform to /home/alan/nuttxspace/nuttx/drivers/dummy LN: include/arch/chip to /home/alan/nuttxspace/nuttx/arch/xtensa/include/esp32s3 LN: arch/xtensa/src/chip to /home/alan/nuttxspace/nuttx/arch/xtensa/src/esp32s3 LN: arch/xtensa/src/board to /home/alan/nuttxspace/nuttx/boards/xtensa/esp32s3/esp32s3-devkit/../common LN: arch/xtensa/src/board/board to /home/alan/nuttxspace/nuttx/boards/xtensa/esp32s3/esp32s3-devkit/src mkkconfig in /home/alan/nuttxspace/apps/audioutils mkkconfig in /home/alan/nuttxspace/apps/benchmarks mkkconfig in /home/alan/nuttxspace/apps/boot mkkconfig in /home/alan/nuttxspace/apps/canutils mkkconfig in /home/alan/nuttxspace/apps/crypto mkkconfig in /home/alan/nuttxspace/apps/examples/mcuboot mkkconfig in /home/alan/nuttxspace/apps/examples mkkconfig in /home/alan/nuttxspace/apps/fsutils mkkconfig in /home/alan/nuttxspace/apps/games mkkconfig in /home/alan/nuttxspace/apps/graphics mkkconfig in /home/alan/nuttxspace/apps/industry mkkconfig in /home/alan/nuttxspace/apps/inertial mkkconfig in /home/alan/nuttxspace/apps/interpreters/luamodules mkkconfig in /home/alan/nuttxspace/apps/interpreters mkkconfig in /home/alan/nuttxspace/apps/logging mkkconfig in /home/alan/nuttxspace/apps/lte mkkconfig in /home/alan/nuttxspace/apps/math mkkconfig in /home/alan/nuttxspace/apps/mlearning mkkconfig in /home/alan/nuttxspace/apps/netutils mkkconfig in /home/alan/nuttxspace/apps/sdr mkkconfig in /home/alan/nuttxspace/apps/system mkkconfig in /home/alan/nuttxspace/apps/testing mkkconfig in /home/alan/nuttxspace/apps/wireless/bluetooth mkkconfig in /home/alan/nuttxspace/apps/wireless/ieee802154 mkkconfig in /home/alan/nuttxspace/apps/wireless mkkconfig in /home/alan/nuttxspace/apps # # configuration written to .config # alan@dev:~/nuttxspace/nuttx$ alan@dev:~/nuttxspace/nuttx$ make -j Create version.h Cloning Espressif HAL for 3rd Party Platforms LN: platform/board to /home/alan/nuttxspace/apps/platform/dummy Downloading: v1.7.12.tar.gz Downloading argtable3-3.2.0.7402e6e argtable3/src v3.2.0.7402e6e.tar.gz--argtable3 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 340k 100 340k 0 0 352k 0 --:--:-- --:--:-- --:--:-- 7212k Unpacking: v1.7.12.tar.gz -> cJSON 100 496k 0 496k 0 0 439k 0 --:--:-- 0:00:01 --:--:-- 1704k Register: rand Register: renew Register: nsh Register: iperf Register: sh Register: ping Register: wapi Espressif HAL for 3rd Party Platforms: 0fa7f63c639192f4047035e7201a5cec830bf9b2 Espressif HAL for 3rd Party Platforms: initializing submodules... Applying patches... CC: chip/esp-hal-3rdparty/components/esp_hw_support/port/esp32s3/cpu_region_proCC: chip/esp-hal-3rdparty/components/esp_hw_support/port/esp32s3/esp_clk_tree.cCC: chip/esp-hal-3rdparty/components/esp_system/port/soc/esp32s3/system_internaCC: chip/esp-hal-3rdparty/components/wpa_supplicant/src/common/ieee802_11_commoCC: chip/esp-hal-3rdparty/components/wpa_supplicant/src/eap_peer/eap_mschapv2.cCC: chip/esp-hal-3rdparty/components/wpa_supplicant/src/eap_peer/eap_peap_commoCC: chip/esp-hal-3rdparty/components/wpa_supplicant/src/eap_peer/eap_tls_commonCC: chip/esp-hal-3rdparty/components/wpa_supplicant/esp_supplicant/src/esp_commCC: chip/esp-hal-3rdparty/components/wpa_supplicant/esp_supplicant/src/esp_hostCC: chip/esp-hal-3rdparty/components/wpa_supplicant/esp_supplicant/src/esp_wpa_CC: chip/esp-hal-3rdparty/components/wpa_supplicant/esp_supplicant/src/esp_wpa2CC: chip/esp-hal-3rdparty/components/wpa_supplicant/esp_supplicant/src/esp_wpa3CC: chip/esp-hal-3rdparty/components/wpa_supplicant/esp_supplicant/src/esp_wpasCC: chip/esp-hal-3rdparty/components/wpa_supplicant/esp_supplicant/src/esp_owe.CC: chip/esp-hal-3rdparty/components/wpa_supplicant/esp_supplicant/src/esp_scanCC: chip/esp-hal-3rdparty/components/wpa_supplicant/esp_supplicant/src/crypto/cCC: chip/esp-hal-3rdparty/components/wpa_supplicant/esp_supplicant/src/crypto/cCC: chip/esp-hal-3rdparty/components/wpa_supplicant/esp_supplicant/src/crypto/cCC: chip/esp-hal-3rdparty/components/wpa_supplicant/esp_supplicant/src/crypto/cCC: chip/esp-hal-3rdparty/components/wpa_supplicant/esp_supplicant/src/crypto/tCPP: /home/alan/nuttxspace/nuttx/boards/xtensa/esp32s3/esp32s3-devkit/../common/scripts/esp32s3_peripherals.ld-> /home/alan/nuttxspace/nuttx/boards/xtensa/esp3CPP: /home/alan/nuttxspace/nuttx/boards/xtensa/esp32s3/esp32s3-devkit/../common/scripts/esp32s3_rom_api.ld-> /home/alan/nuttxspace/nuttx/boards/xtensa/esp32s3/CPP: /home/alan/nuttxspace/nuttx/boards/xtensa/esp32s3/esp32s3-devkit/../common/scripts/esp32s3_rom.ld-> /home/alan/nuttxspace/nuttx/boards/xtensa/esp32s3/esp3CPP: /home/alan/nuttxspace/nuttx/boards/xtensa/esp32s3/esp32s3-devkit/../common/scripts/flat_memory.ld-> /home/alan/nuttxspace/nuttx/boards/xtensa/esp32s3/esp3CPP: /home/alan/nuttxspace/nuttx/boards/xtensa/esp32s3/esp32s3-devkit/../common/scripts/esp32s3_rom_aliases.ld-> /home/alan/nuttxspace/nuttx/boards/xtensa/esp3CPP: /home/alan/nuttxspace/nuttx/boards/xtensa/esp32s3/esp32s3-devkit/../common/scripts/legacy_sections.ld-> /home/alan/nuttxspace/nuttx/boards/xtensa/esp32s3/CPP: /home/alan/nuttxspace/nuttx/arch/xtensa/src/chip/esp-hal-3rdparty/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld-> /home/alan/nuttxspace/nuttx/arch/xtensa/src/chip/esp-hal-3rdparty/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld.tmCPP: /home/alan/nuttxspace/nuttx/arch/xtensa/src/chip/esp-hal-3rdparty/components/esp_rom/esp32s3/ld/esp32s3.rom.ld-> /home/alan/nuttxspace/nuttx/arch/xtensa/sCPP: /home/alan/nuttxspace/nuttx/arch/xtensa/src/chip/esp-hal-3rdparty/components/soc/esp32s3/ld/esp32s3.peripherals.ld-> /home/alan/nuttxspace/nuttx/arch/xtensa/src/chip/esp-hal-3rdparty/components/soc/esp32s3/ld/esp32s3.peripherals.ld.tmLD: nuttx xtensa-esp32s3-elf-ld: warning: /home/alan/nuttxspace/nuttx/nuttx has a LOAD segment with RWX permissions CP: nuttx.hex MKIMAGE: ESP32-S3 binary esptool.py -c esp32s3 elf2image -fs 4MB -fm dio -ff 40m -o nuttx.bin nuttx esptool.py v4.6.2 Creating esp32s3 image... Merged 1 ELF section Successfully created esp32s3 image. Generated: nuttx.bin (ESP32-S3 compatible) alan@dev:~/nuttxspace/nuttx$ alan@dev:~/nuttxspace/nuttx$ make flash ESPTOOL_PORT=/dev/ttyUSB0 CPP: /home/alan/nuttxspace/nuttx/boards/xtensa/esp32s3/esp32s3-devkit/../common/scripts/esp32s3_peripherals.ld-> /home/alan/nuttxspace/nuttx/boards/xtensa/esp3CPP: /home/alan/nuttxspace/nuttx/boards/xtensa/esp32s3/esp32s3-devkit/../common/scripts/esp32s3_rom.ld-> /home/alan/nuttxspace/nuttx/boards/xtensa/esp32s3/esp3CPP: /home/alan/nuttxspace/nuttx/boards/xtensa/esp32s3/esp32s3-devkit/../common/scripts/esp32s3_rom_api.ld-> /home/alan/nuttxspace/nuttx/boards/xtensa/esp32s3/CPP: /home/alan/nuttxspace/nuttx/boards/xtensa/esp32s3/esp32s3-devkit/../common/scripts/esp32s3_rom_aliases.ld-> /home/alan/nuttxspace/nuttx/boards/xtensa/esp3CPP: /home/alan/nuttxspace/nuttx/boards/xtensa/esp32s3/esp32s3-devkit/../common/scripts/flat_memory.ld-> /home/alan/nuttxspace/nuttx/boards/xtensa/esp32s3/esp3CPP: /home/alan/nuttxspace/nuttx/boards/xtensa/esp32s3/esp32s3-devkit/../common/scripts/legacy_sections.ld-> /home/alan/nuttxspace/nuttx/boards/xtensa/esp32s3/CPP: /home/alan/nuttxspace/nuttx/arch/xtensa/src/chip/esp-hal-3rdparty/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld-> /home/alan/nuttxspace/nuttx/arch/xtensa/src/chip/esp-hal-3rdparty/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld.tmCPP: /home/alan/nuttxspace/nuttx/arch/xtensa/src/chip/esp-hal-3rdparty/components/esp_rom/esp32s3/ld/esp32s3.rom.ld-> /home/alan/nuttxspace/nuttx/arch/xtensa/sCPP: /home/alan/nuttxspace/nuttx/arch/xtensa/src/chip/esp-hal-3rdparty/components/soc/esp32s3/ld/esp32s3.peripherals.ld-> /home/alan/nuttxspace/nuttx/arch/xtensa/src/chip/esp-hal-3rdparty/components/soc/esp32s3/ld/esp32s3.peripherals.ld.tmLD: nuttx xtensa-esp32s3-elf-ld: warning: /home/alan/nuttxspace/nuttx/nuttx has a LOAD segment with RWX permissions CP: nuttx.hex MKIMAGE: ESP32-S3 binary esptool.py -c esp32s3 elf2image -fs 4MB -fm dio -ff 40m -o nuttx.bin nuttx esptool.py v4.6.2 Creating esp32s3 image... Merged 1 ELF section Successfully created esp32s3 image. Generated: nuttx.bin (ESP32-S3 compatible) esptool.py -c esp32s3 -p /dev/ttyUSB0 -b 921600 write_flash -fs detect -fm dio -ff 40m 0x10000 nuttx.bin esptool.py v4.6.2 Serial port /dev/ttyUSB0 Connecting.... Chip is ESP32-S3 (revision v0.0) Features: WiFi, BLE Crystal is 40MHz MAC: 7c:df:a1:e0:10:dc Uploading stub... Running stub... Stub running... Changing baud rate to 921600 Changed. Configuring flash size... Auto-detected Flash size: 8MB Flash will be erased from 0x00010000 to 0x000a3fff... Compressed 604000 bytes to 438582... Wrote 604000 bytes (438582 compressed) at 0x00010000 in 5.9 seconds (effective 822.0 kbit/s)... Hash of data verified. Leaving... Hard resetting via RTS pin... alan@dev:~/nuttxspace/nuttx$ alan@dev:~/nuttxspace/nuttx$ minicom Welcome to minicom 2.8 OPTIONS: I18n Port /dev/ttyUSB0, 12:23:12 Press CTRL-A Z for help on special keys nsh> ? help usage: help [-v] [] . cd exec ifup printf time [ cp exit kill ps true ? cmp false ls pwd truncate alias dirname fdinfo mkdir rm uname unalias dd free mkrd rmdir umount arp df help mount set unset basename dmesg hexdump mv sleep uptime break echo ifconfig nslookup source usleep cat env ifdown pidof test xd Builtin Apps: iperf nsh ping rand renew sh wapi nsh> uname -a NuttX 12.4.0-RC0 e40b66bd6f Feb 2 2024 12:22:37 xtensa esp32s3-devkit nsh> ifconfig wlan0 Link encap:Ethernet HWaddr 7c:df:a1:e0:10:dc at UP mtu 1500 inet addr:10.0.0.2 DRaddr:10.0.0.1 Mask:255.255.255.0 nsh> wapi psk wlan0 mypassword 3 nsh> wapi essid wlan0 MyRouter 1 nsh> renew wlan0 nsh> ifconfig wlan0 Link encap:Ethernet HWaddr 7c:df:a1:e0:10:dc at RUNNING mtu 1500 inet addr:192.168.0.19 DRaddr:192.168.0.1 Mask:255.255.255.0 nsh> ping 8.8.8.8 PING 8.8.8.8 56 bytes of data 56 bytes from 8.8.8.8: icmp_seq=0 time=40.0 ms 56 bytes from 8.8.8.8: icmp_seq=1 time=40.0 ms 56 bytes from 8.8.8.8: icmp_seq=2 time=40.0 ms 56 bytes from 8.8.8.8: icmp_seq=3 time=40.0 ms 56 bytes from 8.8.8.8: icmp_seq=4 time=40.0 ms 56 bytes from 8.8.8.8: icmp_seq=5 time=40.0 ms 56 bytes from 8.8.8.8: icmp_seq=6 time=40.0 ms 56 bytes from 8.8.8.8: icmp_seq=7 time=40.0 ms 56 bytes from 8.8.8.8: icmp_seq=8 time=40.0 ms 56 bytes from 8.8.8.8: icmp_seq=9 time=40.0 ms 10 packets transmitted, 10 received, 0% packet loss, time 10100 ms rtt min/avg/max/mdev = 40.000/40.000/40.000/0.000 ms nsh>