diff options
author | skullY <skullydazed@gmail.com> | 2018-08-11 12:14:02 -0700 |
---|---|---|
committer | skullydazed <skullydazed@users.noreply.github.com> | 2018-08-11 13:19:39 -0700 |
commit | 8e50a472ab2a6740f7659807cf6dd70c15fdf641 (patch) | |
tree | 3db0965d4bf47c8ac7d371c4ab4fa4c913fd8ce8 /keyboards/clueboard/66_hotswap/gen1 | |
parent | c909c4ea50ee6cef77e54f746c11f2c896181e48 (diff) | |
download | firmware-8e50a472ab2a6740f7659807cf6dd70c15fdf641.tar.gz firmware-8e50a472ab2a6740f7659807cf6dd70c15fdf641.tar.bz2 firmware-8e50a472ab2a6740f7659807cf6dd70c15fdf641.zip |
Make both RGB and sound work on Clueboard 66% hotswap
Diffstat (limited to 'keyboards/clueboard/66_hotswap/gen1')
-rw-r--r-- | keyboards/clueboard/66_hotswap/gen1/config.h | 10 | ||||
-rw-r--r-- | keyboards/clueboard/66_hotswap/gen1/gen1.h | 8 | ||||
-rw-r--r-- | keyboards/clueboard/66_hotswap/gen1/rules.mk | 25 |
3 files changed, 30 insertions, 13 deletions
diff --git a/keyboards/clueboard/66_hotswap/gen1/config.h b/keyboards/clueboard/66_hotswap/gen1/config.h index d8163f538..14188634b 100644 --- a/keyboards/clueboard/66_hotswap/gen1/config.h +++ b/keyboards/clueboard/66_hotswap/gen1/config.h @@ -1,6 +1,4 @@ -#ifndef CLUEBOARD_66_REV3_CONFIG_H -#define CLUEBOARD_66_REV3_CONFIG_H - +#pragma once #include "config_common.h" #define PRODUCT_ID 0x2390 @@ -26,7 +24,9 @@ /* Speaker configuration */ -//#define SPEAKER_PIN B7 // FIXME: find the correct name for this define +#define B7_AUDIO +#define NO_MUSIC_MODE +#define AUDIO_CLICKY /* Backlight configuration */ @@ -49,5 +49,3 @@ #define RGBLIGHT_EFFECT_KNIGHT_OFFSET 16 // The led to start at #define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 8 // How many LEDs to travel #define RGBLIGHT_EFFECT_SNAKE_LENGTH 4 // How many LEDs wide to light up - -#endif diff --git a/keyboards/clueboard/66_hotswap/gen1/gen1.h b/keyboards/clueboard/66_hotswap/gen1/gen1.h index 293620ac0..2d0a9d397 100644 --- a/keyboards/clueboard/66_hotswap/gen1/gen1.h +++ b/keyboards/clueboard/66_hotswap/gen1/gen1.h @@ -1,7 +1,5 @@ -#ifndef gen1_H -#define gen1_H - -#include "66_hotswap.h" +#pragma once +#include "quantum.h" /* Clueboard matrix layout * ,-----------------------------------------------------------. ,---. @@ -67,5 +65,3 @@ { k80, k81, k82, k83, KC_NO, k85, k86, KC_NO }, \ { KC_NO, KC_NO, k92, k93, k94, k95, k96, k97 } \ } - -#endif diff --git a/keyboards/clueboard/66_hotswap/gen1/rules.mk b/keyboards/clueboard/66_hotswap/gen1/rules.mk index 54a2685bf..887592b37 100644 --- a/keyboards/clueboard/66_hotswap/gen1/rules.mk +++ b/keyboards/clueboard/66_hotswap/gen1/rules.mk @@ -1 +1,24 @@ -BACKLIGHT_ENABLE = yes
\ No newline at end of file +EXTRAFLAGS += -flto +LAYOUTS = 66_ansi +MCU = atmega32u4 +F_CPU = 16000000 +ARCH = AVR8 +F_USB = $(F_CPU) +OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT +OPT_DEFS += -DBOOTLOADER_SIZE=4096 + +# Build Options +# comment out to disable the options. +# +BACKLIGHT_ENABLE = yes +BOOTMAGIC_ENABLE = no +MOUSEKEY_ENABLE = no +EXTRAKEY_ENABLE = yes +CONSOLE_ENABLE = yes +COMMAND_ENABLE = no +NKRO_ENABLE = yes +AUDIO_ENABLE = yes +RGBLIGHT_ENABLE = yes +MIDI_ENABLE = no +UNICODE_ENABLE = no +BLUETOOTH_ENABLE = no |