Commit 3c2984d4 authored by Henrik Brix Andersen's avatar Henrik Brix Andersen Committed by Carles Cufi
Browse files

scripts: west: add CANopen flash runner



Add west flash runner for program download via CANopen.

Signed-off-by: default avatarHenrik Brix Andersen <hebad@vestas.com>
parent ed9f2fc2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ jobs:
        pip3 install 'breathe>=4.9.1,<4.15.0' 'docutils>=0.14' \
                     'sphinx>=1.7.5,<3.0' sphinx_rtd_theme sphinx-tabs \
                     sphinxcontrib-svg2pdfconverter 'west>=0.6.2'
        pip3 install pyelftools
        pip3 install pyelftools canopen progress

    - name: west setup
      run: |
+1 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ jobs:
          ${{ runner.os }}-pip-${{ matrix.python-version }}
    - name: install pytest
      run: |
        pip3 install pytest west pyelftools
        pip3 install pytest west pyelftools canopen progress
    - name: run pytest-win
      if: runner.os == 'Windows'
      run: |
+4 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: Apache-2.0

board_set_flasher_ifnset(canopen)
board_finalize_runner_args(canopen)
+2 −0
Original line number Diff line number Diff line
@@ -11,7 +11,9 @@ pyelftools>=0.24
PyYAML>=5.1

# used by west_commands
canopen
packaging
progress

# intelhex used by mergehex.py
intelhex
+1 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ from runners.core import ZephyrBinaryRunner, MissingProgram
# Keep this list sorted by runner name.
from runners import blackmagicprobe
from runners import bossac
from runners import canopen_program
from runners import dediprog
from runners import dfu
from runners import esp32
Loading