generate_device_tree
Generate a device tree source file from a KiCad schematic for STM32, ESP32, or nRF52 SOCs.
Instructions
Generate device tree source (.dts) file from schematic.
This function analyzes a KiCad schematic and generates a device tree source file compatible with the specified SOC family.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schematic_path | Yes | Path to .kicad_sch file | |
| target_soc | No | Target SOC family (stm32f4, esp32, nrf52) | stm32f4 |
| output_path | No | Optional output file path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |