changeset 608:46427440984a

gsm-fw/L1/audio_cfile: l1audio_abb.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 29 Aug 2014 04:57:06 +0000
parents 262fcce10859
children b8a277d81746
files gsm-fw/L1/audio_cfile/Makefile gsm-fw/L1/audio_cfile/l1audio_abb.c
diffstat 2 files changed, 21 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gsm-fw/L1/audio_cfile/Makefile	Fri Aug 29 04:57:06 2014 +0000
@@ -0,0 +1,16 @@
+CC=	arm-elf-gcc
+CPPFLAGS=-I../../include -I../include -I../audio_include -I../audio_cust0 \
+	-I../tm_include -I../tm_cust0 -I../cust0 -I../tpudrv \
+	-DMOVE_IN_INTERNAL_RAM
+CFLAGS=	-O2 -fno-builtin -mthumb-interwork
+LD=	arm-elf-ld
+
+XOBJS=	l1audio_abb.o
+
+all:	${XOBJS}
+
+${XOBJS}:	%.o : %.c
+	${CC} ${CFLAGS} ${CPPFLAGS} -mthumb -c $<
+
+clean:
+	rm -f *.[oa] *.out *errs
--- a/gsm-fw/L1/audio_cfile/l1audio_abb.c	Fri Aug 29 03:34:44 2014 +0000
+++ b/gsm-fw/L1/audio_cfile/l1audio_abb.c	Fri Aug 29 04:57:06 2014 +0000
@@ -10,8 +10,9 @@
  *
  */
 
+#include "config.h"
+#include "l1_confg.h"
 #include "l1_macro.h"
-#include "l1_confg.h"
 
 
 #if (CODE_VERSION == NOT_SIMULATION)
@@ -107,12 +108,12 @@
   #include "l1_varex.h"
   #include "l1_msgty.h"
   #if (OP_RIV_AUDIO == 0)
-    #include "cust_os.h"
+    #include "../../gpf/inc/cust_os.h"
     #include "tpudrv.h"
   #endif
 #endif
 
-#include "abb.h"
+#include "../../bsp/abb+spi/abb.h"
 
 #include "l1audio_abb.h"
 
@@ -126,13 +127,12 @@
 #if (CODE_VERSION == NOT_SIMULATION)&&(L1_AUDIO_MCU_ONOFF == 1)&&(CHIPSET == 15)
   void l1_audio_on_off_callback_fn(Uint8 callback_val);
 #endif  
-#include "l1audio_abb.h"
 
 #if ((CODE_VERSION == NOT_SIMULATION)&&(L1_AUDIO_MCU_ONOFF == 1)&&(OP_L1_STANDALONE == 1)&&(CHIPSET == 12))
   #include "nucleus.h"
 #endif
 
-#if (ANALOG == 3)
+#if (ANALOG != 11)
 extern T_L1S_DSP_COM l1s_dsp_com;
 extern void l1_audio_lim_partial_update();