Skip to content
Commit c5940fa6 authored by Kumar Gala's avatar Kumar Gala Committed by Kumar Gala
Browse files

scripts: pyocd.sh: Add support for passing board_id to pyocd commands



If we have more than one board of a given type we need to be able to
specify the board_id to select which specific board that the pyocd
command should target.  Introduce an environment variable PYOCD_BOARD_ID
to we can set that will get passed to the pyocd command that needs it.

Here's an example:

$ make -C samples/hello_world/ BOARD=frdm_k64f flash PYOCD_BOARD_ID=1234

Signed-off-by: default avatarKumar Gala <kumar.gala@linaro.org>
parent 76be0a4c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment