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

kl27z: Increase DAP_PACKET_COUNT to 8. #1098

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

microbit-carlos
Copy link
Contributor

@microbit-carlos microbit-carlos commented Feb 14, 2025

This is to match the same DAP queue length for micro:bit V2.00, to the same length as configured in V2.2x.

/// Maximum Package Buffers for Command and Response data.
/// This configuration settings is used to optimize the communication performance with the
/// debugger and depends on the USB peripheral. For devices with limited RAM or USB buffer the
/// setting can be reduced (valid range is 1 .. 255).
#define DAP_PACKET_COUNT 8U ///< Specifies number of packets buffered.

This might not be needed in the end, so leaving as a draft PR first. I'm looking into speeding up WebUSB flashing, and having a longer DAP queue seems to help, although maybe not by that much.

This is to match the same DAP queue length for micro:bit V2.00,
to the same length as configured in V2.2x.
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.

1 participant