diff --git a/example/c6657/MCBSPDigLpbk/mcbspMasterDigLpbk.c b/example/c6657/MCBSPDigLpbk/mcbspMasterDigLpbk.c
index 7281420d4e4d4f470d465c2a70c40d2ab6a78ff8..e2f11b2ed7d0014ec990086965aca0152d0d4fa7 100644 (file)
* master functionality using Digital Loopback setup. The file configures
* the EVM in master mode.
*
- * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2012 - 2018 Texas Instruments Incorporated - http://www.ti.com/
*
*
* Redistribution and use in source and binary forms, with or without
#include <xdc/runtime/System.h>
#include <xdc/cfg/global.h>
+#include <board.h>
/* Include EDMA3 Driver */
#include <ti/sdo/edma3/drv/edma3_drv.h>
extern void McbspXmtInterrupt_init(void *mcbspTxChan);
extern void McbspRcvInterrupt_init(void *mcbspRxChan);
+extern Board_STATUS Board_init(Board_initCfg);
+
/* FPGA Configuration Misc-1 Register offset */
#define MCBSP_FPGA_MISC_REG_OFFSET (0x0C)
{
Task_Params taskParams;
EDMA3_DRV_Result edmaResult = 0;
+#ifdef SIMULATOR_SUPPORT
uint8_t uchValue, uchReadValue;
+#endif
+
+ Board_initCfg arg = BOARD_INIT_MODULE_CLOCK | BOARD_INIT_PINMUX_CONFIG | BOARD_INIT_UART_STDIO;
+ Board_init(arg);
uint32_t temp;
/* Get the core number. */