summaryrefslogtreecommitdiffstats
path: root/keyboards/converter/usb_usb/ble
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2018-09-28 07:00:11 -0700
committerJack Humbert <jack.humb@gmail.com>2018-09-28 10:47:20 -0400
commit9ade35a9fedbc6e4e77f422ed5fb514348e754ad (patch)
treee720f1af1f48d9e911fd7503c39dc5134889e0a7 /keyboards/converter/usb_usb/ble
parentebc143297c24bdd894340ffece2d93f15fbd5c1c (diff)
Optimize size of USB_USB BLE Converter
Diffstat (limited to 'keyboards/converter/usb_usb/ble')
-rw-r--r--keyboards/converter/usb_usb/ble/config.h8
-rw-r--r--keyboards/converter/usb_usb/ble/rules.mk20
2 files changed, 24 insertions, 4 deletions
diff --git a/keyboards/converter/usb_usb/ble/config.h b/keyboards/converter/usb_usb/ble/config.h
index 45aa778d57..5333e17c82 100644
--- a/keyboards/converter/usb_usb/ble/config.h
+++ b/keyboards/converter/usb_usb/ble/config.h
@@ -1,13 +1,13 @@
-#ifndef CONFIG_BLE_H
-#define CONFIG_BLE_H
+#pragma once
#undef PRODUCT
#define PRODUCT QMK BLE Adapter
#undef DESCRIPTION
-#define DESCRIPTION
+#define DESCRIPTION
// Turn off the mode leds on the BLE module
#define ADAFRUIT_BLE_ENABLE_MODE_LEDS 0
#define ADAFRUIT_BLE_ENABLE_POWER_LED 0
-#endif
+#define NO_ACTION_MACRO
+#define NO_ACTION_FUNCTION
diff --git a/keyboards/converter/usb_usb/ble/rules.mk b/keyboards/converter/usb_usb/ble/rules.mk
index 16090962d9..84aa767f54 100644
--- a/keyboards/converter/usb_usb/ble/rules.mk
+++ b/keyboards/converter/usb_usb/ble/rules.mk
@@ -1,3 +1,23 @@
BLUETOOTH = AdafruitBLE
ADAFRUIT_BLE_ENABLE = yes
F_CPU = 8000000
+
+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 = no # Console for debug(+400)
+COMMAND_ENABLE = no # Commands for debug and configuration
+# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
+SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
+# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
+NKRO_ENABLE = no # USB Nkey Rollover
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default
+RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
+MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
+UNICODE_ENABLE = no # Unicode
+BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
+AUDIO_ENABLE = no # Audio output on port C6
+FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
+HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
+
+EXTRAFLAGS += -flto