Skip to content

Commit 5ca333a

Browse files
authored
Merge branch 'master' into feature/app-install-flow-public
2 parents 278075f + 8ebace8 commit 5ca333a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

config/nrfconnect/app/flashing.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ add_custom_command(OUTPUT "${FLASHBUNDLE_FLASHER_PLATFORM}"
4040
VERBATIM)
4141

4242
if (merged_hex_to_flash)
43-
set(flashbundle_hex_to_copy "zephyr/${merged_hex_to_flash}")
43+
set(flashbundle_hex_to_copy "${merged_hex_to_flash}")
4444
else()
45-
set(flashbundle_hex_to_copy "zephyr/${KERNEL_HEX_NAME}")
45+
set(flashbundle_hex_to_copy "../merged.hex")
4646
endif()
4747

4848
add_custom_command(OUTPUT "${FLASHBUNDLE_FIRMWARE}"

scripts/build/builders/nrf.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -224,16 +224,16 @@ def _build(self):
224224
def _bundle(self):
225225
logging.info(f'Generating flashbundle at {self.output_dir}')
226226

227-
self._Execute(['ninja', '-C', self.output_dir, 'flashing_script'],
227+
self._Execute(['ninja', '-C', os.path.join(self.output_dir, 'nrfconnect'), 'flashing_script'],
228228
title='Generating flashable files of ' + self.identifier)
229229

230230
def build_outputs(self):
231231
yield BuilderOutput(
232-
os.path.join(self.output_dir, 'zephyr', 'zephyr.elf'),
232+
os.path.join(self.output_dir, 'nrfconnect', 'zephyr', 'zephyr.elf'),
233233
'%s.elf' % self.app.AppNamePrefix())
234234
if self.options.enable_link_map_file:
235235
yield BuilderOutput(
236-
os.path.join(self.output_dir, 'zephyr', 'zephyr.map'),
236+
os.path.join(self.output_dir, 'nrfconnect', 'zephyr', 'zephyr.map'),
237237
'%s.map' % self.app.AppNamePrefix())
238238

239239
def bundle_outputs(self):

0 commit comments

Comments
 (0)