Closed popy2k14 closed 3 months ago
We will now respect PICO_STDIO_USB_ENABLE_RESET_VIA_BAUD_RATE=1 if you set it when using TinyUSB yourself (it won't default to 1 like it does when you aren't using TinyUSB)
@kilograham thx for comming back to this and fixing it.
This should work fine with SDK 2.0.0
As the title says and discussed here: https://github.com/raspberrypi/pico-sdk/issues/838#issuecomment-1325602575
Please do not exclude function tud_cdc_line_coding_cb() from file /rp2_common/pico_stdio_usb)/reset_interface.c The function is very helpful to bring the pi into BOOTSEL mode when TinyUSB is used. A better approach would be to include it always and make an define to exclude it, when not needed.
As a workaround, i have just copied, adapted and inserted the function into my project, like this