Skip to content
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

Introduce feature to disable blocking mode #915

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mdrssv
Copy link

@mdrssv mdrssv commented Dec 16, 2024

Hi,

I've added the feature disable-blocking-mode which prevents the host from putting rtt into blocking mode, by which I've got bitten a couple of times because I tend to just unplug my devices. However with blocking mode they will just hang once the buffer is full. Since I do not log too much blocking is not of great benefit to me whereas not having the mcu hang is.

@mdrssv mdrssv force-pushed the force-non-blocking branch from 593ec6a to bb1b1ce Compare December 16, 2024 16:01
Copy link
Member

@Urhengulas Urhengulas left a comment

Choose a reason for hiding this comment

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

Looks generally good to me. But I want @jonathanpallant to have a look before merging to ensure it does not interfere with defmt 1.0.

firmware/defmt-rtt/src/channel.rs Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants