Skip to content

Commit

Permalink
fix: change handling of boards that are not loacted in project's dir
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkoSagadin committed Aug 20, 2024
1 parent 014c522 commit ae1cb33
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## [Unreleased]

## Fixed

- `east release` command wrongly aborted, if a board from `east.yml` wasn't found
in project's board directory. That was wrong, since the board might be located
either in Zephyr, NCS or some other Zephyr module.

## [0.21.0] - 2024-08-16

### Added
Expand Down
3 changes: 2 additions & 1 deletion src/east/helper_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,8 @@ def find_all_boards(east, west_board: str) -> List[str]:
board_dir = find_board_dir(east, west_board)

if not board_dir:
east.exit(f"Board {west_board} not found in the boards directory.")
# Just return the original name, since the board might come from Zephyr or NCS.
return [west_board]

files = os.listdir(board_dir)

Expand Down

0 comments on commit ae1cb33

Please sign in to comment.