summaryrefslogtreecommitdiff
path: root/layouts/community/split_3x6_3/bbaserdem/rules.mk
diff options
context:
space:
mode:
authorBatuhan Baserdem <19315586+bbaserdem@users.noreply.github.com>2022-07-02 11:09:04 +0000
committerGitHub <noreply@github.com>2022-07-02 21:09:04 +1000
commitfd44341cbf63787e1e0d8224a8dcb5143b029d2a (patch)
treecc47b2fd7bae2892260fd51edb2d447b29fe50f5 /layouts/community/split_3x6_3/bbaserdem/rules.mk
parentf439fe605543c6646d523a65b77533fea4b08ab8 (diff)
Userspace and keymap update for user bbaserdem. (#14484)
Diffstat (limited to 'layouts/community/split_3x6_3/bbaserdem/rules.mk')
-rw-r--r--layouts/community/split_3x6_3/bbaserdem/rules.mk47
1 files changed, 47 insertions, 0 deletions
diff --git a/layouts/community/split_3x6_3/bbaserdem/rules.mk b/layouts/community/split_3x6_3/bbaserdem/rules.mk
new file mode 100644
index 0000000000..09619936da
--- /dev/null
+++ b/layouts/community/split_3x6_3/bbaserdem/rules.mk
@@ -0,0 +1,47 @@
+# Copyright 2021 Batuhan Başerdem
+# <baserdem.batuhan@gmail.com> @bbaserdem
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# Corne keyboard; with ARM
+ifneq (,$(findstring crkbd/rev1,$(KEYBOARD)))
+ # Proton C conversion
+ MCU = STM32F303
+ CTPC = yes
+ # BOARD = QMK_PROTON_C
+ # BOOTLOADER = stm32-dfu
+ # My usual features
+ AUDIO_ENABLE = yes
+ BACKLIGHT_ENABLE = no
+ ENCODER_ENABLE = yes
+ RGB_MATRIX_ENABLE = yes
+ OLED_ENABLE = yes
+ # Features that take otherwise too much space
+ WPM_ENABLE = yes
+ NKRO_ENABLE = yes
+ # Config
+ SERIAL_DRIVER = usart
+ WS2812_DRIVER = pwm
+ AUDIO_DRIVER = dac_basic
+ SPLIT_KEYBOARD = yes
+ # These are from waffle
+ DEBUG_MATRIX_SCAN_RATE_ENABLE = no # output matrix scan rate in qmk console/qmk toolbox
+ QUANTUM_LIB_SRC += i2c_master.c #drivers/chibios/i2cmaster.h needs patch - see lines 27/28
+ VIA_ENABLE = no
+ # COMMAND_ENABLE = no
+ # CONSOLE_ENABLE = no
+ # BOOTMAGIC_ENABLE = lite
+ # LTO_ENABLE = yes
+ # PIMORONI_TRACKBALL = no
+endif