ConOpSys V2970  P004.07
ANVILEX control operating system
Hardware_Platform_P014_49.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 // Runtime engine: P014.49
3 //------------------------------------------------------------------------------
4 
5 // Show error message
6 #error "ERROR: Runtime target not defined now."
7 
8 //------------------------------------------------------------------------------
9 
10 #pragma once
11 
12 //------------------------------------------------------------------------------
13 // Macro for disable semihosting
14 //------------------------------------------------------------------------------
15 
16 #if __ARMCC_VERSION >= 6000000
17  __asm(".global __use_no_semihosting");
18 #elif __ARMCC_VERSION >= 5000000
19  #pragma import(__use_no_semihosting)
20 #else
21  #error Unsupported compiler
22 #endif
23 
24 //------------------------------------------------------------------------------
25 // Hardware platform
26 //------------------------------------------------------------------------------
27 
28 //#include "P014_49_CB_V1_CPU.h"
29 
30 //extern TTarget_P014_49_CB_V1 object_Target;
31 
32 //------------------------------------------------------------------------------
33 // CPU
34 //------------------------------------------------------------------------------
35 
36 #include "CPU_STM32F429.h"
37 
39 
40 //------------------------------------------------------------------------------
41 // On chip memory
42 //------------------------------------------------------------------------------
43 
44 #include "STACK_STM32F429.h"
45 #include "HEAP_STM32F429.h"
46 
49 
50 //------------------------------------------------------------------------------
51 // On chip interrupt controller
52 //------------------------------------------------------------------------------
53 
54 #include "NVIC_STM32F429.h"
55 
56 //------------------------------------------------------------------------------
57 // On chip high resolution system timer
58 //------------------------------------------------------------------------------
59 
60 #include "TIMER2_STM32F429.h"
61 
63 
65 
66 //------------------------------------------------------------------------------
67 // On chip 1ms system timer
68 //------------------------------------------------------------------------------
69 
70 #include "SYSTICK_STM32F429.h"
71 
73 
75 
76 //------------------------------------------------------------------------------
77 // On chip system WDT
78 //------------------------------------------------------------------------------
79 
80 #include "WDT_STM32F429.h"
81 
83 
84 //------------------------------------------------------------------------------
85 // On chip system RTC
86 //------------------------------------------------------------------------------
87 
88 #include "RTC_STM32F429.h"
89 
91 
92 //------------------------------------------------------------------------------
93 // On chip system LED
94 //------------------------------------------------------------------------------
95 
96 //#include "LED_P014_51_CB.h"
97 
98 //extern TLED_P014_51_CB object_System_LED;
99 
100 //------------------------------------------------------------------------------
101 // On chip ADC
102 //------------------------------------------------------------------------------
103 
104 #ifndef ADC_MODULE_INSTALLED
105 
106  //----------------------------------------------------------------------------
107  // ERROR: Undefined compilation switch: ADC_MODULE_INSTALLED
108  //----------------------------------------------------------------------------
109 
110  // Show error message
111  #error "ERROR: Undefined compilation switch: ADC_MODULE_INSTALLED"
112 
113 #else
114 
115  //----------------------------------------------------------------------------
116  // Compilation switch setted
117  //----------------------------------------------------------------------------
118 
119 #endif
120 
121 //------------------------------------------------------------------------------
122 // On chip DAC
123 //------------------------------------------------------------------------------
124 
125 #ifndef DAC_MODULE_INSTALLED
126 
127  //----------------------------------------------------------------------------
128  // ERROR: Undefined compilation switch: DAC_MODULE_INSTALLED
129  //----------------------------------------------------------------------------
130 
131  // Show error message
132  #error "ERROR: Undefined compilation switch: DAC_MODULE_INSTALLED"
133 
134 #else
135 
136  //----------------------------------------------------------------------------
137  // Compilation switch setted
138  //----------------------------------------------------------------------------
139 
140 #endif
141 
142 //------------------------------------------------------------------------------
143 // On chip DIO module
144 //------------------------------------------------------------------------------
145 
146 #ifndef DIO_MODULE_INSTALLED
147 
148  //----------------------------------------------------------------------------
149  // ERROR: Undefined compilation switch: DIO_MODULE_INSTALLED
150  //----------------------------------------------------------------------------
151 
152  // Show error message
153  #error "ERROR: Undefined compilation switch: DIO_MODULE_INSTALLED"
154 
155 #else
156 
157  //----------------------------------------------------------------------------
158  // Compilation switch setted
159  //----------------------------------------------------------------------------
160 
161 #endif
162 
163 //----------------------------------------------------------------------------
164 // Parameter database
165 //----------------------------------------------------------------------------
166 
167 #include "Parameter_Manager.h"
168 
169 //------------------------------------------------------------------------------
170 // Test for command manager defined
171 //------------------------------------------------------------------------------
172 
173 #ifndef COMMAND_MANAGER_MODULE_INSTALLED
174 
175  // Show error message
176  #error "Undefined compilation switch: COMMAND_MANAGER_MODULE_INSTALLED"
177 
178 #endif
179 
180 //------------------------------------------------------------------------------
181 // Test for event manager defined
182 //------------------------------------------------------------------------------
183 
184 #ifndef EVENT_MANAGER_MODULE_INSTALLED
185 
186  // Show error message
187  #error "Undefined compilation switch: EVENT_MANAGER_MODULE_INSTALLED"
188 
189 #endif
190 
191 //------------------------------------------------------------------------------
192 // Test for signal recorder defined
193 //------------------------------------------------------------------------------
194 
195 #ifndef SCOPE_MODULE_INSTALLED
196 
197  // Show error message
198  #error "Undefined compilation switch: SCOPE_MODULE_INSTALLED"
199 
200 #endif
201 
202 //------------------------------------------------------------------------------
203 // End of file
204 //------------------------------------------------------------------------------
STM32F429 CPU class header file.
void VOID
Datatypesess datatype definition.
Definition: Defines.h:105
STM32F429 heap class header file.
TWDT_STM32F429 object_System_Watchdog_Timer
TRTC_STM32F429 object_System_RTC
TSTACK_STM32F429 object_System_STACK
THEAP_STM32F429 object_System_HEAP
VOID High_Precision_Timer_Interrupt_Handler()
VOID System_Timer_Interrupt_Handler()
TCPU_STM32F429 object_System_CPU
TTIMER2_STM32F429 object_Delay_Timer
TSYSTICK_STM32F429 object_System_Timer
STM32F429 on-chip NVIC module class header file.
ConOpSys parameter database manager class header file.
STM32F429 on-chip RTC module class header file.
STM32F429 stack class header file.
STM32F429 on-chip SYSTICK timer module class header file.
STM32F429 on-chip TIMER2 module class header file.
STM32F429 on-chip WTD module class header file.
STM32F429 CPU hardware class.
Definition: CPU_STM32F429.h:69
STM32F429 heap class.
Definition: HEAP_STM32F429.h:63
STM32F429 RTC class.
Definition: RTC_STM32F429.h:71
STM32F429 stack class.
Definition: STACK_STM32F429.h:63
STM32F429 interval timer class.
Definition: SYSTICK_STM32F429.h:55
System timer class.
Definition: TIMER2_STM32F429.h:55
STM32F429 on-chip WDT module class.
Definition: WDT_STM32F429.h:70