yambs.generate.boards
index
/home/vkottler/src/vkottler/workspace/yambs/yambs/generate/boards.py

A module for generating board-related files.

 
Functions
       
add_dir(stream: <class 'TextIO'>, paths: Set[pathlib.Path], path: pathlib.Path, comment: str, base: pathlib.Path, current_sources: Set[pathlib.Path], board: yambs.config.board.Board, board_specific: bool = False) -> Set[pathlib.Path]
Add a directory to set of paths.
create_paths_dict(root: pathlib.Path, board: yambs.config.board.Board) -> Dict[str, Any]
Create paths based on common pathing conventions.
generate(jinja: jinja2.environment.Environment, env: yambs.environment.BuildEnvironment, sources_only: bool = False) -> None
Generate board-related ninja files.
write_sources(stream: <class 'TextIO'>, board: yambs.config.board.Board, src_root: pathlib.Path, env: yambs.environment.BuildEnvironment) -> yambs.environment.SourceSets
Write the source-file manifest.

 
Data
        APP_ROOT = 'apps'
Dict = typing.Dict
LOG = <Logger yambs.generate.boards (WARNING)>
Set = typing.Set
linesep = '\n'