SAML21: Several SERCOM fixes. No gets UART output, but at the wrong BAUD
This commit is contained in:
parent
39ded5a318
commit
9dc2a891fb
@ -306,7 +306,7 @@
|
|||||||
#define BOARD_GCLK2_CLOCK_SOURCE GCLK_GENCTRL_SRC_OSC32K
|
#define BOARD_GCLK2_CLOCK_SOURCE GCLK_GENCTRL_SRC_OSC32K
|
||||||
#define BOARD_GCLK2_PRESCALER 32
|
#define BOARD_GCLK2_PRESCALER 32
|
||||||
#undef BOARD_GCLK2_OUTPUT_ENABLE
|
#undef BOARD_GCLK2_OUTPUT_ENABLE
|
||||||
#define BOARD_GCLK2_FREQUENCY (BOARD_OSC16M_FREQUENCY / BOARD_GCLK2_PRESCALER)
|
#define BOARD_GCLK2_FREQUENCY (BOARD_OSC32K_FREQUENCY / BOARD_GCLK2_PRESCALER)
|
||||||
|
|
||||||
/* Configure GCLK generator 3 */
|
/* Configure GCLK generator 3 */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user