aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2023-12-09 17:27:00 +0000
committerJustine Smithies <justine@smithies.me.uk>2023-12-09 17:27:00 +0000
commit59f5f57d524173ece07c50400f54bbb20edffc08 (patch)
tree03f317974010aaecf7d61161c4f2ab724d1e0dd1 /config.h
Initial commit
Diffstat (limited to 'config.h')
-rw-r--r--config.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/config.h b/config.h
new file mode 100644
index 0000000..5307073
--- /dev/null
+++ b/config.h
@@ -0,0 +1,30 @@
+// Copyright 2023 Justine Smithies (@JustineSmithies)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#define I2C1_SCL_PIN GP1
+#define I2C1_SDA_PIN GP0
+#define I2C_DRIVER I2CD0
+
+#define OLED_DISPLAY_128X64
+#define OLED_IC OLED_IC_SSD1306
+#define OLED_DISPLAY_ADDRESS 0x3C
+#define OLED_BRIGHTNESS 255
+#define OLED_TIMEOUT 0 // 60000ms is default
+
+/*
+ * Feature disable options
+ * These options are also useful to firmware size reduction.
+ */
+
+/* disable debug print */
+//#define NO_DEBUG
+
+/* disable print */
+//#define NO_PRINT
+
+/* disable action features */
+//#define NO_ACTION_LAYER
+//#define NO_ACTION_TAPPING
+//#define NO_ACTION_ONESHOT