mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 14:03:55 +01:00
Merge pull request #2086 from mehlis/spark-core-fix-uart-freq
spark-core fix UART speed
This commit is contained in:
commit
62d53f91b4
@ -88,7 +88,7 @@
|
||||
#define UART_0_CLKEN() (RCC->APB1ENR |= RCC_APB1ENR_USART2EN)
|
||||
#define UART_0_IRQ USART2_IRQn
|
||||
#define UART_0_ISR isr_usart2
|
||||
#define UART_0_BUS_FREQ (72000000/4)
|
||||
#define UART_0_BUS_FREQ (CLOCK_CORECLOCK/2)
|
||||
/* UART 0 pin configuration */
|
||||
#define UART_0_PORT GPIOA
|
||||
#define UART_0_PORT_CLKEN() (RCC->APB2ENR |= RCC_APB2ENR_IOPAEN)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user