summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ea15868)
raw | patch | inline | side by side (parent: ea15868)
author | M V Pratap Reddy <x0257344@ti.com> | |
Fri, 4 Dec 2020 07:17:34 +0000 (12:47 +0530) | ||
committer | Sivaraj R <sivaraj@ti.com> | |
Fri, 4 Dec 2020 11:34:48 +0000 (05:34 -0600) |
packages/ti/board/diag/uart/src/uart_diag.c | patch | blob | history |
diff --git a/packages/ti/board/diag/uart/src/uart_diag.c b/packages/ti/board/diag/uart/src/uart_diag.c
index 0ed1a32c619be94e766da6dbf72542ea567d8c4b..05673ecc817846157c2f7c059de5bae4309c00a2 100755 (executable)
#define FIFO_SIZE (64U)
#define BAUD_RATE_MAX (7384615U)
-#if defined(SOC_TPR12)
+#if defined(SOC_TPR12) && defined (__TI_ARM_V7R4__)
#include <string.h>
-uint8_t gUartTestBuf[100] = "\nTesting UART print to console at 115.2k baud rate";
+static uint8_t gUartTestBuf[100] = "\nTesting UART print to console at 115.2k baud rate";
#endif
#if defined(SOC_AM65XX) || defined(SOC_J721E) || defined(SOC_J7200) || defined(SOC_AM64X)