Merge pull request #2979 from hierophect/stm32-remove-crystals
STM32: Set correct crystal settings on Discovery boards
This commit is contained in:
commit
dd2cd6f002
@ -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)
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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)
|
||||||
|
@ -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)
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user