Devicetree DTS and YAML format improvements (#492)
* **DevicetreeCompiler** * Binding properties now support default values. * Compiler returns meaningful exit codes and reports errors more clearly. * Stronger validation of device configurations with unified error handling. * Added integration tests and a dedicated Devicetree test workflow. * **Changes** * Platform binding schemas updated: some fields made required, others gained explicit defaults. * Many device-tree files simplified by removing unused/placeholder pin and transfer-size entries. * **Documentation** * Removed several outdated TODO items.
This commit is contained in:
committed by
GitHub
parent
d27404964a
commit
93efadd5e3
@@ -37,11 +37,7 @@
|
||||
compatible = "espressif,esp32-spi";
|
||||
host = <SPI2_HOST>;
|
||||
pin-mosi = <35>;
|
||||
pin-miso = <GPIO_PIN_NONE>;
|
||||
pin-sclk = <36>;
|
||||
pin-wp = <GPIO_PIN_NONE>;
|
||||
pin-hd = <GPIO_PIN_NONE>;
|
||||
max-transfer-size = <0>;
|
||||
};
|
||||
|
||||
sdcard_spi: spi1 {
|
||||
@@ -50,9 +46,6 @@
|
||||
pin-mosi = <14>;
|
||||
pin-miso = <39>;
|
||||
pin-sclk = <40>;
|
||||
pin-wp = <GPIO_PIN_NONE>;
|
||||
pin-hd = <GPIO_PIN_NONE>;
|
||||
max-transfer-size = <0>;
|
||||
};
|
||||
|
||||
// Speaker and microphone (ES8311)
|
||||
@@ -63,7 +56,6 @@
|
||||
pin-ws = <43>;
|
||||
pin-data-out = <42>;
|
||||
pin-data-in = <46>;
|
||||
pin-mclk = <GPIO_PIN_NONE>;
|
||||
};
|
||||
|
||||
uart_port_a: uart1 {
|
||||
@@ -71,7 +63,5 @@
|
||||
port = <UART_NUM_1>;
|
||||
pin-tx = <1>;
|
||||
pin-rx = <2>;
|
||||
pin-cts = <GPIO_PIN_NONE>;
|
||||
pin-rts = <GPIO_PIN_NONE>;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user