-
Notifications
You must be signed in to change notification settings - Fork 0
/
eecfg.h
99 lines (71 loc) · 2.13 KB
/
eecfg.h
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
#ifndef EECFG_H
#define EECFG_H
#define RTDRUID_CONFIGURATOR_NUMBER 1278
/***************************************************************************
*
* Common defines ( CPU 0 )
*
**************************************************************************/
/* TASK definition */
#define EE_MAX_TASK 2
#define TaskOUT 0
#define TaskLCDTouch 1
/* MUTEX definition */
#define EE_MAX_RESOURCE 0U
/* ALARM definition */
#define EE_MAX_ALARM 2U
#define AlarmOUT 0U
#define AlarmTaskLCDTouch 1U
/* SCHEDULING TABLE definition */
#define EE_MAX_SCHEDULETABLE 0U
/* COUNTER OBJECTS definition */
#define EE_MAX_COUNTER_OBJECTS (EE_MAX_ALARM + EE_MAX_SCHEDULETABLE)
/* COUNTER definition */
#define EE_MAX_COUNTER 1U
#define myCounter 0U
/* APPMODE definition */
#define EE_MAX_APPMODE 0U
/* CPUs */
#define EE_MAX_CPU 1
#define EE_CURRENTCPU 0
/* Number of isr 2 */
#define EE_MAX_ISR2 1
#define EE_MAX_ISR_ID 1
#ifndef __DISABLE_EEOPT_DEFINES__
/***************************************************************************
*
* User options
*
**************************************************************************/
#define __USE_SYSTICK__
#define __ADD_LIBS__
/***************************************************************************
*
* Automatic options
*
**************************************************************************/
#define __RTD_LINUX__
#define __STM32__
#define __STM32F4xx__
#define __CORTEX_MX__
#define __CORTEX_M4__
#define __GNU__
#define __FP__
#define __MONO__
#define __ALARMS__
#define __FP_NO_RESOURCE__
#endif
/***************************************************************************
*
* ISR definition
*
**************************************************************************/
#define EE_CORTEX_MX_SYSTICK_ISR systick_handler
#define EE_CORTEX_MX_SYSTICK_ISR_PRI EE_ISR_PRI_1
/***************************************************************************
*
* Vector size defines
*
**************************************************************************/
#define EE_ALARM_ROM_SIZE 2
#endif