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

boards: enable tinyUSB for boards that use the highlevel_stdio feature with a single USB interface #18998

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Commits on Dec 8, 2022

  1. sys/usbus: conditional enable std_cdc_acm in Kconfig

    If `TEST_KCONFIG` is set and the board provides the `highlevel_stdio` feature, the `stdio_cdc_acm` module is enabled by default in Kconfig. This setting was previously done unconditionally either by a `.config` file of the board or the bootloader `.config` file (`boards/common/samx1d-arduino-booloader.config`, `nrf52_bootloader.confg`). Changing this approach became necessary to allow enabling other `stdio_*` modules or other USB stacks like tinyUSB for these boards.
    gschorcht committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    b362dad View commit details
    Browse the repository at this point in the history
  2. boards: remove samdx1-arduino-bootloader.config

    Default configuration is now realized in Kconfig files.
    gschorcht committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    bbe3a9c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5d52077 View commit details
    Browse the repository at this point in the history
  4. boards/stm32f429i-disco: remoce .config

    This file is not needed any longer with the conditional enable of ´stdio_cdc_acm` and `usbus_*` modules.
    gschorcht committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    cb7e2a4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2018ca0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7e5cbff View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b2c855a View commit details
    Browse the repository at this point in the history
  8. boards: enable tinyUSB feature

    Enables the `tinyusb_device` for boards with only one USB interface, where `highlevel_stdio` uses the USBUS CDC ACM interface so far. If any `tinyusb_device` class is enabled the `highlevel_stdio` uses now `stdio_tinyusb_cdc_acm` instead of the USBUS `stdio_cdc_acm`. Therefore, the `tinyusb_device` feature can be enabled now for such boards.
    gschorcht committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    b2a2e05 View commit details
    Browse the repository at this point in the history