Forum | Documentation | Website | Blog

Skip to content

Adding a check for device tree compiler

Aven Arlington requested to merge Aven/aven-gateware:dtc-check into main

If device tree compiler is not installed on a local build setup the build-bitfile.py script will only provide a clue that there is a problem in the output:

sh: 1: dtc: not found

The script will not error or fail. Instead, it will produce a device tree output that is missing the "overlays" folder:

/proc/device-tree/chosen/

This change adds a step to the check_tool_status_linux function that will produce an error if "dtc" is not found.

Edited by Aven Arlington

Merge request reports