summaryrefslogtreecommitdiff
path: root/tools/config.h
diff options
context:
space:
mode:
authormagh <magh@maghmogh.com>2023-03-06 18:44:55 -0600
committermagh <magh@maghmogh.com>2023-03-06 18:44:55 -0600
commite80d9d8871b325a04b18f90a9ea4bb7fd148fb25 (patch)
tree79dbdb8506b7ff1e92549188d1b94cfc0b3503ae /tools/config.h
add m1n1HEADmaster
Diffstat (limited to 'tools/config.h')
-rw-r--r--tools/config.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/tools/config.h b/tools/config.h
new file mode 100644
index 0000000..7ba0156
--- /dev/null
+++ b/tools/config.h
@@ -0,0 +1,29 @@
+/* SPDX-License-Identifier: MIT */
+
+#ifndef CONFIG_H
+#define CONFIG_H
+
+// Enable framebuffer console
+#define USE_FB
+// Disable framebuffer console unless verbose boot is enabled
+//#define FB_SILENT_MODE
+// Initialize USB early and break into proxy if device is opened within this time (sec)
+//#define EARLY_PROXY_TIMEOUT 5
+
+// Minimal build for bring-up
+//#define BRINGUP
+
+// Print RTKit logs to the console
+//#define RTKIT_SYSLOG
+
+// Target for device-specific debug builds
+//#define TARGET T8103
+
+#ifdef RELEASE
+# define FB_SILENT_MODE
+# ifdef CHAINLOADING
+# define EARLY_PROXY_TIMEOUT 5
+# endif
+#endif
+
+#endif