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
@@ -0,0 +1,17 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include <test_include.h>
|
||||
|
||||
/ {
|
||||
compatible = "test,root";
|
||||
model = "Test Model";
|
||||
|
||||
test_device: test-device@0 {
|
||||
compatible = "test,device";
|
||||
reg = <0>;
|
||||
status = "okay";
|
||||
boolean-prop;
|
||||
int-prop = <42>;
|
||||
string-prop = "hello";
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user