Skip to content

Commit e56d429

Browse files
committed
USB STM32: fix header inclusion, removing mbed.h'
Fixes #13667 issue
1 parent 05babec commit e56d429

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

targets/TARGET_STM/USBPhyHw.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@
1818
#ifndef USBPHYHW_H
1919
#define USBPHYHW_H
2020

21-
#include "mbed.h"
21+
#include <string.h>
22+
23+
#include "platform/mbed_toolchain.h"
24+
#include "platform/mbed_error.h"
25+
#include "platform/mbed_assert.h"
26+
#include "platform/mbed_wait_api.h"
27+
#include "platform/mbed_power_mgmt.h"
2228
#include "USBPhy.h"
2329
#include "PeripheralPins.h"
2430

0 commit comments

Comments
 (0)