blob: 598f22667e6bccb489b9e2750233ebf9a21c713b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
//standard lib includes
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <stdlib.h> /*malloc*/
#include <ctype.h> /* tolower */
#include <errno.h>
#include "./Modules/Stubs_Handler/DataDef.h"
#include "./common/protobuf-c/protobuf-c.h"
//operation system includes
#include <ti/sysbios/knl/Semaphore.h>
#include <ti/sysbios/BIOS.h>
#include <ti/sysbios/knl/Task.h>
#include <ti/sysbios/knl/mailbox.h>
#include <ti/sysbios/knl/Clock.h>
#include <ti/sysbios/gates/GateMutex.h>
//xdc
#include <xdc/runtime/Error.h>
#include <xdc/runtime/System.h>
//driver includes
#include <driverlib/rom.h>
#include <driverlib/sysctl.h>
#include <driverlib/usb.h>
#include <driverlib/interrupt.h>
#include <driverlib/rom_map.h>
#include <driverlib/fpu.h>
#include <usblib/usblib.h>
#include <usblib/device/usbdevice.h>
#include <inc/hw_nvic.h>
#include <inc/hw_types.h>
#include <inc/hw_memmap.h>
#include "inc/hw_uart.h"
#include "Modules/General/GeneralHardware.h"
//#include "drivers/twine_usblib/usb_serial_adapter.h"
#include "drivers/USB_Communication/usbcdcd.h"
#include <xdc/runtime/System.h>
#include <utils/ustdlib.h>
#include "Common/Utilities/Utils.h"
#include "Common/report/report.h"
#define SYS_CLK_FREQ 120000000
extern void SysTickHandler(void);
|