Skip to content

automatic stack sizes are broken when using USB serial #5153

@niaow

Description

@niaow

The panic implementation calls into the serial interface to print the panic message.
The USB serial implementation has unproven bounds and nil checks, so it can panic.
This can potentially recurse, so the automatic stack size detection is blocked for any function which could theoretically panic (including the code to initialize the serial interface).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions