Skip to content

Commit

Permalink
OT BR building fixes
Browse files Browse the repository at this point in the history
- Increase `EXPAND_SIZE` fo Raspbian image
- Add `OTNCS13_BR` name for 1.3 NCS OT BRs

Signed-off-by: Maciej Baczmanski <[email protected]>
  • Loading branch information
maciejbaczmanski committed Jul 11, 2023
1 parent e17ae41 commit 21184b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/bootstrap.bash
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ IMAGE_NAME=$(basename "${IMAGE_URL}" .zip)
IMAGE_FILE="$IMAGE_NAME".img
[ -f "$TOOLS_HOME"/images/"$IMAGE_FILE" ] || {
# unit MB
EXPAND_SIZE=4096
EXPAND_SIZE=6144

[ -d "$TOOLS_HOME"/images ] || mkdir -p "$TOOLS_HOME"/images

Expand Down
6 changes: 5 additions & 1 deletion script/otbr-setup.bash
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,11 @@ if [ "${REFERENCE_PLATFORM?}" = "ncs" ]; then
echo 'exit 0' >>/etc/rc.local

# update testharness-discovery script to fix autodiscovery issue
sed -i 's/OpenThread_BR/OTNCS_BR/g' /usr/sbin/testharness-discovery
if [ "$REFERENCE_RELEASE_TYPE" = "1.2" ]; then
sed -i 's/OpenThread_BR/OTNCS_BR/g' /usr/sbin/testharness-discovery
else
sed -i 's/OpenThread_BR/OTNCS13_BR/g' /usr/sbin/testharness-discovery
fi

elif [ "${REFERENCE_PLATFORM?}" = "efr32mg12" ]; then
# update testharness-discovery script to fix autodiscovery issue
Expand Down

0 comments on commit 21184b9

Please sign in to comment.