add f746disco into f7 group

This commit is contained in:
hathach
2021-01-13 16:34:42 +07:00
parent 39d2c219b5
commit 6eba383009
11 changed files with 213 additions and 473 deletions

View File

@@ -41,11 +41,18 @@
#define UART_DEV USART3
#define UART_CLK_EN __HAL_RCC_USART3_CLK_ENABLE
#define UART_GPIO_PORT GPIOD
#define UART_GPIO_AF GPIO_AF7_USART3
#define UART_TX_PORT GPIOD
#define UART_TX_PIN GPIO_PIN_8
#define UART_RX_PORT GPIOD
#define UART_RX_PIN GPIO_PIN_9
// VBUS Sense detection
#define OTG_FS_VBUS_SENSE 1
#define OTG_HS_VBUS_SENSE 0
//--------------------------------------------------------------------+
// RCC Clock
//--------------------------------------------------------------------+