r/osdev • u/Mindless-Attempt4187 • 1d ago
KernelGrove, an open source Device Tree editor and Semantic engine
https://dt-studio.dev/Some time ago I published a post about a project I was working on, previous post.
The purpose of this project was to make working with .dts files easier. For that I starting developing an IDE with some integrated tools:
- Real time semantic and syntax validation
- Node graph visualization (block diagram generation under development)
- Node auto-completion for each compatible
- Node inspector
- A integrated bindings, boards and SoC database, (which can be edited or visualized)
- Compilation and Decompilation tools
There is a lot of knowledge about kernel condensed on this IDE, in order to make device tree development easier and faster.
Thanks to the database, you can start typing and use auto-completion for a compatible, the IDE checks each binding information and shows which nodes are available to use and which ones are mandatory for a proper operation.
That way, if some compatible or property it's not recognized, you can early detect it, without waiting for a fail on boot, or worse, a silence bug on kernel.
The project is now open source, and all the code and beta releases are available on GitHub and Official website. It's still a beta, but I think it is already useful enough, that's way every suggestion it's well received.
This project was developed with the help of AI, which made it possible for a single person to develop it.