FreeCalypso > hg > freecalypso-sw
changeset 557:3bb11261b9fe
L1: started work on l1_func.c
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 04 Aug 2014 17:20:38 +0000 |
parents | b3549e06db7e |
children | 565bf963c3a2 |
files | gsm-fw/L1/cfile/Makefile gsm-fw/L1/cfile/l1_func.c |
diffstat | 2 files changed, 10 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/gsm-fw/L1/cfile/Makefile Mon Aug 04 05:54:50 2014 +0000 +++ b/gsm-fw/L1/cfile/Makefile Mon Aug 04 17:20:38 2014 +0000 @@ -1,6 +1,7 @@ CC= arm-elf-gcc CPPFLAGS=-I../../include -I../include -I../audio_include -I../audio_cust0 \ - -I../tm_include -I../tm_cust0 -I../tpudrv -DMOVE_IN_INTERNAL_RAM + -I../tm_include -I../tm_cust0 -I../cust0 -I../tpudrv \ + -DMOVE_IN_INTERNAL_RAM CFLAGS= -O2 -fno-builtin -mthumb-interwork LD= arm-elf-ld INTSED= ../intram.sed
--- a/gsm-fw/L1/cfile/l1_func.c Mon Aug 04 05:54:50 2014 +0000 +++ b/gsm-fw/L1/cfile/l1_func.c Mon Aug 04 17:20:38 2014 +0000 @@ -9,8 +9,9 @@ #define L1_FUNC_C +#include "config.h" +#include "l1_confg.h" #include "l1_macro.h" -#include "l1_confg.h" #if (CODE_VERSION == SIMULATION) #include <string.h> @@ -72,7 +73,11 @@ #include "l1_types.h" #include "sys_types.h" #include "l1_const.h" - #include "l1_rf61.h" + #if (RF_FAM == 12) + #include "l1_rf12.h" + #elif (RF_FAM == 61) + #include "l1_rf61.h" + #endif #include "l1_time.h" #include "l1_signa.h" @@ -99,7 +104,7 @@ #include "l1aac_defty.h" #endif #include "l1_defty.h" - #include "cust_os.h" + #include "../../gpf/inc/cust_os.h" #include "l1_msgty.h" #include "l1_varex.h" #include "l1_proto.h"