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
+8 -1
View File
@@ -42,11 +42,18 @@
#define UART_DEV USART6
#define UART_CLK_EN __HAL_RCC_USART6_CLK_ENABLE
#define UART_GPIO_PORT GPIOG
#define UART_GPIO_AF GPIO_AF8_USART6
#define UART_TX_PORT GPIOG
#define UART_TX_PIN GPIO_PIN_9
#define UART_RX_PORT GPIOG
#define UART_RX_PIN GPIO_PIN_14
// VBUS Sense detection
#define OTG_FS_VBUS_SENSE 1
#define OTG_HS_VBUS_SENSE 0
//--------------------------------------------------------------------+
// RCC Clock
//--------------------------------------------------------------------+