This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrfjprog error

shammi@shammi-Ideapad-Z560:~/work/IoT/Zephyr/zephyrproject$ west build -p auto -b reelboard samples/basic/blinky
Traceback (most recent call last):
  File "/home/shammi/.local/bin/west", line 8, in <module>
    sys.exit(main())
  File "/home/shammi/.local/lib/python3.5/site-packages/west/main.py", line 583, in main
    args.handler(args, unknown)
  File "/home/shammi/.local/lib/python3.5/site-packages/west/main.py", line 324, in ext_command_handler
    command = spec.factory()
  File "/home/shammi/.local/lib/python3.5/site-packages/west/commands/__init__.py", line 365, in __call__
    mod = _commands_module_from_file(self.py_file)
  File "/home/shammi/.local/lib/python3.5/site-packages/west/commands/__init__.py", line 333, in _commands_module_from_file
    mod = _import_mod_from(mod_name, file)
  File "/home/shammi/.local/lib/python3.5/site-packages/west/commands/__init__.py", line 330, in _import_mod_from
    spec.loader.exec_module(mod)
  File "<frozen importlib._bootstrap_external>", line 665, in exec_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "/home/shammi/work/IoT/Zephyr/zephyrproject/zephyr/scripts/west_commands/build.py", line 16, in <module>
    from zephyr_ext_common import Forceable
  File "/home/shammi/work/IoT/Zephyr/zephyrproject/zephyr/scripts/west_commands/zephyr_ext_common.py", line 17, in <module>
    from runners.core import RunnerConfig
  File "/home/shammi/work/IoT/Zephyr/zephyrproject/zephyr/scripts/west_commands/runners/__init__.py", line 25, in <module>
    from runners import nrfjprog
  File "/home/shammi/work/IoT/Zephyr/zephyrproject/zephyr/scripts/west_commands/runners/nrfjprog.py", line 86
    f'refusing to guess which of {len(snrs)} '
                                             ^
SyntaxError: invalid syntax

Parents Reply Children
No Data
Related