Skip to content

Commit 36de28e

Browse files
authored
Merge pull request #13683 from 0xc0170/fix_stm32_usb
USB STM32: fix header inclusion, removing mbed.h
2 parents b3f4d3b + e56d429 commit 36de28e

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)