Skip to content

Commit

Permalink
Updated bootloader binary name
Browse files Browse the repository at this point in the history
evoggy committed Oct 18, 2024
1 parent 8a0d486 commit 9b70473
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -11,4 +11,4 @@ jobs:
with:
builder_image: 'bitcraze/builder'
build_script: './tools/build/build-update-binary'
artifacts: '_build/sd130_bootloader.bin _build/bootloader_only_for_swd.bin'
artifacts: '_build/sd130_bootloader.bin _build/nrf_bootloader.bin'
4 changes: 2 additions & 2 deletions tools/generate_update_binary.py
Original file line number Diff line number Diff line change
@@ -5,9 +5,9 @@
from os import system

system("arm-none-eabi-objcopy -I ihex -O binary vendor/nrf5sdk/components/softdevice/s130/hex/s130_nrf51_2.0.1_softdevice.hex _build/s130.bin")
system("mv _build/nrf51422_xxaa.bin _build/bootloader_only_for_swd.bin")
system("mv _build/nrf51422_xxaa.bin _build/nrf_bootloader.bin")

bl = open('_build/bootloader_only_for_swd.bin', 'rb').read()
bl = open('_build/nrf_bootloader.bin', 'rb').read()
sd = open('_build/s130.bin', 'rb').read()

# Strip the 4K MBR from the begining of the softdevice

0 comments on commit 9b70473

Please sign in to comment.