Skip to content

Commit

Permalink
Merge pull request RfidResearchGroup#43 from gentilkiwi/patch-1
Browse files Browse the repository at this point in the history
Fix $hw_version in build.sh
  • Loading branch information
doegox authored Jul 24, 2023
2 parents 6ffb43e + 9fb7114 commit bbb3557
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firmware/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ set -xe
cd objects

nrfutil nrf5sdk-tools pkg generate \
--hw-version 0 \
--hw-version $hw_version \
--bootloader bootloader.hex --bootloader-version $bootloader_version --key-file ../../resource/dfu_key/chameleon.pem \
--application application.hex --application-version $application_version --app-boot-validation NO_VALIDATION \
--softdevice ../nrf52_sdk/components/softdevice/${softdevice}/hex/${softdevice}_nrf52_${softdevice_version}_softdevice.hex --sd-req ${softdevice_id} --sd-id ${softdevice_id} --sd-boot-validation NO_VALIDATION \
dfu-full.zip

nrfutil nrf5sdk-tools pkg generate \
--hw-version 0 --key-file ../../resource/dfu_key/chameleon.pem \
--hw-version $hw_version --key-file ../../resource/dfu_key/chameleon.pem \
--application application.hex --application-version $application_version --app-boot-validation NO_VALIDATION \
--sd-req ${softdevice_id} \
dfu-app.zip
Expand Down

0 comments on commit bbb3557

Please sign in to comment.