changeset 541:9c91a1f670bd

gsm-fw/L1/cust0 compiles!
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 02 Aug 2014 04:22:36 +0000
parents 99e44a92274c
children 9dd6ca16f13d
files gsm-fw/L1/cust0/l1_cust.c gsm-fw/L1/include/l1_defty.h
diffstat 2 files changed, 14 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/L1/cust0/l1_cust.c	Sat Aug 02 03:58:40 2014 +0000
+++ b/gsm-fw/L1/cust0/l1_cust.c	Sat Aug 02 04:22:36 2014 +0000
@@ -128,6 +128,10 @@
 extern T_ADCCAL adc_cal;
 extern T_TEMP temperature[TEMP_TABLE_SIZE];
 
+/* FreeCalypso configuration */
+#define	DWNLD	PATCH_DWNLD
+#define	STD	DUALEXT
+
 // Nucleus functions
 extern INT                TMD_Timer_State;
 extern UWORD32            TMD_Timer;               // for big sleep
--- a/gsm-fw/L1/include/l1_defty.h	Sat Aug 02 03:58:40 2014 +0000
+++ b/gsm-fw/L1/include/l1_defty.h	Sat Aug 02 04:22:36 2014 +0000
@@ -3945,6 +3945,12 @@
     // Fake L1S sm for audio IT generation
     //++++++++++++++++++++++++++++++++++++
     T_AUDIOIT_TASK audioIt_task;
+
+    /*
+     * FreeCalypso change: I had to move this part here, or else
+     * compilation fails w/o AUDIO_TASK
+     */
+    T_OUTEN_CFG_TASK               outen_cfg_task;
   #endif
 
 
@@ -3960,7 +3966,6 @@
   #if (L1_DYN_DSP_DWNLD == 1)
     T_DYN_DWNLD_TASK_COMMAND       dyn_dwnld_task;
   #endif
-    T_OUTEN_CFG_TASK               outen_cfg_task;
 
   #if REL99
   #if FF_EMR
@@ -3999,7 +4004,10 @@
  #endif
 
   /* DSP CPU load measurement */
-  T_DB_MCU_TO_DSP_CPU_LOAD *dsp_cpu_load_db_w_ptr;
+  /* FreeCalypso change: the necessary #if was missing */
+  #if (DSP == 38) || (DSP == 39)
+    T_DB_MCU_TO_DSP_CPU_LOAD *dsp_cpu_load_db_w_ptr;
+  #endif
 }
 T_L1S_DSP_COM;