diff options
Diffstat (limited to 'os/hal/boards')
-rw-r--r-- | os/hal/boards/ST_STM32F746G_DISCOVERY/board.h | 5 | ||||
-rw-r--r-- | os/hal/boards/ST_STM32F746G_DISCOVERY/cfg/board.chcfg | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/os/hal/boards/ST_STM32F746G_DISCOVERY/board.h b/os/hal/boards/ST_STM32F746G_DISCOVERY/board.h index 2c12c03fb..eb6626990 100644 --- a/os/hal/boards/ST_STM32F746G_DISCOVERY/board.h +++ b/os/hal/boards/ST_STM32F746G_DISCOVERY/board.h @@ -34,6 +34,11 @@ #define BOARD_PHY_RMII
/*
+ * The board has an ULPI USB PHY.
+ */
+#define BOARD_OTG2_USES_ULPI
+
+/*
* Board oscillators-related settings.
*/
#if !defined(STM32_LSECLK)
diff --git a/os/hal/boards/ST_STM32F746G_DISCOVERY/cfg/board.chcfg b/os/hal/boards/ST_STM32F746G_DISCOVERY/cfg/board.chcfg index 47e8fba50..bafb46214 100644 --- a/os/hal/boards/ST_STM32F746G_DISCOVERY/cfg/board.chcfg +++ b/os/hal/boards/ST_STM32F746G_DISCOVERY/cfg/board.chcfg @@ -16,6 +16,9 @@ <identifier>MII_LAN8742A_ID</identifier>
<bus_type>RMII</bus_type>
</ethernet_phy>
+ <usb_phy>
+ <bus_type>ULPI</bus_type>
+ </usb_phy>
<subtype>STM32F746xx</subtype>
<clocks
HSEFrequency="25000000"
|