Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

content: publish practical zephyr device tree #425

Merged
merged 4 commits into from
Feb 1, 2024

Conversation

bahildebrand
Copy link
Member

No description provided.

@bahildebrand
Copy link
Member Author

@lmapii I made some grammar edits. Let me know what you think


In contrast to _Kconfig_, the *Devicetree* syntax and its use are a bit more intricate. Therefore, we'll cover *Devicetree* in two articles: In this article, we'll see what a Devicetree is and how we can write our own Devicetree source files. In the next article, we'll look at so-called Devicetree _bindings_, which add semantics to our Devicetree. Be prepared for a fair bit of theory, but as usual, we'll use an example project to follow along.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For my own information (no pun intended): Does it really sound weird in English to write "write our own source files"? This also popped up in my Grammarly pass, but I really wanted to say that we create our "own" files that are not part of Zephyr, etc.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In most cases it is seen as redundant, but I agree in this case it adds enough flavor to warrant staying. Will re-add.


Personally, I felt the details of the [Devicetree specification](https://www.devicetree.org/specifications/) or [Zephyr's official documentation on _Devicetree_](https://docs.zephyrproject.org/latest/build/dts/index.html) a bit overwhelming, and I could hardly keep all the information in my head when reading straight through it (getting lost following links again), so in this article, I'm choosing a slightly different approach:

Instead of going into great detail about the _DTS (Devicetree Source) format_, we'll start with a simple project, build it, and dive straight into the input and output files used or generated by the build process. Based on those files, one by one, we'll try and figure out how this whole thing works. Finally, we'll also create our own nodes, but we won't fully specify the file format.
Instead of going into great detail about the _DTS (Devicetree Source) format_, we'll start with a simple project, build it, and dive straight into the input and output files used or generated by the build process. Based on those files, one by one, we'll try and figure out how this whole thing works. Finally, we'll create our own nodes, but we will need to fully specify the file format.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is a bit weird: I wanted to say that we do not fully specify the file format in this article. The change suggests otherwise, doesn't it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that wording is a bit strange now that I look at it again. Will revert.

@lmapii
Copy link
Contributor

lmapii commented Feb 1, 2024

Thanks @bahildebrand! Two minor comments and one fix for a broken link, rest looks good to me.

@gminn gminn self-requested a review February 1, 2024 15:48
Copy link
Member

@gminn gminn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@bahildebrand bahildebrand merged commit cea5942 into master Feb 1, 2024
5 checks passed
@lmapii
Copy link
Contributor

lmapii commented Feb 1, 2024

@gminn @bahildebrand something's off, the article exists twice on the blog

@bahildebrand
Copy link
Member Author

@lmapii on it now, I used cp instead of mv when changing the date 🤦

@nihalgonsalves nihalgonsalves deleted the blake/pulish-zephyr-device-tree branch February 28, 2024 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants