scripts: west flash with stm32CubeProgrammer error line
Correct the error "F541 f-string is missing placeholders" when ruuning Flake Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
parent
6a070ee165
commit
76c0e2cf51
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ class STM32CubeProgrammerBinaryRunner(ZephyrBinaryRunner):
|
|||
# flash image and run application
|
||||
dl_file = self.cfg.elf_file if self._use_elf else self.cfg.hex_file
|
||||
if dl_file is None:
|
||||
raise RuntimeError(f'cannot flash; no download file was specified')
|
||||
raise RuntimeError('cannot flash; no download file was specified')
|
||||
elif not os.path.isfile(dl_file):
|
||||
raise RuntimeError(f'download file {dl_file} does not exist')
|
||||
self.check_call(cmd + ["--download", dl_file, "--start"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue