# HG changeset patch # User Michael Spacefalcon # Date 1409288226 0 # Node ID 46427440984a5e6ef605432bb5c262cf16a09e1c # Parent 262fcce108594541304c26b68ea2e1c999e38c46 gsm-fw/L1/audio_cfile: l1audio_abb.c compiles diff -r 262fcce10859 -r 46427440984a gsm-fw/L1/audio_cfile/Makefile --- /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 diff -r 262fcce10859 -r 46427440984a gsm-fw/L1/audio_cfile/l1audio_abb.c --- 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();