1 /** @file sys_main.c
\r
2 * @brief Application main file
\r
6 * This file contains an empty main function,
\r
7 * which can be used for the application.
\r
10 /* (c) Texas Instruments 2009-2012, All rights reserved. */
\r
12 /* USER CODE BEGIN (0) */
\r
17 #include "sys_common.h"
\r
20 /* USER CODE BEGIN (1) */
\r
21 #include "cmd_proc_freertos_tms570.h"
\r
22 #include "FreeRTOS.h"
\r
23 #include "os_task.h"
\r
32 /** @fn void main(void)
\r
33 * @brief Application main function
\r
34 * @note This function is empty by default.
\r
36 * This function is called after startup.
\r
37 * The user can use this function to implement the application.
\r
40 /* USER CODE BEGIN (2) */
\r
47 /* USER CODE BEGIN (3) */
\r
54 canEnableErrorNotification(canREG1);
\r
55 canEnableErrorNotification(canREG2);
\r
59 initCmdProc(1, (uint8_t*)"\r\nType commands\r\n", (uint8_t *)"\r\n--> ");
\r
61 vTaskStartScheduler();
\r
62 //We should never get here
\r
69 /* USER CODE BEGIN (4) */
\r