Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/fix radio c #722

Closed
wants to merge 3 commits into from
Closed

Bugfix/fix radio c #722

wants to merge 3 commits into from

Conversation

lmnotran
Copy link

No description provided.

This deletion caused connectivity problems, preventing networks from being formed properly.
…GET` containing no RCP targets

When running `OT_CMAKE_NINJA_TARGET="ot-cli-ftd" script/build brdXXXXy`, the build script errors with `rcp_targets` being an unbound variable.

```shell
+ rcp_targets=()
+ soc_targets=()
+ for t in '"${OT_CMAKE_NINJA_TARGET[@]}"'
+ [[ ot-cli-ftd =~ .*rcp.* ]]
+ soc_targets+=("$t")
script/build: line 282: rcp_targets[@]: unbound variable

```

This commit fixes the problem by using a default empty string when `rcp_targets` is empty.
@lmnotran lmnotran closed this Jan 22, 2024
@lmnotran lmnotran deleted the bugfix/fix-radio-c branch January 23, 2024 18:19
@lmnotran lmnotran restored the bugfix/fix-radio-c branch February 2, 2024 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant