Skip to content
Commit 539d2af6 authored by Anas Nashif's avatar Anas Nashif Committed by Anas Nashif
Browse files

flash: support flashing multiple configurations of a single board



Some boards define multiple configuration which all are maintained under
the same board directory. The flasher was looking for an openocd.cfg
based on the board name, which can't be found for such boards.

Use the variable BOARD_DIR provided by cmake instead of trying to
assemble the board directory location on our own.

Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
parent 4b54885f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment