aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
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