commit | 539d2af654c4089cbdacdbe69676fdf0c95eb1f3 | [log] [tgz] |
---|---|---|
author | Anas Nashif <anas.nashif@intel.com> | Sat Nov 11 17:24:41 2017 -0500 |
committer | Anas Nashif <nashif@linux.intel.com> | Mon Nov 13 10:55:26 2017 -0500 |
tree | 44e043b0080c70893d3641eeb770c514a914a5c9 | |
parent | 4b54885f9ffcde97b83651bfd379fe438ba3cbbb [diff] |
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: Anas Nashif <anas.nashif@intel.com>