Skip to content

dist/tools/jlink: fix DBG_PID assignment#19960

Merged
bors[bot] merged 1 commit intoRIOT-OS:masterfrom
LP-HAW:fix-jlink-debug-pid
Sep 29, 2023
Merged

dist/tools/jlink: fix DBG_PID assignment#19960
bors[bot] merged 1 commit intoRIOT-OS:masterfrom
LP-HAW:fix-jlink-debug-pid

Conversation

@LP-HAW
Copy link
Copy Markdown
Contributor

@LP-HAW LP-HAW commented Sep 29, 2023

Contribution description

I have noticed that when debugging the "hifive1b" board, JLinkGDBServer is still running after exiting GDB.
After investigating the issue, it appears to be just a minor confusion of $? and $!.

Testing procedure

$ BOARD=hifive1b make -C examples/hello-world all flash debug
$ ps aux | grep JLink

Issues/PRs references

None

@github-actions github-actions bot added the Area: tools Area: Supplementary tools label Sep 29, 2023
@benpicco benpicco added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR CI: skip compile test If set, CI server will run only non-compile jobs, but no compile jobs or their dependent jobs labels Sep 29, 2023
Copy link
Copy Markdown
Contributor

@benpicco benpicco left a comment

Choose a reason for hiding this comment

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

Thank you for the fix!

@miri64 miri64 added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Sep 29, 2023
@benpicco benpicco added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Sep 29, 2023
@riot-ci
Copy link
Copy Markdown

riot-ci commented Sep 29, 2023

Murdock results

✔️ PASSED

25013f8 dist/tools/jlink: fix DBG_PID assignment

Success Failures Total Runtime
1 0 1 01m:05s

Artifacts

@benpicco
Copy link
Copy Markdown
Contributor

bors merge

bors bot added a commit that referenced this pull request Sep 29, 2023
19959: pkg/driver_cryptocell_310: Fix Makefile r=benpicco a=mguetschow


### Contribution description

- make sure to download/extract during prepare, instead of build
- this fixes the issue of missing include dependencies for other pkgs at build time

### Testing procedure

- for an app Makefile, include both `c25519` and `driver_cryptocell_310`
- on `master`, `make all` fails with a missing include path from the `driver_cryptocell_310` package
- with this change, it works


### Issues/PRs references

- isolated from #19954 as suggested by `@miri64` 

19960: dist/tools/jlink: fix DBG_PID assignment r=benpicco a=LP-HAW



19961: ztimer_periodic: fix example in documentation r=benpicco a=benpicco



Co-authored-by: Mikolai Gütschow <[email protected]>
Co-authored-by: LP-HAW <[email protected]>
Co-authored-by: Benjamin Valentin <[email protected]>
@bors
Copy link
Copy Markdown
Contributor

bors bot commented Sep 29, 2023

Build failed (retrying...):

@bors
Copy link
Copy Markdown
Contributor

bors bot commented Sep 29, 2023

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot merged commit 944b3f0 into RIOT-OS:master Sep 29, 2023
@MrKevinWeiss MrKevinWeiss added this to the Release 2023.10 milestone Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: tools Area: Supplementary tools CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR CI: skip compile test If set, CI server will run only non-compile jobs, but no compile jobs or their dependent jobs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants