eren-terzioglu opened a new pull request, #2808:
URL: https://github.com/apache/nuttx-apps/pull/2808
## Summary
- Improve nxdiag example for Espressif devices
## Impact
All ESP32 devices
## Testing
Tested with `esp32c3-generic:nsh` config with these options enabled:
```
CONFIG_SYSTEM_NXDIAG=y
CONFIG_SYSTEM_NXDIAG_ESPRESSIF=y
CONFIG_SYSTEM_NXDIAG_ESPRESSIF_CHIP=y
```
During build process make sure that chip is connected. Output should be like
this:
```
nsh> nxdiag --all
Nxdiag Report:
NuttX RTOS info:
Hostname:
Release: 10.4.0
Build: 69e813ce78 Oct 31 2024 10:43:05
Arch: risc-v
Defconfig: esp32c3-generic:nsh-dirty
Host system OS:
...
Espressif specific information:
Bootloader version:
esp32: v5.1-dev-3972-g1559b6309f
esp32s2: v5.1-dev-3972-g1559b6309f
esp32s3: v5.1-dev-3972-g1559b6309f
esp32c2: v5.1-dev-3972-g1559b6309f
esp32c3: v5.1-dev-3972-g1559b6309f
esp32c6: v5.1-dev-3972-g1559b6309f
esp32h2: v5.1-dev-3972-g1559b6309f
Toolchain version:
clang: Not found
gcc: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
xtensa-esp32-elf-gcc: xtensa-esp32-elf-gcc (crosstool-NG
esp-12.2.0_20230208) 12.2.0
xtensa-esp32s2-elf-gcc: xtensa-esp32s2-elf-gcc (crosstool-NG
esp-12.2.0_20230208) 12.2.0
xtensa-esp32s3-elf-gcc: xtensa-esp32s3-elf-gcc (crosstool-NG
esp-12.2.0_20230208) 12.2.0
riscv32-esp-elf-gcc: Not found
riscv64-unknown-elf-gcc: Not found
Esptool version: 4.8.dev4
HAL version: sync/release_v5.1.c-nuttx-20230814-1573-gca869dd97e
CHIP ID: ESP32-C3 has no Chip ID. Reading MAC instead.
Flash ID:
Manufacturer: 20
Device: 4016
Security information:
Flags: 0x00000000 (0b0)
Key Purposes: (0, 0, 0, 0, 0, 0, 12)
Chip ID: 5
API Version: 3
Secure Boot: Disabled
Flash Encryption: Disabled
SPI Boot Crypt Count (SPI_BOOT_CRYPT_CNT): 0x0
Flash status: 0x0000
MAC address: ...
nsh>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]