Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

korken89's J-Link fix behind a feature flag #39

Merged
merged 1 commit into from
Aug 21, 2019

Conversation

nickray
Copy link
Contributor

@nickray nickray commented Aug 20, 2019

In response to #38 I suggest picking up #35 again.

@korken89 since you observed -1, -2, -3, maybe n > 0xffff_fff0 is a good condition instead of catching just "-1"? As I understand it, worst case some very long outputs get truncated.

I did send an email to Segger support (would be good if these special cases were a finite list, and documented in UM08001), but who knows if they will answer :)

@nickray nickray requested a review from a team as a code owner August 20, 2019 23:10
@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @adamgreig (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@nickray nickray changed the title korken69's J-Link fix behind a feature flag korken89's J-Link fix behind a feature flag Aug 20, 2019
@nickray nickray force-pushed the nickray-jlink-quirks branch from fa48e58 to ef36141 Compare August 20, 2019 23:41
Copy link
Member

@adamgreig adamgreig left a comment

Choose a reason for hiding this comment

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

bors r+

bors bot added a commit that referenced this pull request Aug 21, 2019
39: korken89's J-Link fix behind a feature flag r=adamgreig a=nickray

In response to #38 I suggest picking up #35 again.

@korken89 since you observed -1, -2, -3, maybe `n > 0xffff_fff0` is a good condition instead of catching just "-1"? As I understand it, worst case some very long outputs get truncated.

I did send an email to Segger support (would be good if these special cases were a finite list, and documented in UM08001), but who knows if they will answer :)

Co-authored-by: Nicolas Stalder <[email protected]>
@bors
Copy link
Contributor

bors bot commented Aug 21, 2019

Build succeeded

@bors bors bot merged commit ef36141 into rust-embedded:master Aug 21, 2019
bors bot added a commit that referenced this pull request Aug 22, 2019
42: Add equivalent of dbg! macro r=adamgreig a=nickray

I think this would be quite useful. Thoughts?

Maybe it would be better for `dbg!` to be in core with somehow switchable implementation (semihosting, vcom, etc.), but I don't know how to approach that.

Added CHANGELOG also for the missing one for #39

Perhaps some more documentation is needed?


Co-authored-by: Nicolas Stalder <[email protected]>
bors bot added a commit that referenced this pull request Aug 22, 2019
42: Add equivalent of dbg! macro r=adamgreig a=nickray

I think this would be quite useful. Thoughts?

Maybe it would be better for `dbg!` to be in core with somehow switchable implementation (semihosting, vcom, etc.), but I don't know how to approach that.

Added CHANGELOG also for the missing one for #39

Perhaps some more documentation is needed?


Co-authored-by: Nicolas Stalder <[email protected]>
@nickray nickray deleted the nickray-jlink-quirks branch August 22, 2019 23:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants