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

[jlink] add build option RTT_BUFFER_SIZE to set the RTT buffer size #938

Merged

Conversation

zhanglongxia
Copy link
Contributor

When debugging OT via the RTT, OT output logs are often truncated because the RTT buffer size is too small. This commit adds the build option RTT_BUFFER_SIZE to easily change the RTT buffer size.

When debugging OT via the RTT, OT output logs are often truncated
because the RTT buffer size is too small. This commit adds the
build option RTT_BUFFER_SIZE to easily change the RTT buffer size.
@zhanglongxia zhanglongxia added the enhancement New feature or request label Nov 20, 2024
@zhanglongxia zhanglongxia requested review from edmont and jwhui November 20, 2024 08:44
Copy link
Member

@edmont edmont left a comment

Choose a reason for hiding this comment

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

Thanks. What's the buffer size you found suitable?

@zhanglongxia
Copy link
Contributor Author

Thanks. What's the buffer size you found suitable?

Generally, if the chip have enough RAM, I would set it to 2048.

@jwhui jwhui merged commit 13bbffb into openthread:main Nov 20, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants