Skip to content

Commit 814bc7b

Browse files
mbolivar-nordiccarlescufi
authored andcommitted
scripts: remove runner related cruft
There's some old cache variables that don't matter anymore in here. Signed-off-by: Marti Bolivar <[email protected]>
1 parent f08935f commit 814bc7b

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

scripts/west_commands/zephyr_ext_common.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,9 @@ def check_force(self, cond, msg):
4040
def cached_runner_config(build_dir, cache):
4141
'''Parse the RunnerConfig from a build directory and CMake Cache.'''
4242
board_dir = cache['ZEPHYR_RUNNER_CONFIG_BOARD_DIR']
43-
elf_file = cache.get('ZEPHYR_RUNNER_CONFIG_ELF_FILE',
44-
cache['ZEPHYR_RUNNER_CONFIG_KERNEL_ELF'])
45-
hex_file = cache.get('ZEPHYR_RUNNER_CONFIG_HEX_FILE',
46-
cache['ZEPHYR_RUNNER_CONFIG_KERNEL_HEX'])
47-
bin_file = cache.get('ZEPHYR_RUNNER_CONFIG_BIN_FILE',
48-
cache['ZEPHYR_RUNNER_CONFIG_KERNEL_BIN'])
43+
elf_file = cache.get('ZEPHYR_RUNNER_CONFIG_KERNEL_ELF')
44+
hex_file = cache.get('ZEPHYR_RUNNER_CONFIG_KERNEL_HEX')
45+
bin_file = cache.get('ZEPHYR_RUNNER_CONFIG_KERNEL_BIN')
4946
gdb = cache.get('ZEPHYR_RUNNER_CONFIG_GDB')
5047
openocd = cache.get('ZEPHYR_RUNNER_CONFIG_OPENOCD')
5148
openocd_search = cache.get('ZEPHYR_RUNNER_CONFIG_OPENOCD_SEARCH')

0 commit comments

Comments
 (0)