changeset 901:bacf366e8ce3

gsm-fw: DSP patch codes included in the link
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sun, 05 Jul 2015 03:17:40 +0000
parents 2caa749fae34
children 4423039aeb4b
files gsm-fw/L1/cfile/l1_func.c gsm-fw/L1/dsp/Makefile
diffstat 2 files changed, 9 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/L1/cfile/l1_func.c	Sun Jul 05 03:05:13 2015 +0000
+++ b/gsm-fw/L1/cfile/l1_func.c	Sun Jul 05 03:17:40 2015 +0000
@@ -150,15 +150,15 @@
 
   /* DSP patch */
   #if (DWNLD == NO_DWNLD)
-    const UWORD8  patch_array[1];
-    const UWORD8  DspCode_array[1] ;
-    const UWORD8  DspData_array[1];
+    const UWORD8  patch_array[1] = {0};
+    const UWORD8  DspCode_array[1] = {0};
+    const UWORD8  DspData_array[1] = {0};
   #elif (DWNLD == PATCH_DWNLD)
     extern const UWORD8  patch_array[] ;
-    const UWORD8  DspCode_array[1] ;
-    const UWORD8  DspData_array[1];
+    const UWORD8  DspCode_array[1] = {0};
+    const UWORD8  DspData_array[1] = {0};
   #elif (DWNLD == DSP_DWNLD)
-    const UWORD8 patch_array[1] ;
+    const UWORD8 patch_array[1] = {0};
     extern const UWORD8 DspCode_array[] ;
     extern const UWORD8 DspData_array[];
   #else
--- a/gsm-fw/L1/dsp/Makefile	Sun Jul 05 03:05:13 2015 +0000
+++ b/gsm-fw/L1/dsp/Makefile	Sun Jul 05 03:17:40 2015 +0000
@@ -4,7 +4,9 @@
 
 CFLAGS=	-O2 -fno-builtin -mthumb-interwork -mthumb
 
-OBJS=	leadapi.o leadboot.o
+OBJS=	amr_mms_patch_file36_10.o amr_sch_patch_file36_10.o \
+	e2_patch_file36_10.o gprs_patch_file36_10.o leadapi.o leadboot.o \
+	patch_file36_10_dyn_dwl.o tty_patch_file36_10.o
 
 all:	libdsp.a