add f746disco into f7 group
This commit is contained in:
@@ -41,11 +41,18 @@
|
||||
|
||||
#define UART_DEV USART6
|
||||
#define UART_CLK_EN __HAL_RCC_USART6_CLK_ENABLE
|
||||
#define UART_GPIO_PORT GPIOC
|
||||
#define UART_GPIO_AF GPIO_AF8_USART6
|
||||
|
||||
#define UART_TX_PORT GPIOC
|
||||
#define UART_TX_PIN GPIO_PIN_6
|
||||
|
||||
#define UART_RX_PORT GPIOC
|
||||
#define UART_RX_PIN GPIO_PIN_7
|
||||
|
||||
// VBUS Sense detection
|
||||
#define OTG_FS_VBUS_SENSE 1
|
||||
#define OTG_HS_VBUS_SENSE 0
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
// RCC Clock
|
||||
//--------------------------------------------------------------------+
|
||||
|
||||
Reference in New Issue
Block a user