()
| 4 | from source.main import main |
| 5 | |
| 6 | def print_help(): |
| 7 | print("Usage: python compile.py [in_file] [out_path] [arguments]\n") |
| 8 | print(f"\t[in_path] the path where the root devicetree.yaml file is") |
| 9 | print(f"\t[out_path] output folder for C file output") |
| 10 | print("") |
| 11 | print("Optional arguments:\n") |
| 12 | print("\t--help prints this help text") |
| 13 | print("\t--verbose output debug info") |
| 14 | |
| 15 | if __name__ == "__main__": |
| 16 | if "--help" in sys.argv: |