This repository was archived by the owner on Feb 21, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,7 @@ primo.build.components=components
34
34
primo.build.vid=0x2a03
35
35
primo.build.pid=0x805a
36
36
37
- #new defined attributes
38
- #primo.bootloader.file=
37
+ primo.bootloader.file=primo/bootloader_primo_v1.0.0.hex
39
38
primo.firmware.softdevice.file=primo/softdevice/s132_nrf52_2.0.0_softdevice.hex
40
39
41
40
@@ -66,6 +65,5 @@ primo_core.build.openocdscript=openocd_scripts/arduino_primo.cfg
66
65
primo_core.build.variant=arduino_primo_core
67
66
primo_core.build.components=components
68
67
69
- #new defined attributes
70
- #primo_core.bootloader.file=
68
+ primo_core.bootloader.file=primo_core/bootloader_primo_core_v1.0.0.hex
71
69
primo_core.firmware.softdevice.file=primo/softdevice/s132_nrf52_2.0.0_softdevice.hex
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ recipe.objcopy.eep.pattern="{compiler.path}{compiler.elf2bin.cmd}" {compiler.elf
87
87
recipe.objcopy.hex.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf2hex.flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.hex"
88
88
89
89
## Create merged hex file with softdevice and bootloader
90
- recipe.objcopy.mergehex.pattern="{tools.mergehex.path}/{tools.mergehex.cmd}" --merge "{runtime.platform.path}/firmwares/{firmware.softdevice.file}" "{build.path}/{build.project_name}.hex" --output "{build.path}/{build.project_name}-merged.hex" {tools.mergehex.upload.params.quiet}
90
+ recipe.objcopy.mergehex.pattern="{tools.mergehex.path}/{tools.mergehex.cmd}" --merge "{runtime.platform.path}/firmwares/{firmware.softdevice.file}" "{runtime.platform.path}/bootloaders/{bootloader.file}" "{ build.path}/{build.project_name}.hex" --output "{build.path}/{build.project_name}-merged.hex" {tools.mergehex.upload.params.quiet}
91
91
92
92
## Save hex
93
93
recipe.output.tmp_file={build.project_name}.hex
You can’t perform that action at this time.
0 commit comments