summaryrefslogtreecommitdiff
path: root/sim/ucsim/gui.src/serio.src/config.h
diff options
context:
space:
mode:
authorXavier ASUS <xavi92psx@gmail.com>2019-10-18 00:31:54 +0200
committerXavier ASUS <xavi92psx@gmail.com>2019-10-18 00:31:54 +0200
commit268a53de823a6750d6256ee1fb1e7707b4b45740 (patch)
tree42c1799a9a82b2f7d9790ee9fe181d72a7274751 /sim/ucsim/gui.src/serio.src/config.h
downloadsdcc-gas-268a53de823a6750d6256ee1fb1e7707b4b45740.tar.gz
sdcc-3.9.0 fork implementing GNU assembler syntax
This fork aims to provide better support for stm8-binutils
Diffstat (limited to 'sim/ucsim/gui.src/serio.src/config.h')
-rw-r--r--sim/ucsim/gui.src/serio.src/config.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/sim/ucsim/gui.src/serio.src/config.h b/sim/ucsim/gui.src/serio.src/config.h
new file mode 100644
index 0000000..3fef045
--- /dev/null
+++ b/sim/ucsim/gui.src/serio.src/config.h
@@ -0,0 +1,20 @@
+/******************************************************************************
+ * to emulate the serial input and output of an 8051 controller *
+ * config.h - general defintions *
+ ******************************************************************************/
+#ifndef CONFIG_HEADER
+#define CONFIG_HEADER
+
+#ifndef DEF_INFILE
+// the processors serial output
+#define DEF_INFILE "/tmp/out"
+#endif
+
+#ifndef DEF_OUTFILE
+// the processors serial input
+#define DEF_OUTFILE "/tmp/in"
+#endif
+
+#define MAX_SIZ 1024
+
+#endif