-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
runners: jlink: win32: search for valid JLink.exe
#83562
base: main
Are you sure you want to change the base?
Conversation
966c1c2
to
eccefa3
Compare
eccefa3
to
2eab62b
Compare
Hello Jordan, That is created when selecting "update existing installation" instead "create new instance" during installation proccess. Thanks, Adib. |
... and maybe add the USERs Program folder in the case the user has selected "for this user only" |
27d7a33
2eab62b
to
27d7a33
Compare
Since "JLink.exe" is also an executable distributed with JDK's, do an explicit search on the standard SEGGER install directories for a JTAG "JLink.exe" before falling back to whatever is first on PATH. Fixes zephyrproject-rtos#51825. Signed-off-by: Jordan Yates <[email protected]>
27d7a33
to
f703bf5
Compare
If the |
Is that an environment variable set by the JLink install tools? |
No, perhaps this is a habit shared by some users, like myself, or others who have the same habit. Maybe I should ask the author for their thoughts on this. |
IMO if people are not installing it in one of the 3 standard locations, it is not unreasonable to require them to either setup |
That's what I want to say, I don't like to install software on C: disk. |
Since "JLink.exe" is also an executable distributed with JDK's, do an explicit search on the standard SEGGER install directories for a JTAG "JLink.exe" before falling back to whatever is first on PATH.
Fixes #51825.