Skip to content

Commit

Permalink
Fix Zephyr flashing on physical hardware, busted in apache#7813
Browse files Browse the repository at this point in the history
  • Loading branch information
areusch committed Apr 15, 2021
1 parent 390b4d1 commit 9a37bb4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/tvm/micro/contrib/zephyr.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,9 @@ def flash(self, micro_binary):
if self._qemu:
return self._zephyr_transport(micro_binary)

cmake_entries = read_cmake_cache(
micro_binary.abspath(micro_binary.labelled_files["cmake_cache"][0]))

build_dir = os.path.dirname(
micro_binary.abspath(micro_binary.labelled_files["cmake_cache"][0])
)
Expand Down

0 comments on commit 9a37bb4

Please sign in to comment.