Skip to content

Commit 9125c51

Browse files
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.
1 parent 961ec0c commit 9125c51

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

targets/TARGET_RENESAS/TARGET_RZ_A1XX/USBPhy_RZ_A1.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ extern "C"
2525
}
2626
#include "USBPhyHw.h"
2727
#include "rza_io_regrw.h"
28-
#include "USBDevice_Types.h"
2928
#include "USBEndpoints_RZ_A1.h"
3029
#include "USBPhy_RZ_A1_Def.h"
3130

targets/TARGET_RENESAS/TARGET_RZ_A2XX/USBPhy_RZ_A2.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ extern "C"
2424
#include "iodefine.h"
2525
}
2626
#include "USBPhyHw.h"
27-
#include "USBDevice_Types.h"
2827
#include "USBEndpoints_RZ_A2.h"
2928
#include "USBPhy_RZ_A2_Def.h"
3029
#include "pinmap.h"

0 commit comments

Comments
 (0)