mirror of
https://github.com/espressif/openthread.git
synced 2026-07-30 07:37:46 +00:00
[posix] use real time signal for microsecond timer (#5122)
This commit is contained in:
+2
-2
@@ -49,7 +49,7 @@ readonly VIRTUAL_TIME="${VIRTUAL_TIME:-1}"
|
||||
build_simulation()
|
||||
{
|
||||
local version="$1"
|
||||
local options=("-DOT_THREAD_VERSION=${version}")
|
||||
local options=("-DOT_THREAD_VERSION=${version}" "-DBUILD_TESTING=ON")
|
||||
|
||||
if [[ ${version} == "1.2" ]]; then
|
||||
options+=("-DOT_DUA=ON")
|
||||
@@ -82,7 +82,7 @@ build_simulation()
|
||||
build_posix()
|
||||
{
|
||||
local version="$1"
|
||||
local options=("-DOT_THREAD_VERSION=${version}")
|
||||
local options=("-DOT_THREAD_VERSION=${version}" "-DBUILD_TESTING=ON")
|
||||
|
||||
if [[ ${version} == "1.2" ]]; then
|
||||
options+=("-DOT_DUA=ON")
|
||||
|
||||
Reference in New Issue
Block a user