Skip to content

Commit

Permalink
fix(qpg-openthread): update qorvo-mbedtls
Browse files Browse the repository at this point in the history
* update the qorvo-mbedtls config
* set correct thread version and target for the different Qorvo platforms
  • Loading branch information
thcu-gp committed Feb 19, 2024
1 parent 3230545 commit f5e7ca7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions script/build
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,23 @@ main()
local cmdline_options=("$@")

case "${platform}" in
gp712 | qpg7015m)
gp712)
OT_CMAKE_NINJA_TARGET=("ot-cli-ftd" "ot-cli-mtd")
options+=("-DCMAKE_TOOLCHAIN_FILE=src/${platform}/arm-linux-gnueabihf.cmake")
build -DQORVO_PLATFORM="${platform}" -DOT_THREAD_VERSION="1.1" "${options[@]}" "${cmdline_options[@]}"
;;
qpg7015m)
OT_CMAKE_NINJA_TARGET=("ot-rcp" "ot-cli-ftd" "ot-cli-mtd")
options+=("-DCMAKE_TOOLCHAIN_FILE=src/${platform}/arm-linux-gnueabihf.cmake")
build -DQORVO_PLATFORM="${platform}" "${options[@]}" "${cmdline_options[@]}"
;;
qpg6105)
OT_CMAKE_NINJA_TARGET=("ot-cli-ftd" "ot-cli-mtd")
options+=("-DCMAKE_TOOLCHAIN_FILE=src/${platform}/arm-none-eabi.cmake")
build -DQORVO_PLATFORM="${platform}" "${options[@]}" "${cmdline_options[@]}"
;;
esac

build -DQORVO_PLATFORM="${platform}" "${options[@]}" "${cmdline_options[@]}"

case "${platform}" in
qpg6105)
find "${builddir}/bin" -type f -executable -not -name '*.*' -not -name "${platform}-*" -not -name "*-test-*" \
Expand Down
2 changes: 1 addition & 1 deletion third_party/Qorvo/repo

0 comments on commit f5e7ca7

Please sign in to comment.