Set correct crystal settings on Discovery boards
This commit is contained in:
parent
7ea95457ee
commit
0fe7efdf36
|
@ -34,6 +34,7 @@
|
|||
#define FLASH_PAGE_SIZE (0x4000)
|
||||
|
||||
#define BOARD_OSC_DIV (8)
|
||||
#define BOARD_HAS_LOW_SPEED_CRYSTAL (0)
|
||||
|
||||
#define DEBUG_UART_TX (&pin_PD08)
|
||||
#define DEBUG_UART_RX (&pin_PD09)
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#define FLASH_PAGE_SIZE (0x4000)
|
||||
|
||||
#define BOARD_OSC_DIV (8)
|
||||
|
||||
#define BOARD_HAS_LOW_SPEED_CRYSTAL (1)
|
||||
|
||||
#define DEFAULT_I2C_BUS_SCL (&pin_PB10)
|
||||
|
|
|
@ -33,5 +33,4 @@
|
|||
#define FLASH_PAGE_SIZE (0x4000)
|
||||
|
||||
#define BOARD_OSC_DIV (8)
|
||||
|
||||
#define BOARD_HAS_LOW_SPEED_CRYSTAL (1)
|
||||
#define BOARD_HAS_LOW_SPEED_CRYSTAL (0)
|
||||
|
|
|
@ -39,5 +39,7 @@
|
|||
#define BOARD_OSC_PLLN (400)
|
||||
#define BOARD_OSC_PLLQ (9)
|
||||
|
||||
#define BOARD_HAS_LOW_SPEED_CRYSTAL (1)
|
||||
|
||||
#define BOARD_FLASH_LATENCY FLASH_LATENCY_6
|
||||
#define BOARD_NO_VBUS_SENSE 1
|
||||
|
|
Loading…
Reference in New Issue