changeset 64:0364d77aca58

d144: generate hex version of Nokia TCSM2 A-TRAU capture
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 25 Sep 2024 18:57:54 +0000
parents 4a906c2075bc
children b3f04535eb14
files .hgignore d144/Makefile
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore	Wed Sep 25 18:49:39 2024 +0000
+++ b/.hgignore	Wed Sep 25 18:57:54 2024 +0000
@@ -8,6 +8,7 @@
 ^d144/edata-input-compile$
 ^d144/edata-input-decomp$
 ^d144/.*\.dump$
+^d144/.*\.hex$
 
 ^tfo/find-is-hdr$
 ^tfo/tfo-trace-msg$
--- a/d144/Makefile	Wed Sep 25 18:49:39 2024 +0000
+++ b/d144/Makefile	Wed Sep 25 18:57:54 2024 +0000
@@ -1,7 +1,8 @@
 CC=	gcc
 CFLAGS=	-O2
 PROGS=	atrau-parse edata-input-compile edata-input-decomp
-DATA=	d144-ul-input.bin d144-ul-input.asc nokia-tcsm2-atrau.dump
+DATA=	d144-ul-input.bin d144-ul-input.asc nokia-tcsm2-atrau.dump \
+	nokia-tcsm2-atrau.hex
 
 all:	${PROGS} ${DATA}
 
@@ -23,5 +24,8 @@
 nokia-tcsm2-atrau.dump:	atrau-parse nokia-tcsm2-atrau.bin
 	./atrau-parse nokia-tcsm2-atrau.bin > $@
 
+nokia-tcsm2-atrau.hex:	nokia-tcsm2-atrau.bin
+	../utils/gen-hex-lines nokia-tcsm2-atrau.bin $@ 40
+
 clean:
 	rm -f *.o ${PROGS} ${DATA}