Skip to content

Commit

Permalink
remove ota generation (#18152)
Browse files Browse the repository at this point in the history
  • Loading branch information
jepenven-silabs authored and pull[bot] committed Nov 6, 2023
1 parent 19e5513 commit 3643197
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions scripts/examples/gn_efr32_example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -161,18 +161,4 @@ else
#print stats
arm-none-eabi-size -A "$BUILD_DIR"/*.out

# Generate bootloader file
if [ "${BUILD_DIR:0:2}" == "./" ]; then
BUILD_DIR_TRIMMED="${BUILD_DIR:2}"
S37_PATH=$(find "$BUILD_DIR_TRIMMED" -type f -name "*.s37")
if [ -z "$S37_PATH" ]; then
echo "Bootloader could not be built"
else
TARGET_PATH=${S37_PATH%????}
OTA_PATH="$TARGET_PATH".ota
commander gbl create "$TARGET_PATH".gbl --app "$S37_PATH"
GBL_PATH="$TARGET_PATH".gbl
./src/app/ota_image_tool.py create -v 0xFFF1 -p 0x8005 -vn 1 -vs "1.0" -da sha256 "$GBL_PATH" "$OTA_PATH"
fi
fi
fi

0 comments on commit 3643197

Please sign in to comment.