pinout: better logging

This commit is contained in:
rusefillc 2023-05-31 00:46:03 -04:00
parent 7b22fb871f
commit 8a78673a84
2 changed files with 2 additions and 0 deletions

Binary file not shown.

View File

@ -154,6 +154,7 @@ public class PinoutLogic {
Object pinName = pin.get("pin");
Object pinTsName = pin.get("ts_name");
if (pinId == null || pinClass == null || pinTsName == null) {
log.info("Skipping " + pinId + "/" + pinClass + "/" + pinTsName);
continue;
}
if (pinName != null) {
@ -228,6 +229,7 @@ public class PinoutLogic {
for (File yamlFile : boardInputs.getBoardYamlKeys()) {
header.append("// auto-generated by PinoutLogic.java based on " + yamlFile + "\n");
readMetaInfo(yamlFile, boardInputs.getReader(yamlFile));
log.info("Got so far: " + this);
}
log.info("Got from " + boardInputs.getBoardYamlKeys().size() + " file(s): " + this);
}