From cbecd5fb55481ba61e9d7566a0c5b5bc59af230a Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 30 Apr 2019 14:23:26 +0100 Subject: Add tools --- master/tools.patch | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 master/tools.patch (limited to 'master/tools.patch') diff --git a/master/tools.patch b/master/tools.patch new file mode 100644 index 0000000..072096c --- /dev/null +++ b/master/tools.patch @@ -0,0 +1,33 @@ +diff --git a/tools/to_h.c b/tools/to_h.c +new file mode 100644 +index 0000000..d2b100d +--- /dev/null ++++ b/tools/to_h.c +@@ -0,0 +1,27 @@ ++#include ++ ++ ++int main(int argc, char *argv) ++{ ++unsigned i,n; ++unsigned char c; ++int fd; ++ ++fd=open("DEBUGOUTPUT",0); ++ ++ ++while (read(fd,&c,1)==1) { ++n=c; ++printf (" 0x%02x, ",c); ++ ++for (i=1;i