comparison gsm-fw/L1/dsp/leadapi.c @ 586:25a3095e8a98

L1: dsp subdir added to the build
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 15 Aug 2014 22:29:30 +0000
parents 565bf963c3a2
children
comparison
equal deleted inserted replaced
585:083e71ff5603 586:25a3095e8a98
31 *****************************************************************************/ 31 *****************************************************************************/
32 32
33 33
34 #define LEADAPI_C 1 34 #define LEADAPI_C 1
35 35
36 #include "l1sw.cfg" 36 #include "../../include/config.h"
37 #include "chipset.cfg" 37 #include "../../include/sys_types.h"
38 38
39 #if (OP_L1_STANDALONE == 0) 39 #include "../../bsp/mem.h"
40 #include "main/sys_types.h" 40 #include "../../bsp/clkm.h"
41 #else
42 #include "sys_types.h"
43 #endif
44
45 #include "memif/mem.h"
46 #include "clkm/clkm.h"
47 #include "leadapi.h" 41 #include "leadapi.h"
48 42
49 43
50 void LA_ResetLead(void) 44 void LA_ResetLead(void)
51 { 45 {
327 } 321 }
328 } 322 }
329 else { 323 else {
330 error = LA_BAD_TAG; 324 error = LA_BAD_TAG;
331 } 325 }
332 326
333 /* if (error != NULL) { */ // if an error was detected in the coff2c format, 327 if (error != NULL) // if an error was detected in the coff2c format,
334 error = LA_LoadPage16(code, page, start); // try to download a coff-v1.0 coff2c output 328 error = LA_LoadPage16(code, page, start); // try to download a coff-v1.0 coff2c output
335 return(error); // and return its result 329 return(error); // and return its result
336 /* } */
337 } 330 }
338 331
339 332
340 /* 333 /*
341 * LA_LoadPage16 334 * LA_LoadPage16