diff --git a/boards/common/stm32/include/cfg_usb_otg_hs_fs.h b/boards/common/stm32/include/cfg_usb_otg_hs_phy_fs.h similarity index 80% rename from boards/common/stm32/include/cfg_usb_otg_hs_fs.h rename to boards/common/stm32/include/cfg_usb_otg_hs_phy_fs.h index c861f5e466..aa3e77cfeb 100644 --- a/boards/common/stm32/include/cfg_usb_otg_hs_fs.h +++ b/boards/common/stm32/include/cfg_usb_otg_hs_phy_fs.h @@ -11,13 +11,17 @@ * @{ * * @file - * @brief Common configuration for STM32 OTG HS peripheral with FS phy + * @brief Common configuration for STM32 OTG HS peripheral with on-chip FS PHY + * + * All STM32 boards which use the on-chip FS PHY for the USB OTG HS peripheral + * use the same configuration. Therefore a common configuration file can be + * used for these boards. * * @author Koen Zandberg */ -#ifndef CFG_USB_OTG_HS_FS_H -#define CFG_USB_OTG_HS_FS_H +#ifndef CFG_USB_OTG_HS_PHY_FS_H +#define CFG_USB_OTG_HS_PHY_FS_H #include "periph_cpu.h" #include "usbdev_synopsys_dwc2.h" @@ -57,5 +61,5 @@ static const dwc2_usb_otg_fshs_config_t dwc2_usb_otg_fshs_config[] = { } #endif -#endif /* CFG_USB_OTG_HS_FS_H */ +#endif /* CFG_USB_OTG_HS_PHY_FS_H */ /** @} */ diff --git a/boards/stm32f429i-disc1/include/periph_conf.h b/boards/stm32f429i-disc1/include/periph_conf.h index 0e40a84a47..24cb9581e7 100644 --- a/boards/stm32f429i-disc1/include/periph_conf.h +++ b/boards/stm32f429i-disc1/include/periph_conf.h @@ -32,7 +32,7 @@ #include "periph_cpu.h" #include "clk_conf.h" #include "cfg_timer_tim5.h" -#include "cfg_usb_otg_hs_fs.h" +#include "cfg_usb_otg_hs_phy_fs.h" #ifdef __cplusplus extern "C" {