From 084b096c63658ac52dfbde48bc062bc2aefb27e5 Mon Sep 17 00:00:00 2001 From: Kamil Kasperczyk <66371704+kkasperczyk-no@users.noreply.github.com> Date: Fri, 26 Jul 2024 15:26:06 +0200 Subject: [PATCH] [nrfconnect] Fixed paths used to create flash bundle (#34528) Added nrfconnect directory in path used to copy bundle outputs. --- scripts/build/builders/nrf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build/builders/nrf.py b/scripts/build/builders/nrf.py index 6f650d23c7656a..f9c801da0b5dd1 100644 --- a/scripts/build/builders/nrf.py +++ b/scripts/build/builders/nrf.py @@ -239,6 +239,6 @@ def build_outputs(self): def bundle_outputs(self): if self.app == NrfApp.UNIT_TESTS: return - with open(os.path.join(self.output_dir, self.app.FlashBundleName())) as f: + with open(os.path.join(self.output_dir, 'nrfconnect', self.app.FlashBundleName())) as f: for line in filter(None, [x.strip() for x in f.readlines()]): - yield BuilderOutput(os.path.join(self.output_dir, line), line) + yield BuilderOutput(os.path.join(self.output_dir, 'nrfconnect', line), line)