comparison L1/cfile/l1_pwmgr.c @ 9:b80f0c5016ee

L1/cfile: new code compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 09 Jun 2016 06:28:19 +0000
parents b36540edb046
children
comparison
equal deleted inserted replaced
8:b36540edb046 9:b80f0c5016ee
8 ************* Revision Controle System Header *************/ 8 ************* Revision Controle System Header *************/
9 9
10 #define L1_PWMGR_C 10 #define L1_PWMGR_C
11 //#pragma DUPLICATE_FOR_INTERNAL_RAM_START 11 //#pragma DUPLICATE_FOR_INTERNAL_RAM_START
12 12
13 #include "timer/timer2.h" 13 #include "config.h"
14 #include "armio/armio.h"
15
16 //omaps00090550 #include "l1_macro.h"
17 #include "l1_confg.h" 14 #include "l1_confg.h"
18 15
19 #if (OP_L1_STANDALONE == 1) 16 #include "../../bsp/timer2.h"
20 #include "uart/serialswitch_core.h" 17 #include "../../bsp/armio.h"
21 #else 18 #include "../../serial/serialswitch.h"
22 #include "uart/serialswitch.h" 19
23 #endif 20 #if 0 //(OP_L1_STANDALONE == 0)
24
25 #if (OP_L1_STANDALONE == 0)
26 #include "sim/sim.h" 21 #include "sim/sim.h"
27 #include "rv_swe.h" 22 #include "rv_swe.h"
28 #endif 23 #endif
29 24
30 25
96 #include "nucleus.h" 91 #include "nucleus.h"
97 92
98 extern NU_TASK L1S_task; 93 extern NU_TASK L1S_task;
99 STATUS status; 94 STATUS status;
100 95
101
102
103 #else // NO SIMULATION 96 #else // NO SIMULATION
104
105
106 97
107 #include "l1_types.h" 98 #include "l1_types.h"
108 #include "l1_const.h" 99 #include "l1_const.h"
109 100
110 #include "abb/abb.h" 101 #include "../../bsp/abb+spi/abb.h"
111 #include "dma/sys_dma.h" 102 /* #include "dma/sys_dma.h" */
112 103
113 #if (OP_BT == 1) 104 #if (OP_BT == 1)
114 #include "hci_ll_simul.h" 105 #include "hci_ll_simul.h"
115 #endif 106 #endif
116 107
143 #include "l1_defty.h" 134 #include "l1_defty.h"
144 #include "l1_varex.h" 135 #include "l1_varex.h"
145 #include "l1_tabs.h" 136 #include "l1_tabs.h"
146 #include "sys_types.h" 137 #include "sys_types.h"
147 #include "tpudrv.h" 138 #include "tpudrv.h"
148 #include "cust_os.h" 139 #include "../../gpf/inc/cust_os.h"
149 #include "l1_msgty.h" 140 #include "l1_msgty.h"
150 #include "l1_proto.h" 141 #include "l1_proto.h"
151 #include "l1_trace.h" 142 #include "l1_trace.h"
152 #include "timer/timer.h" 143 #include "../../bsp/timer.h"
153 144
154 #if (CHIPSET == 12) || (CHIPSET == 15) 145 #if (CHIPSET == 12) || (CHIPSET == 15)
155 #include "timer/timer_sec.h" 146 #include "timer/timer_sec.h"
156 #include "inth/sys_inth.h" 147 #include "inth/sys_inth.h"
157 148
158 /* FreeCalypso: massive #if (CHIPSET == 15) chunk removed */ 149 /* FreeCalypso: massive #if (CHIPSET == 15) chunk removed */
159 150
160 #else //(CHIPSET == 12) || (CHIPSET == 15) 151 #else //(CHIPSET == 12) || (CHIPSET == 15)
161 #include "inth/iq.h" 152 #include "iq.h"
162 #include "inth/inth.h" 153 #include "inth.h"
163 #endif 154 #endif
164 // #include "timer1.h" 155 #include "ulpd.h"
165 #include "ulpd/ulpd.h" 156 #include "clkm.h"
166 #include "clkm/clkm.h" 157 #include "mem.h"
167 #include "memif/mem.h"
168 #if L2_L3_SIMUL 158 #if L2_L3_SIMUL
169 #include "hw_debug.h" 159 #include "hw_debug.h"
170 #endif 160 #endif
171 161
172 #if (OP_WCP == 1) && (OP_L1_STANDALONE != 1) 162 #if (OP_WCP == 1) && (OP_L1_STANDALONE != 1)