summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7d7f29d)
raw | patch | inline | side by side (parent: 7d7f29d)
author | M V Pratap Reddy <x0257344@ti.com> | |
Sat, 16 Jan 2021 10:38:10 +0000 (16:08 +0530) | ||
committer | Vishal Mahaveer <vishalm@ti.com> | |
Mon, 18 Jan 2021 13:58:47 +0000 (07:58 -0600) |
diff --git a/packages/ti/board/diag/led_industrial/src/led_industrial_test.c b/packages/ti/board/diag/led_industrial/src/led_industrial_test.c
index b9fe723879386b7a896fa1accb683fbefdd75590..0eb5929c18f0b3694e090f0b623fdb408d11b034 100755 (executable)
Board_i2cIoExpDeInit();
#endif
+#if defined(SOC_AM64X)
+ I2C_close(handle);
+#endif
return ret;
}
diff --git a/packages/ti/board/diag/uart/src/am64x_uart_stress_test_script.ttl b/packages/ti/board/diag/uart/src/am64x_uart_stress_test_script.ttl
--- /dev/null
@@ -0,0 +1,8 @@
+clearscreen 1
+count = 0
+do
+ waitn 256
+ send inputstr
+ flushrecv
+ count = count+1
+loop while count < 40960
\ No newline at end of file
diff --git a/packages/ti/board/diag/uart/src/uart_stress_test.c b/packages/ti/board/diag/uart/src/uart_stress_test.c
index adf630400bc9a91270972bda21e93298f5953e4a..21a3c575e656907337b5f188156ca3998d37c3c5 100755 (executable)
uint32_t ret = 0;
uint32_t index;
uint32_t failIndex;
+#if !defined(SOC_AM64X)
UART_HwAttrs uart_hwAttrs;
-
+#endif
uint8_t testPassMsg[] = "UART Stress Test Passed\n";
uint8_t testFailMsg[] = "UART Stress Test Failed\n";
uint8_t input = '\n';
{
ret = -1;
}
-#endif
+ ret = BoardDiag_UartStressTest(BOARD_MCU_UART0_INSTANCE, 1);
+ if (ret != 0)
+ {
+ ret = -1;
+ }
+#endif
+#endif
#if defined(am65xx_idk) || defined(j721e_evm) || defined(j7200_evm)
ret = BoardDiag_UartStressTest(BOARD_UART_INSTANCE, 1);
if (ret != 0)
diff --git a/packages/ti/board/diag/uart/src/uart_stress_test.h b/packages/ti/board/diag/uart/src/uart_stress_test.h
index ca578fbe5f6d0b17e2eff9c397ce0f1428e637ab..6f8d5d41368a6ff08692e8fcafe7d5bc1f61a07d 100755 (executable)
#include "board_cfg.h"
#include "diag_common_cfg.h"
-#if defined(j721e_evm) || defined(j7200_evm) || defined(am64x_evm)
+#if defined(j721e_evm) || defined(j7200_evm)
#include "board_control.h"
#endif