Skip to content

STM32 usb: includes mbed.h file #13667

@0xc0170

Description

@0xc0170

Description of defect

Target implementation should not include mbed.h . I found out while working on CMake as some componetns did not build due to including what they do not even see (like USB is pulling in netsockets, etc).

Offender: https://github.com/ARMmbed/mbed-os/blob/master/targets/TARGET_STM/USBPhyHw.h#L21

@ARMmbed/team-st-mcd

Target(s) affected by this defect ?

STM32

Toolchain(s) (name and version) displaying this defect ?

Any

What version of Mbed-os are you using (tag or sha) ?

f38aa59

What version(s) of tools are you using. List all that apply (E.g. mbed-cli)

Any

How is this defect reproduced ?

The file should be updated, no need to reproduce.

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