File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,15 @@ example *_build* directory. This will be similar to: *nRF5_SDK_12.2.0_f012efa\e
52
52
53
53
* Run: ` nrfutil pkg generate --hw-version 52 --application-version 1 --application nrf52832_xxaa.hex --sd-req 0x8C --key-file private.key app_dfu_hrs_package.zip `
54
54
55
+ You can also automate this step by adding the following in your project's * Makefile* :
56
+
57
+ ```
58
+ # make DFU package
59
+ dfupkg:
60
+ @echo Generating DFU package...
61
+ nrfutil pkg generate --hw-version 52 --application-version 1 --application $(OUTPUT_DIRECTORY)/nrf52832_xxaa.hex --sd-req 0x8C --key-file ../../../private.key forcesensor_dfu_package.zip
62
+ ```
63
+
55
64
![ ] ( images/generate-package.png )
56
65
57
66
* Note:* Use * --sd-req = 0x8C* for s132_nrf52_3.0.0 and * --sd-req = 0x98* for s132_nrf52_4.0.2.
You can’t perform that action at this time.
0 commit comments