Skip to content

Conversation

@carlescufi
Copy link
Contributor

See commits.

Move the argparse.add_argument() call to the abstract base class and
augment the RunnerCaps class with a dry_run parameter.

Signed-off-by: Carles Cufi <[email protected]>
(cherry picked from commit 48e0481)
In order to avoid duplication of logic in runners, allow subclasses
of ZephyrBinaryRunner to set self.dry_run so that they can then reuse
the logic in core.py to log instead of execute.

Signed-off-by: Carles Cufi <[email protected]>
(cherry picked from commit ffe2028)
…ed json

Until now the code was using the path to the .hex file to select the
directory where the generated JSON file required for nrfutil would be
generated. But this has a problem: if the .hex file in a sysbuild
project is located in the tree as a precompiled binary, the runner would
place a file in there and make the tree dirty. Instead use the build_dir
folder which always corresponds (in both sysbuild and regular builds)
to the current target build directory.

Signed-off-by: Carles Cufi <[email protected]>
(cherry picked from commit d6f5aa9)
@carlescufi carlescufi force-pushed the cherry-pick-runner-changes branch from 132749a to d10fdab Compare November 25, 2025 12:49
@carlescufi carlescufi merged commit 9b0a06e into nrfconnect:main Nov 25, 2025
31 checks passed
carlescufi pushed a commit to NordicBuilder/sdk-nrf that referenced this pull request Nov 26, 2025
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-zephyr#3536

Signed-off-by: Nordic Builder <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants