changeset 779:f54080301c98

UART protocol stack entity compiles
author Michael Spacefalcon <falcon@ivan.Harhan.ORG>
date Sat, 07 Mar 2015 23:55:47 +0000
parents ac329f4627ac
children 286567fb2ab8
files gsm-fw/g23m-aci/uart/Makefile gsm-fw/g23m-aci/uart/uart_drxf.c gsm-fw/g23m-aci/uart/uart_drxp.c gsm-fw/g23m-aci/uart/uart_drxs.c gsm-fw/g23m-aci/uart/uart_dtxf.c gsm-fw/g23m-aci/uart/uart_dtxp.c gsm-fw/g23m-aci/uart/uart_dtxs.c gsm-fw/g23m-aci/uart/uart_kerf.c gsm-fw/g23m-aci/uart/uart_kerp.c gsm-fw/g23m-aci/uart/uart_kers.c gsm-fw/g23m-aci/uart/uart_pei.c gsm-fw/g23m-aci/uart/uart_rtf.c gsm-fw/g23m-aci/uart/uart_rtp.c gsm-fw/g23m-aci/uart/uart_rts.c gsm-fw/g23m-aci/uart/uart_rxf.c gsm-fw/g23m-aci/uart/uart_rxp.c gsm-fw/g23m-aci/uart/uart_rxs.c gsm-fw/g23m-aci/uart/uart_txf.c gsm-fw/g23m-aci/uart/uart_txp.c gsm-fw/g23m-aci/uart/uart_txs.c
diffstat 20 files changed, 132 insertions(+), 40 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/g23m-aci/uart/Makefile	Sat Mar 07 23:00:01 2015 +0000
+++ b/gsm-fw/g23m-aci/uart/Makefile	Sat Mar 07 23:55:47 2015 +0000
@@ -1,5 +1,21 @@
-# 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 -DDTILIB
+
+OBJS=	uart_drxf.o uart_drxp.o uart_drxs.o \
+	uart_dtxf.o uart_dtxp.o uart_dtxs.o \
+	uart_kerf.o uart_kerp.o uart_kers.o uart_pei.o \
+	uart_rtf.o uart_rtp.o uart_rts.o \
+	uart_rxf.o uart_rxp.o uart_rxs.o \
+	uart_txf.o uart_txp.o uart_txs.o
+
+all:	xipcode.o
+
+xipcode.o:	${OBJS}
+	${LD} -r -o $@ ${OBJS}
 
 clean:
 	rm -f *.[oa] *.out *errs
--- a/gsm-fw/g23m-aci/uart/uart_drxf.c	Sat Mar 07 23:00:01 2015 +0000
+++ b/gsm-fw/g23m-aci/uart/uart_drxf.c	Sat Mar 07 23:55:47 2015 +0000
@@ -24,6 +24,10 @@
 #define UART_DRXF_C
 #endif /* !UART_DRXF_C */
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_UART
 
 /*==== INCLUDES =============================================================*/
@@ -45,8 +49,8 @@
 #include "gsi.h"        /* to get definitions of serial driver */
 #else /* FF_MULTI_PORT */
 #ifdef _TARGET_
-#include "uart/serialswitch.h"
-#include "uart/traceswitch.h"
+#include "../../serial/serialswitch.h"
+#include "../../serial/traceswitch.h"
 #else /* _TARGET_ */
 #include "serial_dat.h" /* to get definitions of serial driver */
 #endif /* _TARGET_ */
--- a/gsm-fw/g23m-aci/uart/uart_drxp.c	Sat Mar 07 23:00:01 2015 +0000
+++ b/gsm-fw/g23m-aci/uart/uart_drxp.c	Sat Mar 07 23:55:47 2015 +0000
@@ -24,6 +24,10 @@
 #define UART_DRXP_C
 #endif /* !UART_DRXP_C */
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_UART
 
 /*==== INCLUDES =============================================================*/
@@ -45,8 +49,8 @@
 #include "gsi.h"        /* to get definitions of serial driver */
 #else /* FF_MULTI_PORT */
 #ifdef _TARGET_
-#include "uart/serialswitch.h"
-#include "uart/traceswitch.h"
+#include "../../serial/serialswitch.h"
+#include "../../serial/traceswitch.h"
 #else /* _TARGET_ */
 #include "serial_dat.h" /* to get definitions of serial driver */
 #endif /* _TARGET_ */
--- a/gsm-fw/g23m-aci/uart/uart_drxs.c	Sat Mar 07 23:00:01 2015 +0000
+++ b/gsm-fw/g23m-aci/uart/uart_drxs.c	Sat Mar 07 23:55:47 2015 +0000
@@ -24,6 +24,10 @@
 #define UART_DRXS_C
 #endif /* !UART_DRXS_C */
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_UART
 
 /*==== INCLUDES =============================================================*/
@@ -47,8 +51,8 @@
 #include "gsi.h"        /* to get definitions of serial driver */
 #else /* FF_MULTI_PORT */
 #ifdef _TARGET_
-#include "uart/serialswitch.h"
-#include "uart/traceswitch.h"
+#include "../../serial/serialswitch.h"
+#include "../../serial/traceswitch.h"
 #else /* _TARGET_ */
 #include "serial_dat.h" /* to get definitions of serial driver */
 #endif /* _TARGET_ */
--- a/gsm-fw/g23m-aci/uart/uart_dtxf.c	Sat Mar 07 23:00:01 2015 +0000
+++ b/gsm-fw/g23m-aci/uart/uart_dtxf.c	Sat Mar 07 23:55:47 2015 +0000
@@ -24,6 +24,10 @@
 #define UART_DTXF_C
 #endif /* !UART_DTXF_C */
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_UART
 
 /*==== INCLUDES =============================================================*/
@@ -45,8 +49,8 @@
 #include "gsi.h"        /* to get definitions of serial driver */
 #else /* FF_MULTI_PORT */
 #ifdef _TARGET_
-#include "uart/serialswitch.h"
-#include "uart/traceswitch.h"
+#include "../../serial/serialswitch.h"
+#include "../../serial/traceswitch.h"
 #else /* _TARGET_ */
 #include "serial_dat.h" /* to get definitions of serial driver */
 #endif /* _TARGET_ */
--- a/gsm-fw/g23m-aci/uart/uart_dtxp.c	Sat Mar 07 23:00:01 2015 +0000
+++ b/gsm-fw/g23m-aci/uart/uart_dtxp.c	Sat Mar 07 23:55:47 2015 +0000
@@ -24,6 +24,10 @@
 #define UART_DTXP_C
 #endif /* !UART_DTXP_C */
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_UART
 
 /*==== INCLUDES =============================================================*/
@@ -47,8 +51,8 @@
 #include "gsi.h"        /* to get definitions of serial driver */
 #else /* FF_MULTI_PORT */
 #ifdef _TARGET_
-#include "uart/serialswitch.h"
-#include "uart/traceswitch.h"
+#include "../../serial/serialswitch.h"
+#include "../../serial/traceswitch.h"
 #else /* _TARGET_ */
 #include "serial_dat.h" /* to get definitions of serial driver */
 #endif /* _TARGET_ */
--- a/gsm-fw/g23m-aci/uart/uart_dtxs.c	Sat Mar 07 23:00:01 2015 +0000
+++ b/gsm-fw/g23m-aci/uart/uart_dtxs.c	Sat Mar 07 23:55:47 2015 +0000
@@ -24,6 +24,10 @@
 #define UART_DTXS_C
 #endif /* !UART_DTXS_C */
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_UART
 
 /*==== INCLUDES =============================================================*/
@@ -48,8 +52,8 @@
 #include "gsi.h"        /* to get definitions of serial driver */
 #else /* FF_MULTI_PORT */
 #ifdef _TARGET_
-#include "uart/serialswitch.h"
-#include "uart/traceswitch.h"
+#include "../../serial/serialswitch.h"
+#include "../../serial/traceswitch.h"
 #else /* _TARGET_ */
 #include "serial_dat.h" /* to get definitions of serial driver */
 #endif /* _TARGET_ */
--- a/gsm-fw/g23m-aci/uart/uart_kerf.c	Sat Mar 07 23:00:01 2015 +0000
+++ b/gsm-fw/g23m-aci/uart/uart_kerf.c	Sat Mar 07 23:55:47 2015 +0000
@@ -24,6 +24,10 @@
 #define UART_KERF_C
 #endif /* !UART_KERF_C */
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_UART
 
 /*
@@ -54,8 +58,8 @@
 #include "gsi.h"        /* to get definitions of serial driver */
 #else /* FF_MULTI_PORT */
 #ifdef _TARGET_
-#include "uart/serialswitch.h"
-#include "uart/traceswitch.h"
+#include "../../serial/serialswitch.h"
+#include "../../serial/traceswitch.h"
 #else /* _TARGET_ */
 #include "serial_dat.h" /* to get definitions of serial driver */
 #endif /* _TARGET_ */
--- a/gsm-fw/g23m-aci/uart/uart_kerp.c	Sat Mar 07 23:00:01 2015 +0000
+++ b/gsm-fw/g23m-aci/uart/uart_kerp.c	Sat Mar 07 23:55:47 2015 +0000
@@ -24,6 +24,10 @@
 #define UART_KERP_C
 #endif /* !UART_KERP_C */
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_UART
 
 /*==== INCLUDES =============================================================*/
@@ -47,8 +51,8 @@
 #include "gsi.h"        /* to get definitions of serial driver */
 #else /* FF_MULTI_PORT */
 #ifdef _TARGET_
-#include "uart/serialswitch.h"
-#include "uart/traceswitch.h"
+#include "../../serial/serialswitch.h"
+#include "../../serial/traceswitch.h"
 #else /* _TARGET_ */
 #include "serial_dat.h" /* to get definitions of serial driver */
 #endif /* _TARGET_ */
--- a/gsm-fw/g23m-aci/uart/uart_kers.c	Sat Mar 07 23:00:01 2015 +0000
+++ b/gsm-fw/g23m-aci/uart/uart_kers.c	Sat Mar 07 23:55:47 2015 +0000
@@ -24,6 +24,10 @@
 #define UART_KERS_C
 #endif /* !UART_KERS_C */
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_UART
 
 /*
@@ -50,8 +54,8 @@
 #include "gsi.h"        /* to get definitions of serial driver */
 #else /* FF_MULTI_PORT */
 #ifdef _TARGET_
-#include "uart/serialswitch.h"
-#include "uart/traceswitch.h"
+#include "../../serial/serialswitch.h"
+#include "../../serial/traceswitch.h"
 #else /* _TARGET_ */
 #include "serial_dat.h" /* to get definitions of serial driver */
 #endif /* _TARGET_ */
--- a/gsm-fw/g23m-aci/uart/uart_pei.c	Sat Mar 07 23:00:01 2015 +0000
+++ b/gsm-fw/g23m-aci/uart/uart_pei.c	Sat Mar 07 23:55:47 2015 +0000
@@ -32,6 +32,10 @@
 
 #define UART_PEI_C
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_UART
 
 /*==== INCLUDES =============================================================*/
@@ -62,8 +66,8 @@
 #include "gsi.h"        /* to get definitions of serial driver */
 #else /* FF_MULTI_PORT */
 #ifdef _TARGET_
-#include "uart/serialswitch.h"
-#include "uart/traceswitch.h"
+#include "../../serial/serialswitch.h"
+#include "../../serial/traceswitch.h"
 #else /* _TARGET_ */
 #include "serial_dat.h" /* to get definitions of serial driver */
 #endif /* _TARGET_ */
--- a/gsm-fw/g23m-aci/uart/uart_rtf.c	Sat Mar 07 23:00:01 2015 +0000
+++ b/gsm-fw/g23m-aci/uart/uart_rtf.c	Sat Mar 07 23:55:47 2015 +0000
@@ -24,6 +24,10 @@
 #define UART_RTF_C
 #endif /* !UART_RTF_C */
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_UART
 
 /*==== INCLUDES =============================================================*/
@@ -47,8 +51,8 @@
 #include "gsi.h"        /* to get definitions of serial driver */
 #else /* FF_MULTI_PORT */
 #ifdef _TARGET_
-#include "uart/serialswitch.h"
-#include "uart/traceswitch.h"
+#include "../../serial/serialswitch.h"
+#include "../../serial/traceswitch.h"
 #else /* _TARGET_ */
 #include "serial_dat.h" /* to get definitions of serial driver */
 #endif /* _TARGET_ */
--- a/gsm-fw/g23m-aci/uart/uart_rtp.c	Sat Mar 07 23:00:01 2015 +0000
+++ b/gsm-fw/g23m-aci/uart/uart_rtp.c	Sat Mar 07 23:55:47 2015 +0000
@@ -24,6 +24,10 @@
 #define UART_RTP_C
 #endif /* !UART_RTP_C */
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_UART
 
 /*==== INCLUDES =============================================================*/
@@ -51,8 +55,8 @@
 #include "gsi.h"        /* to get definitions of serial driver */
 #else /* FF_MULTI_PORT */
 #ifdef _TARGET_
-#include "uart/serialswitch.h"
-#include "uart/traceswitch.h"
+#include "../../serial/serialswitch.h"
+#include "../../serial/traceswitch.h"
 #else /* _TARGET_ */
 #include "serial_dat.h" /* to get definitions of serial driver */
 #endif /* _TARGET_ */
--- a/gsm-fw/g23m-aci/uart/uart_rts.c	Sat Mar 07 23:00:01 2015 +0000
+++ b/gsm-fw/g23m-aci/uart/uart_rts.c	Sat Mar 07 23:55:47 2015 +0000
@@ -24,6 +24,10 @@
 #define UART_RTS_C
 #endif /* !UART_RTS_C */
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_UART
 
 /*==== INCLUDES =============================================================*/
@@ -51,8 +55,8 @@
 #include "gsi.h"        /* to get definitions of serial driver */
 #else /* FF_MULTI_PORT */
 #ifdef _TARGET_
-#include "uart/serialswitch.h"
-#include "uart/traceswitch.h"
+#include "../../serial/serialswitch.h"
+#include "../../serial/traceswitch.h"
 #else /* _TARGET_ */
 #include "serial_dat.h" /* to get definitions of serial driver */
 #endif /* _TARGET_ */
--- a/gsm-fw/g23m-aci/uart/uart_rxf.c	Sat Mar 07 23:00:01 2015 +0000
+++ b/gsm-fw/g23m-aci/uart/uart_rxf.c	Sat Mar 07 23:55:47 2015 +0000
@@ -24,6 +24,10 @@
 #define UART_RXF_C
 #endif /* !UART_RXF_C */
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_UART
 
 #ifndef FF_MULTI_PORT
@@ -45,8 +49,8 @@
 #endif /* DTILIB */
 #include "pei.h"        /* to get PEI interface */
 #ifdef _TARGET_
-#include "uart/serialswitch.h"
-#include "uart/traceswitch.h"
+#include "../../serial/serialswitch.h"
+#include "../../serial/traceswitch.h"
 #else /* _TARGET_ */
 #include "serial_dat.h" /* to get definitions of serial driver */
 #endif /* _TARGET_ */
--- a/gsm-fw/g23m-aci/uart/uart_rxp.c	Sat Mar 07 23:00:01 2015 +0000
+++ b/gsm-fw/g23m-aci/uart/uart_rxp.c	Sat Mar 07 23:55:47 2015 +0000
@@ -24,6 +24,10 @@
 #define UART_RXP_C
 #endif /* !UART_RXP_C */
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_UART
 
 #ifndef FF_MULTI_PORT
@@ -43,8 +47,8 @@
 #include "dti.h"        /* to get dti lib */
 #include "pei.h"        /* to get PEI interfac */
 #ifdef _TARGET_
-#include "uart/serialswitch.h"
-#include "uart/traceswitch.h"
+#include "../../serial/serialswitch.h"
+#include "../../serial/traceswitch.h"
 #else /* _TARGET_ */
 #include "serial_dat.h" /* to get definitions of serial driver */
 #endif /* _TARGET_ */
--- a/gsm-fw/g23m-aci/uart/uart_rxs.c	Sat Mar 07 23:00:01 2015 +0000
+++ b/gsm-fw/g23m-aci/uart/uart_rxs.c	Sat Mar 07 23:55:47 2015 +0000
@@ -24,6 +24,10 @@
 #define UART_RXS_C
 #endif /* !UART_RXS_C */
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_UART
 
 #ifndef FF_MULTI_PORT
@@ -45,8 +49,8 @@
 #endif /* DTILIB */
 #include "pei.h"        /* to get PEI interface */
 #ifdef _TARGET_
-#include "uart/serialswitch.h"
-#include "uart/traceswitch.h"
+#include "../../serial/serialswitch.h"
+#include "../../serial/traceswitch.h"
 #else /* _TARGET_ */
 #include "serial_dat.h" /* to get definitions of serial driver */
 #endif /* _TARGET_ */
--- a/gsm-fw/g23m-aci/uart/uart_txf.c	Sat Mar 07 23:00:01 2015 +0000
+++ b/gsm-fw/g23m-aci/uart/uart_txf.c	Sat Mar 07 23:55:47 2015 +0000
@@ -24,6 +24,10 @@
 #define UART_TXF_C
 #endif /* !UART_TXF_C */
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_UART
 
 #ifndef FF_MULTI_PORT
@@ -45,8 +49,8 @@
 #endif /* DTILIB */
 #include "pei.h"        /* to get PEI interface */
 #ifdef _TARGET_
-#include "uart/serialswitch.h"
-#include "uart/traceswitch.h"
+#include "../../serial/serialswitch.h"
+#include "../../serial/traceswitch.h"
 #else /* _TARGET_ */
 #include "serial_dat.h" /* to get definitions of serial driver */
 #endif /* _TARGET_ */
--- a/gsm-fw/g23m-aci/uart/uart_txp.c	Sat Mar 07 23:00:01 2015 +0000
+++ b/gsm-fw/g23m-aci/uart/uart_txp.c	Sat Mar 07 23:55:47 2015 +0000
@@ -24,6 +24,10 @@
 #define UART_TXP_C
 #endif /* !UART_TXP_C */
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_UART
 
 #ifndef FF_MULTI_PORT
@@ -45,8 +49,8 @@
 #endif /* DTILIB */
 #include "pei.h"        /* to get PEI interface */
 #ifdef _TARGET_
-#include "uart/serialswitch.h"
-#include "uart/traceswitch.h"
+#include "../../serial/serialswitch.h"
+#include "../../serial/traceswitch.h"
 #else /* _TARGET_ */
 #include "serial_dat.h" /* to get definitions of serial driver */
 #endif /* _TARGET_ */
--- a/gsm-fw/g23m-aci/uart/uart_txs.c	Sat Mar 07 23:00:01 2015 +0000
+++ b/gsm-fw/g23m-aci/uart/uart_txs.c	Sat Mar 07 23:55:47 2015 +0000
@@ -24,6 +24,10 @@
 #define UART_TXS_C
 #endif /* !UART_TXS_C */
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_UART
 
 #ifndef FF_MULTI_PORT
@@ -45,8 +49,8 @@
 #endif /* DTILIB */
 #include "pei.h"        /* to get PEI interface */
 #ifdef _TARGET_
-#include "uart/serialswitch.h"
-#include "uart/traceswitch.h"
+#include "../../serial/serialswitch.h"
+#include "../../serial/traceswitch.h"
 #else /* _TARGET_ */
 #include "serial_dat.h" /* to get definitions of serial driver */
 #endif /* _TARGET_ */