Skip to content

Commit a17553e

Browse files
authored
fix(qpg-openthread): update qorvo-mbedtls (#689)
* update the qorvo-mbedtls config * set correct thread version and target for the different Qorvo platforms
1 parent e5f5d35 commit a17553e

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

script/build

+8-3
Original file line numberDiff line numberDiff line change
@@ -83,18 +83,23 @@ main()
8383
local cmdline_options=("$@")
8484

8585
case "${platform}" in
86-
gp712 | qpg7015m)
86+
gp712)
87+
OT_CMAKE_NINJA_TARGET=("ot-cli-ftd" "ot-cli-mtd")
88+
options+=("-DCMAKE_TOOLCHAIN_FILE=src/${platform}/arm-linux-gnueabihf.cmake")
89+
build -DQORVO_PLATFORM="${platform}" -DOT_THREAD_VERSION="1.1" "${options[@]}" "${cmdline_options[@]}"
90+
;;
91+
qpg7015m)
8792
OT_CMAKE_NINJA_TARGET=("ot-rcp" "ot-cli-ftd" "ot-cli-mtd")
8893
options+=("-DCMAKE_TOOLCHAIN_FILE=src/${platform}/arm-linux-gnueabihf.cmake")
94+
build -DQORVO_PLATFORM="${platform}" "${options[@]}" "${cmdline_options[@]}"
8995
;;
9096
qpg6105)
9197
OT_CMAKE_NINJA_TARGET=("ot-cli-ftd" "ot-cli-mtd")
9298
options+=("-DCMAKE_TOOLCHAIN_FILE=src/${platform}/arm-none-eabi.cmake")
99+
build -DQORVO_PLATFORM="${platform}" "${options[@]}" "${cmdline_options[@]}"
93100
;;
94101
esac
95102

96-
build -DQORVO_PLATFORM="${platform}" "${options[@]}" "${cmdline_options[@]}"
97-
98103
case "${platform}" in
99104
qpg6105)
100105
find "${builddir}/bin" -type f -executable -not -name '*.*' -not -name "${platform}-*" -not -name "*-test-*" \

0 commit comments

Comments
 (0)