[nexus] enable CLI logging for fuzz tests (#12058)

Adds CLI related configs within the Nexus test build
(`openthread-core-nexus-config.h`) to support fuzz testing of
the CLI module.

The following configurations are added:

- `OPENTHREAD_CONFIG_CLI_MAX_LINE_LENGTH` is increased to 800 to
  handle potentially long input strings generated by the fuzzer
  without truncation.

- `OPENTHREAD_CONFIG_CLI_LOG_INPUT_OUTPUT_ENABLE` is enabled to log all
  input and output through the CLI. This is helpful for debugging
  and analyzing fuzzer-generated logs.
This commit is contained in:
Abtin Keshavarzian
2025-10-24 08:12:51 +08:00
committed by GitHub
parent b492922a9c
commit 35cacd6d5f
@@ -136,4 +136,9 @@
#define OPENTHREAD_CONFIG_TREL_USE_HEAP_ENABLE 1
#define OPENTHREAD_CONFIG_UPTIME_ENABLE 1
// CLI configs
#define OPENTHREAD_CONFIG_CLI_MAX_LINE_LENGTH 800
#define OPENTHREAD_CONFIG_CLI_LOG_INPUT_OUTPUT_ENABLE 1
#define OPENTHREAD_CONFIG_CLI_LOG_INPUT_OUTPUT_LEVEL OT_LOG_LEVEL_INFO
#endif /* OT_CORE_NEXUS_CONFIG_H_ */