Closed caramelhooves closed 1 year ago
While the code looks good, the added colorize lines do not pass the shellcheck. Please correct. The function has_colorizer does not check (yet) whether there is a algorithm for colorizing a given file. Therefore the 3rd commit selects for me the colorizer bat, which does not color the dts tree and I believe this commit is not required and probably not working as intended.
Colorizing commit needs to be reviewed
Device Tree Blob is a binary format used by Linux kernel to represent Device Trees. It could be converted into a human-readable text using device tree compiler or dtc for short.
Use dtc to show DTB in a human-readable form. Any errors/warnings produced by dtc during conversion are appended to the dtc output.