Add support for clueboard hotswap audio

This commit is contained in:
skullY 2018-03-15 16:44:20 -07:00
parent 8b15168d0c
commit ccb75398c2
2 changed files with 4 additions and 3 deletions

View File

@ -26,7 +26,7 @@
/* Speaker configuration
*/
//#define SPEAKER_PIN B7 // FIXME: find the correct name for this define
#define B7_AUDIO
/* Backlight configuration
*/

View File

@ -6,6 +6,7 @@ ARCH = AVR8
F_USB = $(F_CPU)
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
OPT_DEFS += -DBOOTLOADER_SIZE=4096
EXTRAFLAGS += -flto
# Build Options
# comment out to disable the options.
@ -14,9 +15,9 @@ BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
MOUSEKEY_ENABLE = no # Mouse keys(+4700)
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
CONSOLE_ENABLE = yes # Console for debug(+400)
COMMAND_ENABLE = yes # Commands for debug and configuration
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
AUDIO_ENABLE = no
AUDIO_ENABLE = yes
RGBLIGHT_ENABLE = yes # Enable keyboard underlight functionality
MIDI_ENABLE = no # MIDI controls
UNICODE_ENABLE = no # Unicode