Skip to content

Commit

Permalink
boards: common: bossac: Fix bossac flash script.
Browse files Browse the repository at this point in the history
The flash script was broken after the cmake changes.
Updated the path needed for the flash scripts.

Signed-off-by: Adithya Baglody <adithya.nagaraj.baglody@intel.com>
  • Loading branch information
AdithyaBaglody authored and MaureenHelm committed Jun 4, 2018
1 parent 5c6a399 commit 4a693c3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion boards/common/bossac.board.cmake
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
set_ifndef(BOARD_FLASH_RUNNER bossac)
board_finalize_runner_args(bossac) # No default arguments to provide.
board_finalize_runner_args(bossac "--bossac=${BOSSAC}")
6 changes: 6 additions & 0 deletions cmake/host-tools.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,11 @@ find_program(
openocd
)

# bossac is an optional dependency
find_program(
BOSSAC
bossac
)

# TODO: Should we instead find one qemu binary for each ARCH?
# TODO: This will probably need to be re-organized when there exists more than one SDK.

0 comments on commit 4a693c3

Please sign in to comment.