mirror of
https://github.com/espressif/openthread.git
synced 2026-10-06 15:57:39 +00:00
[toranj] enable OTNS in posix build instead of simulation (#13622)
This commit updates Toranj configurations to enable OTNS on the POSIX platform build instead of the simulation platform build. The simulation platform config is used when running Toranj tests (CLI/NCP) and unit tests. Disabling OTNS there prevents verbose OTNS status logs from polluting test outputs. Enabling it in the POSIX config ensures OTNS compilation continues to be validated in CI (under `toranj-build-posix`).
This commit is contained in:
@@ -101,4 +101,6 @@
|
||||
|
||||
#define OPENTHREAD_CONFIG_SRP_CLIENT_COUNTERS_ENABLE 0
|
||||
|
||||
#define OPENTHREAD_CONFIG_OTNS_ENABLE 1
|
||||
|
||||
#endif // OT_TORANJ_OPENTHREAD_CORE_TORANJ_CONFIG_POSIX_H_
|
||||
|
||||
@@ -124,6 +124,6 @@
|
||||
|
||||
#define OPENTHREAD_CONFIG_TREL_USE_HEAP_ENABLE 0
|
||||
|
||||
#define OPENTHREAD_CONFIG_OTNS_ENABLE 1
|
||||
#define OPENTHREAD_CONFIG_OTNS_ENABLE 0
|
||||
|
||||
#endif // OT_TORANJ_OPENTHREAD_CORE_TORANJ_CONFIG_SIMULATION_H_
|
||||
|
||||
Reference in New Issue
Block a user