Skip to content

esp-println prints to usb even when only uart feature is enabled #4510

@tommasoclini

Description

@tommasoclini

Bug description

To Reproduce

Create a new project for esp32s3(I don't know if other socs are affected).
Add esp-println like this:

esp-println = { version = "0.16.1", default-features = false, features = [
  "critical-section",
  "esp32s3",
  "uart",
] }

Write a program that prints something, upload it, connect via USB, open the monitor with espflash monitor.
The text get printed to usb, which should not happen as only the uart feature is enabled.

Expected behavior

No output coming from usb.

Environment

  • Target device: esp32-s3
  • Crate name and version: esp-hal 1.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions