Skip to content

Is it possible to use cdc monitoring when using no_std? #957

@DavyLandman

Description

@DavyLandman

I have a few s2 and c3 mini's laying around, and want to try and use the new esp-rs tooling to program it.

They don't have all the pins exposed, but with esp-idf that has never been a problem since you can debug/log via de cdc uart.

I've been trying to get it to work for a small hello-world example (generated by esp-generate) but after flashing & rebooting it doesn't connect back as a serial device.

I've seen some issues that discuss this, and the general advice is to define a custom sdkconfig.defaults, but that doesn't fly in no_std environment, as it's really disconnected from esp-idf.

(note I already had to pass --no-stub to the espflash)

Is there a way to work with these chips and get serial prints over the usb cdc?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions