From 8f9386395e09de21311ef671480a407147e59a5e Mon Sep 17 00:00:00 2001 From: David Allemang Date: Thu, 22 Feb 2024 09:36:07 -0500 Subject: [PATCH] clean up config and rules.mk --- keyboards/crkbd/keymaps/allemangd/config.h | 8 ++++++++ keyboards/crkbd/keymaps/allemangd/rules.mk | 22 +++------------------ keyboards/versor/keymaps/allemangd/config.h | 8 ++++++++ keyboards/versor/keymaps/allemangd/rules.mk | 2 ++ users/allemangd/rules.mk | 21 ++++++++++++++++++++ 5 files changed, 42 insertions(+), 19 deletions(-) create mode 100644 keyboards/versor/keymaps/allemangd/rules.mk diff --git a/keyboards/crkbd/keymaps/allemangd/config.h b/keyboards/crkbd/keymaps/allemangd/config.h index 388a39b819c..dcf8e82bdc4 100644 --- a/keyboards/crkbd/keymaps/allemangd/config.h +++ b/keyboards/crkbd/keymaps/allemangd/config.h @@ -23,6 +23,8 @@ along with this program. If not, see . #define EE_HANDS #define USE_SERIAL_PD2 +#define LAYER_STATE_8BIT + #undef MANUFACTURER #define MANUFACTURER "allemangd" #undef PRODUCT @@ -39,3 +41,9 @@ along with this program. If not, see . #define PERMISSIVE_HOLD #define TAPPING_TERM 160 + +#define NO_ACTION_ONESHOT +#define NO_MUSIC_NODE + +#undef LOCKING_SUPPORT_ENABLE +#undef LOCKING_RESYNC_ENABLE diff --git a/keyboards/crkbd/keymaps/allemangd/rules.mk b/keyboards/crkbd/keymaps/allemangd/rules.mk index 2bdd6ed38f1..e42644c171d 100644 --- a/keyboards/crkbd/keymaps/allemangd/rules.mk +++ b/keyboards/crkbd/keymaps/allemangd/rules.mk @@ -1,21 +1,5 @@ -BOOTMAGIC_ENABLE = no -MOUSEKEY_ENABLE = yes -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = yes -DEBUG_ENABLE = yes -NKRO_ENABLE = yes -BACKLIGHT_ENABLE = no -MIDI_ENABLE = no -AUDIO_ENABLE = no -UNICODE_ENABLE = no -BLUETOOTH_ENABLE = no -RGBLIGHT_ENABLE = no -SWAP_HANDS_ENABLE = no -RGB_MATRIX_ENABLE = no -HAPTIC_ENABLE = no -SLEEP_LED_ENABLE = no - BOOTLOADER = caterina -OLED_ENABLE = yes -OLED_DRIVER = ssd1306 +BLUETOOTH_ENABLE = no +OLED_ENABLE = yes +OLED_DRIVER = ssd1306 diff --git a/keyboards/versor/keymaps/allemangd/config.h b/keyboards/versor/keymaps/allemangd/config.h index f515d274606..bcf6f93c0bd 100644 --- a/keyboards/versor/keymaps/allemangd/config.h +++ b/keyboards/versor/keymaps/allemangd/config.h @@ -1,5 +1,7 @@ #pragma once +#define LAYER_STATE_8BIT + #define ENABLE_COMPILE_KEYCODE #define FORCE_NKRO @@ -8,3 +10,9 @@ #define PERMISSIVE_HOLD #define TAPPING_TERM 160 + +#define NO_ACTION_ONESHOT +#define NO_MUSIC_MODE + +#undef LOCKING_SUPPORT_ENABLE +#undef LOCKING_RESYNC_ENABLE diff --git a/keyboards/versor/keymaps/allemangd/rules.mk b/keyboards/versor/keymaps/allemangd/rules.mk new file mode 100644 index 00000000000..c2cf0710039 --- /dev/null +++ b/keyboards/versor/keymaps/allemangd/rules.mk @@ -0,0 +1,2 @@ +BLUETOOTH_ENABLE = no +OLED_ENABLE = no diff --git a/users/allemangd/rules.mk b/users/allemangd/rules.mk index 2b9735860bf..83e271599fa 100644 --- a/users/allemangd/rules.mk +++ b/users/allemangd/rules.mk @@ -1 +1,22 @@ SRC += allemangd.c + +LTO_ENABLE = yes + +CONSOLE_ENABLE = no +DEBUG_ENABLE = no + +EXTRAKEY_ENABLE = yes +NKRO_ENABLE = yes +BOOTMAGIC_ENABLE = yes +UNICODE_ENABLE = no + +MUSIC_ENABLE = no +MOUSEKEY_ENABLE = no +BACKLIGHT_ENABLE = no +MIDI_ENABLE = no +AUDIO_ENABLE = no +RGBLIGHT_ENABLE = no +SWAP_HANDS_ENABLE = no +RGB_MATRIX_ENABLE = no +HAPTIC_ENABLE = no +SLEEP_LED_ENABLE = no