Skip to content

[SUGGESTION] add the possibility to detect if the board is connected as mass storage or just usb powered #186

@mindforger

Description

@mindforger

like the title says, it would help to have a way to detect if the device is connected only on an usb power source or actually is accessed as a mass storage device

this way i could write myself a boot.py that could wait around 5seconds before actually calling my main.py
if the device is connected as mass storage, i would prevent causing damage to the internal writing system but if the device is not connected as mass storage i would disable the mass storage interace after 5 seconds and allow self writing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions