Skip to content

Statically initialised RawSerial objects in greentea and utest causes Rxirq handler to be lost #2454

@LiyouZhou

Description

@LiyouZhou

RawSerial utest_serial(USBTX, USBRX);

RawSerial greentea_serial(USBTX, USBRX);

These initialisation compete with user define serial objects. Whichever is initialised last get associated with the hardware serial interrupt.

Hence when I register serial interrupt with the user declared serial object, it only works some of the time.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions