Skip to content

doc: Harmonize linux sdk install docs + add udev rules guide to other linux distro guide #89896

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aaillet
Copy link
Member

@aaillet aaillet commented May 13, 2025

While following the "install linux host dependencies" guide to install Zephyr and it's dependencies on a fresh Fedora 41 install, when I first tried flashing a firmware on a board, I realized that the part of the guide concerning the installation of the udev rule was missing.
I think that it could be a bit harsh for a new user to find out what's the problem.

As a regular Zephyr user, I'm not using the west sdk install command but it could also be a way to rework this doc to use it instead (if it include the udev rule installation commands) if the solution i proposed is not following the current documentation spirit.

Harmonize the sdk install part of the "install linux host dependencies" with the common sdk installation guide under develop/toolchains/zephyr_sdk.html.

  • Add udev rules installation guide
  • Relocate some notes

Harmonize the sdk install part of the "install linux
host dependencies" with the common sdk installation guide
under develop/toolchains/zephyr_sdk.html.

- Add udev rules installation guide
- Relocate some notes

Signed-off-by: Aymeric Aillet <[email protected]>
@aaillet aaillet requested review from kartben and fabiobaltieri May 13, 2025 14:44
@aaillet aaillet changed the title doc: Harmonize linux sdk install docs doc: Harmonize linux sdk install docs + add udev rules guide to other linux distro guide May 13, 2025
@github-actions github-actions bot requested review from carlescufi and nashif May 13, 2025 14:45
Copy link

Copy link
Collaborator

@kartben kartben left a comment

Choose a reason for hiding this comment

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

Harmonize the sdk install part of the "install linux host dependencies" with the common sdk installation guide under develop/toolchains/zephyr_sdk.html.

"Harmonize" as-in "copy-paste" (not blaming you at all! you just followed what was already there) :| Not sure why I never realized we had duplicated content before.

The "Install the Zephyr Software Development Kit (SDK)" section should really just send the reader to https://docs.zephyrproject.org/latest/develop/toolchains/zephyr_sdk.html#zephyr-sdk-installation -- no ?

@aaillet
Copy link
Member Author

aaillet commented May 15, 2025

@kartben

Harmonize the sdk install part of the "install linux host dependencies" with the common sdk installation guide under develop/toolchains/zephyr_sdk.html.

"Harmonize" as-in "copy-paste" (not blaming you at all! you just followed what was already there) :| Not sure why I never realized we had duplicated content before.

Yep, exactly 😄
I figured that if we're going to have duplicate text in the documentation, it might as well be exactly the same, to simplify maintenance.

The "Install the Zephyr Software Development Kit (SDK)" section should really just send the reader to https://docs.zephyrproject.org/latest/develop/toolchains/zephyr_sdk.html#zephyr-sdk-installation -- no ?

It would indeed solve the lack of information and simplify maintenance, but do we want links between docs in this kind of guide? This could spoil the user experience.

I say this because, to simplify maintenance even further, we could also link to this page in the main “getting started” section when talking about SDK installation, but I don't think that's advisable.

@aaillet
Copy link
Member Author

aaillet commented May 20, 2025

So, from your POV @kartben, should I move sdk installation guide for all operating systems (Ubuntu,macOS,Windows,Fedora,Clear Linux,Arch Linux) to https://docs.zephyrproject.org/latest/develop/toolchains/zephyr_sdk.html#zephyr-sdk-installation and just put a link to it here https://docs.zephyrproject.org/latest/develop/getting_started/installation_linux.html#install-the-zephyr-software-development-kit-sdk ?

We may keep the current "base" sdk installation guide in the getting started guide or make it a link too later

Thanks for your answers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants