mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
boards/telosb: adjusted to UART changes
This commit is contained in:
parent
bfdc3e2f95
commit
c62f39aa54
@ -1,6 +1,7 @@
|
||||
# Put defined MCU peripherals here (in alphabetical order)
|
||||
FEATURES_PROVIDED += periph_gpio
|
||||
FEATURES_PROVIDED += periph_timer
|
||||
FEATURES_PROVIDED += periph_uart
|
||||
|
||||
# Various other features (if any)
|
||||
|
||||
|
||||
@ -53,7 +53,7 @@ extern "C" {
|
||||
#define UART_NUMOF (1U)
|
||||
#define UART_0_EN (1U)
|
||||
|
||||
#define UART_DEV (USART_1)
|
||||
#define UART_BASE (USART_1)
|
||||
#define UART_IE (SFR->IE2)
|
||||
#define UART_IF (SFR->IFG2)
|
||||
#define UART_IE_RX_BIT (1 << 4)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user