1
0
Fork 0

Westberrytech pr (#14422)

* Added support for WB32 MCU

* Modified eeprom_wb32.c

* Remove the eeprom_wb32-related code
This commit is contained in:
Joy Lee 2021-11-27 06:28:18 +08:00 committed by GitHub
parent b04f66f245
commit 68838bb700
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 1763 additions and 4 deletions

View file

@ -18,7 +18,11 @@
#include "quantum.h"
#if defined(WB32F3G71xx)
static SerialConfig serialConfig = {SERIAL_DEFAULT_BITRATE, SD1_WRDLEN, SD1_STPBIT, SD1_PARITY, SD1_ATFLCT};
#else
static SerialConfig serialConfig = {SERIAL_DEFAULT_BITRATE, SD1_CR1, SD1_CR2, SD1_CR3};
#endif
void uart_init(uint32_t baud) {
static bool is_initialised = false;