simbit18 commented on PR #18299:
URL: https://github.com/apache/nuttx/pull/18299#issuecomment-3841436347
Hi @adwait-godbole, you need to run the tests with this configuration
**esp32-devkitc:nxdiag**
```
CC: exec_builtin.c
make[2]: Leaving directory '/github/workspace/sources/apps/builtin'
make[2]: Entering directory '/github/workspace/sources/apps/nshlib'
CC: nsh_alias.c
CC: nsh_builtin.c
CC: nsh_command.c
CC: nsh_console.c
CC: nsh_consolemain.c
CC: nsh_dbgcmds.c
CC: nsh_envcmds.c
CC: nsh_fscmds.c
CC: nsh_fsutils.c
CC: nsh_init.c
CC: nsh_mmcmds.c
CC: nsh_mntcmds.c
CC: nsh_parse.c
CC: nsh_printf.c
CC: nsh_proccmds.c
CC: nsh_prompt.c
CC: nsh_script.c
CC: nsh_session.c
CC: nsh_syscmds.c
CC: nsh_system.c
CC: nsh_test.c
CC: nsh_timcmds.c
CC: nsh_wait.c
make[2]: Leaving directory '/github/workspace/sources/apps/nshlib'
make[2]: Entering directory '/github/workspace/sources/apps/platform'
CC: board/dummy.c
make[2]: Leaving directory '/github/workspace/sources/apps/platform'
make[2]: Entering directory '/github/workspace/sources/apps/system/dd'
CC: dd_main.c
make[2]: Leaving directory '/github/workspace/sources/apps/system/dd'
make[2]: Entering directory '/github/workspace/sources/apps/system/nsh'
CC: nsh_main.c
CC: sh_main.c
make[2]: Leaving directory '/github/workspace/sources/apps/system/nsh'
make[2]: Entering directory '/github/workspace/sources/apps/system/nxdiag'
if ([ $? -ne 0 ]); then \
echo "ERROR: Failed to generate sysinfo.h"; \
exit 1; \
fi
CC: nxdiag.c
In file included from nxdiag.c:36:
Error: sysinfo.h:35:21: error: 'y' undeclared here (not in a function)
35 | CONFIG_HOST_LINUX=y,
| ^
Error: sysinfo.h:36:18: error: assignment to expression with array type
36 | CONFIG_APPS_DIR="../apps",
| ^
Error: sysinfo.h:37:24: error: assignment to expression with array type
37 | CONFIG_BASE_DEFCONFIG="esp32-devkitc:nxdiag",
| ^
Error: sysinfo.h:44:24: error: lvalue required as left operand of assignment
44 | CONFIG_FORTIFY_SOURCE=0,
| ^
Error: sysinfo.h:48:29: error: lvalue required as left operand of assignment
48 | CONFIG_STACK_USAGE_WARNING=0,
| ^
Error: sysinfo.h:55:14: error: assignment to expression with array type
55 | CONFIG_ARCH="xtensa",
| ^
Error: sysinfo.h:56:19: error: assignment to expression with array type
56 | CONFIG_ARCH_CHIP="esp32",
| ^
Error: sysinfo.h:57:31: error: assignment to expression with array type
57 | CONFIG_ESPRESSIF_CHIP_SERIES="esp32",
| ^
Error: sysinfo.h:58:28: error: lvalue required as left operand of assignment
58 | CONFIG_ESPRESSIF_NUM_CPUS=2,
| ^
Error: sysinfo.h:62:30: error: assignment to expression with array type
62 | CONFIG_ESPRESSIF_FLASH_FREQ="40m",
| ^
Error: sysinfo.h:65:27: error: lvalue required as left operand of assignment
65 | CONFIG_XTENSA_CP_INITSET=0x0001,
| ^
Error: sysinfo.h:74:36: error: lvalue required as left operand of assignment
74 | CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ=240,
| ^
Error: sysinfo.h:76:39: error: lvalue required as left operand of assignment
76 | CONFIG_ESP_PHY_IRQSTATE_FLAGS_NUMBER=3,
| ^
Error: sysinfo.h:80:31: error: lvalue required as left operand of assignment
80 | CONFIG_ESP32_BT_RESERVE_DRAM=0,
| ^
Error: sysinfo.h:81:37: error: lvalue required as left operand of assignment
81 | CONFIG_ESP32_TRACEMEM_RESERVE_DRAM=0,
| ^
Error: sysinfo.h:82:38: error: lvalue required as left operand of assignment
82 | CONFIG_ESP32_ULP_COPROC_RESERVE_MEM=0,
| ^
```
--
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]