changeset 569:9df89f93d311

L1: l1_sync.c compiles for IRAM
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 10 Aug 2014 17:58:02 +0000
parents ae24e49c41a9
children 962f0d3a4e7e
files gsm-fw/L1/cfile/Makefile gsm-fw/L1/cfile/l1_sync.c
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/L1/cfile/Makefile	Sun Aug 10 17:52:59 2014 +0000
+++ b/gsm-fw/L1/cfile/Makefile	Sun Aug 10 17:58:02 2014 +0000
@@ -7,7 +7,7 @@
 INTSED=	../intram.sed
 
 IOBJS=	l1_api_hisr.o l1_cmplx_intram.o l1_ctl.o l1_drive.o l1_func.o \
-	l1_mfmgr.o
+	l1_mfmgr.o l1_sync_intram.o
 XOBJS=	l1_afunc.o l1_async.o l1_cmplx.o l1_init.o l1_pwmgr.o l1_sync.o
 
 all:	${IOBJS} ${XOBJS}
@@ -18,5 +18,8 @@
 l1_cmplx_intram.c:	l1_cmplx.c ${INTSED}
 	sed -n -f ${INTSED} l1_cmplx.c > $@
 
+l1_sync_intram.c:	l1_sync.c ${INTSED}
+	sed -n -f ${INTSED} l1_sync.c > $@
+
 clean:
 	rm -f *.[oa] l1_*_intram.c *.out *errs
--- a/gsm-fw/L1/cfile/l1_sync.c	Sun Aug 10 17:52:59 2014 +0000
+++ b/gsm-fw/L1/cfile/l1_sync.c	Sun Aug 10 17:58:02 2014 +0000
@@ -1026,7 +1026,9 @@
             l1s_audio_manager();
       #endif
     #else
-      l1s.gsm_idle_ram_ctl.l1s_full_exec = FALSE;
+      #if (GSM_IDLE_RAM != 0)
+        l1s.gsm_idle_ram_ctl.l1s_full_exec = FALSE;
+      #endif
     #endif
 
 // Triton Audio ON/OFF Changes