comparison sysglue/appinit.c @ 0:75a11d740a02

initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 09 Jun 2016 00:02:41 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:75a11d740a02
1 /*
2 * This module contains our Application_Initialize() function,
3 * based on the disassembly of the binary object version in the
4 * Leonardo semi-src.
5 */
6
7 #include "../include/config.h"
8
9 Application_Initialize()
10 {
11 Init_Target();
12 /*
13 * The original version calls Init_Drivers() at this point,
14 * but that function is nothing more than a short sequence
15 * of calls to other functions, so I've inlined it.
16 */
17 ABB_Sem_Create();
18 flash_chip_init(); /* FreeCalypso addition */
19 ffs_main_init();
20 /*
21 * The call to pcm_init() used to be at the end of ffs_main_init(),
22 * but I factored it out. - Space Falcon
23 */
24 #if CONFIG_INCLUDE_PCM
25 pcm_init();
26 #endif
27 rvf_init();
28 rvm_init();
29 create_tasks();
30 #if CONFIG_INCLUDE_SIM
31 SIM_Initialize();
32 #endif
33 /* end of Init_Drivers() */
34 #if CONFIG_INCLUDE_L1
35 Cust_Init_Layer1();
36 #endif
37 Init_Serial_Flows();
38 #if CONFIG_INCLUDE_GPF
39 StartFrame();
40 #endif
41 Init_Unmask_IT();
42 }