Allow use of pico_stdio_usb with explicit TinyUSB use #838
Labels
No labels
bazel
bluetooth
board settings
boot_stage2
bug
build
c++
can't reproduce
clang
clib-interface
cmsis
code cleanliness
code size
compiler version issues
cyw43_driver
debug
discussion
documentation
duplicate
dynamic_clock
elf2uf2
enhancement
errata
filesystem
flash layout
floating point
FreeRTOS
hardware_adc
hardware_claim
hardware_clocks
hardware_dma
hardware_exception
hardware_flash
hardware_gpio
hardware_i2c
hardware_irq
hardware_pio
hardware_pwm
hardware_rcp
hardware_rtc
hardware_spi
hardware_sync
hardware_uart
hardware_vreg
hardware_watchdog
hardware_xosc
help wanted
host
IAR
installation
invalid
linker scripts
lto
lwip
mbedtls
missing API
needs reporter detail
networking
newlib
newlib-multicore
non-c
non-cmake
non-gcc
openocd
orphan PR
OS integration
pico_async_context
pico_base
pico_binary_info
pico_flash
picolibc
pico_lwip
pico_malloc
pico_multicore
pico_printf
pico_runtime
pico_stdio
pico_stdio_usb
pico_sync
pico_time
pico_util
pioasm
port
question
review
review2
rtos interop
runtime init
static library
svd
test
tinyusb
vscode
wifi integration
wontfix
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-raspberrypi/pico-sdk#838
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently pico_stdio_usb requires that the user not be using tinyusb, as it exposes its own USB descriptor(s) and runs its own polling loop.
The majority of pico_stdio_usb would be fine if the user has defined their own CDC device and it would probably be useful to allow that.
Just out of curiosity, would that interfere with the picotool-reset-over-CDC mechanism?
It wouldn't interfere with the reset over CDC mechanism, but that is not what picotool uses. It uses a separate interface, which the user would have to add separately (so the short answer is probably yes)
The CDC mechanism is to set the baud rate, however using that from the host requires you to know how to translate a USB id into a higher level comms device you can talk to which is non-trivial and different on all platforms. The reason for this is that libusb is not able to talk to the USB directly once claimed by said comms device.
Right, that's what I was thinking of, I guess my mention of CDC must have been a mis-remembering.
merged into develop
Hey guys,
Running tiny USB in device mode as hid keyboard and pico tool doesn't work. I am using no CDC in tiny USB.
When I get it correctly, this should be possible now. Read your thread here and the commits but just don't what to configure to get CDC for pico tool with standard USB lib alongside tiny USB.
Any hints?
um CDC != picotool ... you cannot run the picotool interface alongside your app (it is a separate thing int the bootrom)
ok, sorry for mixing things up.
I thought picotool is using CDC.
So my question should be:
How to use picotool alongside tinyusb? Is this possible?
I want to flash my devices without the BOOTSEL button.
Added CDC to TinyUSB descriptors and copied and adapted the function:
Would be nice if this function from sdk reset interface does'nt get's defined out when using TinyUSB.
please open a separate issue, and it can be fixed
Done, thx