summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d03ed22)
raw | patch | inline | side by side (parent: d03ed22)
author | Piyali Goswami <piyali_g@ti.com> | |
Sun, 5 Jan 2020 16:59:29 +0000 (22:29 +0530) | ||
committer | Mahesh Radhakrishnan <a0875154@ti.com> | |
Wed, 8 Jan 2020 20:50:43 +0000 (14:50 -0600) |
Fix for prints not showing the the c66x RTOS example
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
packages/ti/drv/sciclient/examples/sciclient_rtos_app/sciclient_rtos_main.c | patch | blob | history |
diff --git a/packages/ti/drv/sciclient/examples/sciclient_rtos_app/sciclient_rtos_main.c b/packages/ti/drv/sciclient/examples/sciclient_rtos_app/sciclient_rtos_main.c
index 2d65f5c37e8bb16b834f94a4917350833f256f60..ab39e74a915d87e77c055b67815fecbca82371e0 100755 (executable)
void appReset(void);
+/**
+ * \brief Set the interrupt config for C66x Timer interrupts.
+ *
+ * \param None.
+ *
+ * \return None
+ */
+void App_sciclientC66xIntrConfig(void);
+
/* ========================================================================== */
/* Global Variables */
/* ========================================================================== */
Error_init(&eb);
App_sciclientConsoleInit();
+ App_sciclientC66xIntrConfig();
task1 = Task_create(GetRevisionTest1, &taskParams1, &eb);
if (task1 == NULL)
SCICLIENT_SERVICE_OPERATION_MODE_POLLED,
NULL
};
-
+ struct tisci_msg_version_req request;
const Sciclient_ReqPrm_t reqPrm =
{
TISCI_MSG_VERSION,
TISCI_MSG_FLAG_AOP,
- NULL,
- 0,
+ (uint8_t *) &request,
+ sizeof(request),
SCICLIENT_SERVICE_WAIT_FOREVER
};
SCICLIENT_SERVICE_OPERATION_MODE_POLLED,
NULL
};
-
+ struct tisci_msg_version_req request;
const Sciclient_ReqPrm_t reqPrm =
{
TISCI_MSG_VERSION,
TISCI_MSG_FLAG_AOP,
- NULL,
- 0,
+ (uint8_t *) &request,
+ sizeof(request),
SCICLIENT_SERVICE_WAIT_FOREVER
};
App_sciclientPrintf(
" ABI revision %d.%d\n", response.abi_major,
response.abi_minor);
- Task_sleep(100);
+ Task_sleep(100);
}
else
{
Osal_initMmuDefault();
}
#endif
+