Skip to content

Commit

Permalink
Merge branch 'master' into feature/app-install-flow-public
Browse files Browse the repository at this point in the history
  • Loading branch information
lazarkov authored Jul 24, 2024
2 parents 278075f + 8ebace8 commit 5ca333a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions config/nrfconnect/app/flashing.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ add_custom_command(OUTPUT "${FLASHBUNDLE_FLASHER_PLATFORM}"
VERBATIM)

if (merged_hex_to_flash)
set(flashbundle_hex_to_copy "zephyr/${merged_hex_to_flash}")
set(flashbundle_hex_to_copy "${merged_hex_to_flash}")
else()
set(flashbundle_hex_to_copy "zephyr/${KERNEL_HEX_NAME}")
set(flashbundle_hex_to_copy "../merged.hex")
endif()

add_custom_command(OUTPUT "${FLASHBUNDLE_FIRMWARE}"
Expand Down
6 changes: 3 additions & 3 deletions scripts/build/builders/nrf.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,16 +224,16 @@ def _build(self):
def _bundle(self):
logging.info(f'Generating flashbundle at {self.output_dir}')

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

def build_outputs(self):
yield BuilderOutput(
os.path.join(self.output_dir, 'zephyr', 'zephyr.elf'),
os.path.join(self.output_dir, 'nrfconnect', 'zephyr', 'zephyr.elf'),
'%s.elf' % self.app.AppNamePrefix())
if self.options.enable_link_map_file:
yield BuilderOutput(
os.path.join(self.output_dir, 'zephyr', 'zephyr.map'),
os.path.join(self.output_dir, 'nrfconnect', 'zephyr', 'zephyr.map'),
'%s.map' % self.app.AppNamePrefix())

def bundle_outputs(self):
Expand Down

0 comments on commit 5ca333a

Please sign in to comment.