From e56d4298cb461a8b0efc5ef41d2111884c8c7859 Mon Sep 17 00:00:00 2001 From: Martin Kojtal Date: Wed, 30 Sep 2020 08:46:05 +0100 Subject: [PATCH] USB STM32: fix header inclusion, removing mbed.h' Fixes #13667 issue --- targets/TARGET_STM/USBPhyHw.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/targets/TARGET_STM/USBPhyHw.h b/targets/TARGET_STM/USBPhyHw.h index a7eca4adb83..6285e4afca4 100644 --- a/targets/TARGET_STM/USBPhyHw.h +++ b/targets/TARGET_STM/USBPhyHw.h @@ -18,7 +18,13 @@ #ifndef USBPHYHW_H #define USBPHYHW_H -#include "mbed.h" +#include + +#include "platform/mbed_toolchain.h" +#include "platform/mbed_error.h" +#include "platform/mbed_assert.h" +#include "platform/mbed_wait_api.h" +#include "platform/mbed_power_mgmt.h" #include "USBPhy.h" #include "PeripheralPins.h"