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

Add new feature defines to pico_stdio_usb #2296

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

mbrase
Copy link

@mbrase mbrase commented Feb 18, 2025

This change adds the following to pico_stdio_usb:

  • PICO_STDIO_USB_ENABLE_IRQ_BACKGROUND_TASK
  • PICO_STDIO_USB_ENABLE_TINYUSB_INIT
  • PICO_STDIO_USB_USE_DEFAULT_DESCRIPTORS

These defines replace some ifdefs that were previously gated by the LIB_TINYUSB_DEVICE define and will allow finer grained control. All of these defines default to 1 if LIB_TINYUSB_DEVICE is not defined and 0 if LIB_TINYUSB_DEVICE is defined, which should preserve the old behavior.

@kilograham kilograham added this to the 2.1.2 milestone Feb 18, 2025
@mbrase mbrase force-pushed the pico-shared-usb2 branch from e8e4949 to 0217fde Compare March 4, 2025 00:17
This change adds the following to pico_stdio_usb:
- `PICO_STDIO_USB_ENABLE_IRQ_BACKGROUND_TASK`
- `PICO_STDIO_USB_ENABLE_TINYUSB_INIT`
- `PICO_STDIO_USB_USE_DEFAULT_DESCRIPTORS`

These defines replace some ifdefs that were previously gated by the
`LIB_TINYUSB_DEVICE` define and will allow finer grained control.
All of these defines default to 1 if LIB_TINYUSB_DEVICE is not defined
and 0 if LIB_TINYUSB_DEVICE is defined, which should preserve the
old behavior.
@mbrase mbrase force-pushed the pico-shared-usb2 branch from 0217fde to f4369ad Compare March 4, 2025 17:11
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.

4 participants