mirror of
https://github.com/espressif/openthread.git
synced 2026-06-06 05:24:51 +00:00
[nexus] move multiple instance config to nexus config header (#12890)
This commit moves the `OPENTHREAD_CONFIG_MULTIPLE_INSTANCE_ENABLE` configuration from the build scripts to the nexus-specific core configuration header file. Specifically: - Added `#define OPENTHREAD_CONFIG_MULTIPLE_INSTANCE_ENABLE 1` to `tests/nexus/openthread-core-nexus-config.h`. - Removed `-DOT_MULTIPLE_INSTANCE=ON` from `tests/nexus/build.sh`. - Removed `-DOT_MULTIPLE_INSTANCE=ON` from `tests/fuzz/oss-fuzz-build`. This change centralizes nexus-specific configurations in the header file, making the build scripts cleaner and ensuring consistent configuration across different build environments that use the nexus core config."
This commit is contained in:
@@ -40,7 +40,6 @@ git submodule update --init --recursive --depth 1
|
||||
-DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
|
||||
-DOT_COMPILE_WARNING_AS_ERROR=ON \
|
||||
-DOT_FUZZ_TARGETS=ON \
|
||||
-DOT_MULTIPLE_INSTANCE=ON \
|
||||
-DOT_PLATFORM=nexus \
|
||||
-DOT_THREAD_VERSION=1.4 \
|
||||
-DOT_APP_CLI=OFF \
|
||||
|
||||
@@ -64,7 +64,6 @@ echo "Building OpenThread Nexus test platform"
|
||||
echo "===================================================================================================="
|
||||
cd "${top_builddir}" || die "cd failed"
|
||||
cmake -GNinja -DOT_PLATFORM=nexus -DOT_COMPILE_WARNING_AS_ERROR=ON \
|
||||
-DOT_MULTIPLE_INSTANCE=ON \
|
||||
-DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=OFF -DOT_APP_NCP=OFF -DOT_APP_RCP=OFF \
|
||||
-DOT_15_4=${fifteenfour} -DOT_TREL=${trel} \
|
||||
-DOT_PROJECT_CONFIG="${top_srcdir}/tests/nexus/openthread-core-nexus-config.h" \
|
||||
|
||||
@@ -113,6 +113,7 @@
|
||||
#define OPENTHREAD_CONFIG_MULTICAST_DNS_ENABLE 1
|
||||
#define OPENTHREAD_CONFIG_MULTICAST_DNS_ENTRY_ITERATION_API_ENABLE 1
|
||||
#define OPENTHREAD_CONFIG_MULTICAST_DNS_PUBLIC_API_ENABLE 1
|
||||
#define OPENTHREAD_CONFIG_MULTIPLE_INSTANCE_ENABLE 1
|
||||
#define OPENTHREAD_CONFIG_NAT64_BORDER_ROUTING_ENABLE 1
|
||||
#define OPENTHREAD_CONFIG_NAT64_TRANSLATOR_ENABLE 1
|
||||
#define OPENTHREAD_CONFIG_NAT64_IDLE_TIMEOUT_SECONDS 600
|
||||
|
||||
Reference in New Issue
Block a user