changeset 716:21cd7e35807a

gsm-fw/g23m-gsm/l1: l1_pei.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 03 Oct 2014 21:10:00 +0000
parents 40a223937246
children 470f87d36741
files gsm-fw/g23m-gsm/l1/Makefile gsm-fw/g23m-gsm/l1/l1_pei.c
diffstat 2 files changed, 17 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/g23m-gsm/l1/Makefile	Fri Oct 03 21:00:30 2014 +0000
+++ b/gsm-fw/g23m-gsm/l1/Makefile	Fri Oct 03 21:10:00 2014 +0000
@@ -1,5 +1,13 @@
-# stub Makefile, to be filled out
-all:
+CC=	arm-elf-gcc
+LD=	arm-elf-ld
+
+CFLAGS=	-O2 -fno-builtin -mthumb-interwork -mthumb
+CPPFLAGS=-I. -I../../include -I../../include/condat -I../../gpf/inc \
+	-I../../cdginc
+
+PEI_OBJ=l1_pei.o
+
+all:	${PEI_OBJ}
 
 clean:
 	rm -f *.[oa] *.out *errs
--- a/gsm-fw/g23m-gsm/l1/l1_pei.c	Fri Oct 03 21:00:30 2014 +0000
+++ b/gsm-fw/g23m-gsm/l1/l1_pei.c	Fri Oct 03 21:10:00 2014 +0000
@@ -21,6 +21,10 @@
 
 #define L1_PEI_C
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_L1
 
 #define CUST_OS_C
@@ -68,8 +72,8 @@
 #include "tok.h"
 #include "l1.h"
 
+#else
 
-#else
 #include <string.h>
 #include <stdio.h>
 #include "stddefs.h"
@@ -108,7 +112,7 @@
 
 SHORT pei_create (T_PEI_INFO **info);
 
-void l1_create_ISR (void);
+void l1_create_HISR (void);
 void l1a_task(unsigned arcg, void *argv);
 
 /*==== PRIVATE FUNCTIONS =====================================================*/
@@ -270,7 +274,7 @@
    */
   _osx_open (VSI_CALLER 0, 0);
 
-  l1_create_ISR ();
+  l1_create_HISR ();
 
   return PEI_OK;
 }