Skip to content

Commit bd2fc26

Browse files
author
Jenny Plunkett
authored
Merge pull request ARMmbed#11 from yennster/uart-new
Serial_init progress and UART objects
2 parents 3067133 + b21f2be commit bd2fc26

File tree

4 files changed

+160
-452
lines changed

4 files changed

+160
-452
lines changed

targets/TARGET_TI/TARGET_CC32XX/TARGET_CC3220SF/PeripheralNames.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,8 @@ extern "C" {
2525
// TODO
2626

2727
typedef enum {
28-
// TODO: need to define peripherals in device/CC3220SF.h
29-
UART_0 = 0, //(int)CC3220SF_UART0_BASE,
30-
UART_1 = 1 //(int)CC3220SF_UART1_BASE,
28+
UART_0 = (int)CC3220SF_UARTA0_BASE,
29+
UART_1 = (int)CC3220SF_UARTA1_BASE
3130
} UARTName;
3231

3332
typedef enum {

0 commit comments

Comments
 (0)