Skip to content

Add library for reset interface#2629

Open
will-v-pi wants to merge 13 commits intoraspberrypi:developfrom
will-v-pi:reset-lib
Open

Add library for reset interface#2629
will-v-pi wants to merge 13 commits intoraspberrypi:developfrom
will-v-pi:reset-lib

Conversation

@will-v-pi
Copy link
Copy Markdown
Contributor

@will-v-pi will-v-pi commented Aug 14, 2025

This separates the stdio_usb reset interface out into a separate library, which can be used by applications which use TinyUSB directly.

No change in behaviour when using the typical stdio_usb (eg in the hello_usb example).

Keeps the PICO_STDIO_USB_ prefix on the config defines to maintain compatibility, and also maintains compatibility with picotool.

Instructions to use this are added to the header file.

See implementation in debugprobe and the dev_multi_cdc example

Comment thread src/common/pico_usb_reset_interface_headers/include/pico/usb_reset_interface.h Outdated
Comment thread src/common/pico_usb_reset_interface_headers/include/pico/usb_reset_interface.h Outdated
@popcornmix
Copy link
Copy Markdown

Any reason this has stalled? I'd quite like to use this, so my project can handle reset to reconfigure in a new mode.

@mtfurlan
Copy link
Copy Markdown

mtfurlan commented Mar 3, 2026

I've been using this PR in a project for a while now, which isn't great, but it has been working.

@lurch
Copy link
Copy Markdown
Contributor

lurch commented Mar 5, 2026

Looks like this PR has conflicts which need resolving? @will-v-pi

@will-v-pi
Copy link
Copy Markdown
Contributor Author

Looks like this PR has conflicts which need resolving? @will-v-pi

I've rebased it onto develop to resolve those - this PR is awaiting review by @kilograham

@kilograham kilograham removed this from the 2.3.0 milestone Apr 15, 2026
@kilograham kilograham added this to the 2.2.1 milestone Apr 15, 2026
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.

5 participants