Set correct crystal settings on Discovery boards

This commit is contained in:
Lucian Copeland 2020-05-29 14:01:34 -04:00
parent 7ea95457ee
commit 0fe7efdf36
4 changed files with 4 additions and 3 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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