mirror of https://github.com/ARMmbed/mbed-os.git
Remove include dependency on `USBDevice_Types.h`
mbed-usb (which provides `USBDevice_Types.h`) is a higher-level USB library in Mbed-OS that sits on top of the HAL. Targets should not implement the HAL and use higher-level libraries, hence, the dependency should be removed. This dependency also causes errors when building with the bare-metal profile.pull/14561/head
parent
961ec0ce7f
commit
9125c51e6c
|
@ -25,7 +25,6 @@ extern "C"
|
|||
}
|
||||
#include "USBPhyHw.h"
|
||||
#include "rza_io_regrw.h"
|
||||
#include "USBDevice_Types.h"
|
||||
#include "USBEndpoints_RZ_A1.h"
|
||||
#include "USBPhy_RZ_A1_Def.h"
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ extern "C"
|
|||
#include "iodefine.h"
|
||||
}
|
||||
#include "USBPhyHw.h"
|
||||
#include "USBDevice_Types.h"
|
||||
#include "USBEndpoints_RZ_A2.h"
|
||||
#include "USBPhy_RZ_A2_Def.h"
|
||||
#include "pinmap.h"
|
||||
|
|
Loading…
Reference in New Issue