mirror of
https://github.com/espressif/openthread.git
synced 2026-09-06 17:20:09 +00:00
[ncp] add NCP based implementation (empty) of platform InfraIf APIs (#10638)
This implementation will be used on all platforms for NCP nodes (simulation, any vendor platforms). However the simulation platform already has a different implementation. To avoid conflicts, the commit adds a control flag in simulation config so that we can choose whether to enable the simulation implementation.
This commit is contained in:
@@ -148,6 +148,10 @@ build_simulation()
|
||||
options+=("${ot_extra_options[@]}")
|
||||
fi
|
||||
|
||||
if [[ ${OT_NODE_TYPE} == rcp* ]]; then
|
||||
options+=("-DOT_SIMULATION_INFRA_IF=OFF")
|
||||
fi
|
||||
|
||||
OT_CMAKE_BUILD_DIR="${OT_BUILDDIR}/openthread-simulation-${version}" "${OT_SRCDIR}"/script/cmake-build simulation "${options[@]}"
|
||||
|
||||
if [[ ${VIRTUAL_TIME} == 1 ]] && [[ ${OT_NODE_TYPE} == rcp* ]]; then
|
||||
|
||||
Reference in New Issue
Block a user