(output_path: str, items: list[object], bindings: list[Binding], config, verbose: bool)
| 353 | ''')) |
| 354 | |
| 355 | def generate(output_path: str, items: list[object], bindings: list[Binding], config, verbose: bool): |
| 356 | if not os.path.exists(output_path): |
| 357 | os.makedirs(output_path) |
| 358 | devicetree_c_filename = os.path.join(output_path, "devicetree.c") |
| 359 | generate_devicetree_c(devicetree_c_filename, items, bindings, config, verbose) |
| 360 | devicetree_h_filename = os.path.join(output_path, "devicetree.h") |
| 361 | generate_devicetree_h(devicetree_h_filename) |
no test coverage detected