mirror of
https://github.com/espressif/openthread.git
synced 2026-08-30 05:49:54 +00:00
[build] update build scripts and add multi-radio (TREL) CI build checks (#6518)
This commit updates `toranj/build.sh` script for posix based builds to generate CLI executable. It also updates the posix platform to provide log functionality when `LOG_OUTPUT` is set to `LOG_OUTPUT_APP`. This commit also adds CI build checks for multi-radio and TREL build configurations under posix platform.
This commit is contained in:
@@ -42,6 +42,15 @@ build()
|
||||
if [[ $OSTYPE != "darwin"* ]]; then
|
||||
reset_source
|
||||
make -f src/posix/Makefile-posix RCP_RESTORATION_MAX_COUNT=2 RCP_BUS=spi
|
||||
|
||||
reset_source
|
||||
./tests/toranj/build.sh posix
|
||||
|
||||
reset_source
|
||||
./tests/toranj/build.sh posix-15.4+trel
|
||||
|
||||
reset_source
|
||||
./tests/toranj/build.sh posix-trel
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@@ -45,6 +45,13 @@ build()
|
||||
)
|
||||
|
||||
"$(dirname "$0")"/cmake-build posix "${options[@]}"
|
||||
|
||||
options+=(
|
||||
"-DOT_TREL=ON"
|
||||
)
|
||||
|
||||
reset_source
|
||||
"$(dirname "$0")"/cmake-build posix "${options[@]}"
|
||||
}
|
||||
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user