Skip to content

Conversation

@soburi
Copy link
Member

@soburi soburi commented Oct 18, 2024

Chocolatey distributes OpenOCD, which we can use in Windows environments. Using this, we can include the installation of OpenOCD to the GSG procedure also on Windows.
The GSG procedure has included installing OpenOCD on Linux/macOS so that we can align things on a level with this.

I added "openocd" to the choco install command-line and fit related descriptions.

@soburi soburi force-pushed the install_openocd_with_choco branch 2 times, most recently from 45a9691 to a743ef0 Compare October 18, 2024 23:16
@soburi soburi marked this pull request as ready for review October 18, 2024 23:39
Copy link
Contributor

Choose a reason for hiding this comment

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

Chocolatey appears to follow OpenOCD release schedule, which is not ideal to say the least (last one was in 03/2023), whereas gnutoolchains provides more up-to-date builds (20240916). So I think this should be kept.

Copy link
Contributor

Choose a reason for hiding this comment

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

Zephyr used to ship OpenOCD in the SDK on Windows (as it is the case on Linux), I don't know why it's no longer the case.

Copy link
Member

Choose a reason for hiding this comment

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

Zephyr used to ship OpenOCD in the SDK on Windows (as it is the case on Linux), I don't know why it's no longer the case.

Host tools were never part of the Windows Zephyr SDK distribution.

We eventually plan to provide the host tools, including OpenOCD, on Windows and macOS; but, that likely will not be anytime soon (mainly because it is not a high priority item).

Copy link
Member Author

Choose a reason for hiding this comment

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

Thank you for reviewing.
I restored this line.

Copy link
Contributor

Choose a reason for hiding this comment

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

@soburi still deleted.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think it should be kept as an alternative to Chocolatey for people who want the latest build.
Also, from my experience, Chocolatey is a pain to use on corporate PCs bcz of firewalls/proxy...

Chocolatey distributes OpenOCD, which we can use in Windows environments.
Using this, we can include the installation of OpenOCD to the GSG
procedure also on Windows.
The GSG procedure has included installing OpenOCD on Linux/macOS so that
we can align things on a level with this.

I added "openocd" to the `choco install` command-line and fit related
descriptions.

Signed-off-by: TOKITA Hiroshi <[email protected]>
@soburi soburi force-pushed the install_openocd_with_choco branch from a743ef0 to e624a3d Compare October 20, 2024 22:36
@github-actions
Copy link

This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.

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.

6 participants