Merge pull request #2979 from hierophect/stm32-remove-crystals

STM32: Set correct crystal settings on Discovery boards
This commit is contained in:
Scott Shawcroft 2020-06-01 15:21:39 -07:00 committed by GitHub
commit dd2cd6f002
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 5 deletions

View File

@ -34,6 +34,7 @@
#define FLASH_PAGE_SIZE (0x4000) #define FLASH_PAGE_SIZE (0x4000)
#define BOARD_OSC_DIV (8) #define BOARD_OSC_DIV (8)
#define BOARD_HAS_LOW_SPEED_CRYSTAL (0) // TODO: enable this once LSE is fixed for H7/F7
#define DEBUG_UART_TX (&pin_PD08) #define DEBUG_UART_TX (&pin_PD08)
#define DEBUG_UART_RX (&pin_PD09) #define DEBUG_UART_RX (&pin_PD09)

View File

@ -33,4 +33,4 @@
#define FLASH_PAGE_SIZE (0x4000) #define FLASH_PAGE_SIZE (0x4000)
#define BOARD_OSC_DIV (8) #define BOARD_OSC_DIV (8)
#define BOARD_HAS_LOW_SPEED_CRYSTAL (0) #define BOARD_HAS_LOW_SPEED_CRYSTAL (0) // TODO: enable this once LSE is fixed for H7/F7

View File

@ -32,4 +32,4 @@
#define FLASH_PAGE_SIZE (0x4000) #define FLASH_PAGE_SIZE (0x4000)
#define BOARD_OSC_DIV (8) #define BOARD_OSC_DIV (8)
#define BOARD_HAS_LOW_SPEED_CRYSTAL (0) #define BOARD_HAS_LOW_SPEED_CRYSTAL (0) // TODO: enable this once LSE is fixed for H7/F7

View File

@ -33,7 +33,6 @@
#define FLASH_PAGE_SIZE (0x4000) #define FLASH_PAGE_SIZE (0x4000)
#define BOARD_OSC_DIV (8) #define BOARD_OSC_DIV (8)
#define BOARD_HAS_LOW_SPEED_CRYSTAL (1) #define BOARD_HAS_LOW_SPEED_CRYSTAL (1)
#define DEFAULT_I2C_BUS_SCL (&pin_PB10) #define DEFAULT_I2C_BUS_SCL (&pin_PB10)

View File

@ -33,5 +33,4 @@
#define FLASH_PAGE_SIZE (0x4000) #define FLASH_PAGE_SIZE (0x4000)
#define BOARD_OSC_DIV (8) #define BOARD_OSC_DIV (8)
#define BOARD_HAS_LOW_SPEED_CRYSTAL (0)
#define BOARD_HAS_LOW_SPEED_CRYSTAL (1)

View File

@ -39,5 +39,7 @@
#define BOARD_OSC_PLLN (400) #define BOARD_OSC_PLLN (400)
#define BOARD_OSC_PLLQ (9) #define BOARD_OSC_PLLQ (9)
#define BOARD_HAS_LOW_SPEED_CRYSTAL (0) // TODO: enable this once LSE is fixed for H7/F7
#define BOARD_FLASH_LATENCY FLASH_LATENCY_6 #define BOARD_FLASH_LATENCY FLASH_LATENCY_6
#define BOARD_NO_VBUS_SENSE 1 #define BOARD_NO_VBUS_SENSE 1