diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2015-09-04 07:31:59 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2015-09-04 07:31:59 +0000 |
commit | fc3f6b32fcbfda905ed747126bd79cb15d1c188e (patch) | |
tree | f104f1c660d017fd0d90cf25dfa70f781101d93b | |
parent | f6c67102beda3747a33ed818b71f7ec7e24d1be0 (diff) | |
download | ChibiOS-fc3f6b32fcbfda905ed747126bd79cb15d1c188e.tar.gz ChibiOS-fc3f6b32fcbfda905ed747126bd79cb15d1c188e.tar.bz2 ChibiOS-fc3f6b32fcbfda905ed747126bd79cb15d1c188e.zip |
Added ULPI tag in board files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8272 35acf78f-673a-0410-8e92-d51de3d6d3f4
-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"
|