changeset 619:10a1a99de746

L1 standalone: gsm-fw/L1/stand should be complete
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 31 Aug 2014 00:13:01 +0000
parents 0c736bd8385e
children d6f0892cdf1e
files gsm-fw/L1/stand/Makefile gsm-fw/L1/stand/dll_stubs.c
diffstat 2 files changed, 24 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/L1/stand/Makefile	Sun Aug 31 00:06:00 2014 +0000
+++ b/gsm-fw/L1/stand/Makefile	Sun Aug 31 00:13:01 2014 +0000
@@ -3,9 +3,12 @@
 CFLAGS=	-O2 -fno-builtin -mthumb-interwork -mthumb
 LD=	arm-elf-ld
 
-OBJS=	l1_pei.o forwarder.o
+OBJS=	l1_pei.o forwarder.o dll_stubs.o
 
-all:	${OBJS}
+all:	xipcode.o
+
+xipcode.o:	${OBJS}
+	${LD} -r -o $@ ${OBJS}
 
 clean:
 	rm -f *.[oa] *.out *errs
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gsm-fw/L1/stand/dll_stubs.c	Sun Aug 31 00:13:01 2014 +0000
@@ -0,0 +1,19 @@
+/*
+ * These functions are normally defined in the DL protocol stack entity,
+ * and are called by L1S.  When building L1 standalone, we need to
+ * provide stubs.
+ */
+
+void *dll_read_dcch()
+{
+	return(0);
+}
+
+void *dll_read_sacch()
+{
+	return(0);
+}
+
+void dll_dcch_downlink()
+{
+}