From fc3f6b32fcbfda905ed747126bd79cb15d1c188e Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 4 Sep 2015 07:31:59 +0000 Subject: Added ULPI tag in board files. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8272 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/boards/ST_STM32F746G_DISCOVERY/board.h | 5 +++++ os/hal/boards/ST_STM32F746G_DISCOVERY/cfg/board.chcfg | 3 +++ 2 files changed, 8 insertions(+) (limited to 'os') 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 @@ -33,6 +33,11 @@ #define BOARD_PHY_ID MII_LAN8742A_ID #define BOARD_PHY_RMII +/* + * The board has an ULPI USB PHY. + */ +#define BOARD_OTG2_USES_ULPI + /* * Board oscillators-related settings. */ 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 @@ MII_LAN8742A_ID RMII + + ULPI + STM32F746xx