aboutsummaryrefslogtreecommitdiffstats
path: root/quantum
diff options
context:
space:
mode:
authorGabriel Young <gabeplaysdrums@live.com>2017-02-19 17:45:08 -0800
committerGabriel Young <gabeplaysdrums@live.com>2017-02-19 17:45:08 -0800
commited15973a3ffff6e18e62f81654632b97961f18d2 (patch)
treeaedd3c466e3318e2e5e4945e00b4acad2f243386 /quantum
parentd1fe24ad9f85768774ae50465c71f3757a33cc00 (diff)
downloadfirmware-ed15973a3ffff6e18e62f81654632b97961f18d2.tar.gz
firmware-ed15973a3ffff6e18e62f81654632b97961f18d2.tar.bz2
firmware-ed15973a3ffff6e18e62f81654632b97961f18d2.zip
Document size added by MIDI_ENABLE (~3800 bytes according to my experiments)
satan/keymaps/midi MIDI_ENABLE = no text data bss dec hex filename 0 17080 0 17080 42b8 satan_midi.hex MIDI_ENABLE = yes #define MIDI_TONE_KEYCODE_OCTAVES 3 // default text data bss dec hex filename 0 20846 0 20846 516e satan_midi.hex MIDI_ENABLE = yes #define MIDI_TONE_KEYCODE_OCTAVES 2 // fewer octaves text data bss dec hex filename 0 20846 0 20846 516e satan_midi.hex
Diffstat (limited to 'quantum')
-rw-r--r--quantum/process_keycode/process_midi.c2
-rw-r--r--quantum/template/config.h2
-rw-r--r--quantum/template/keymaps/default/Makefile2
3 files changed, 4 insertions, 2 deletions
diff --git a/quantum/process_keycode/process_midi.c b/quantum/process_keycode/process_midi.c
index 9190fa047..5530ea97c 100644
--- a/quantum/process_keycode/process_midi.c
+++ b/quantum/process_keycode/process_midi.c
@@ -1,3 +1,5 @@
+#define MIDI_TONE_KEYCODE_OCTAVES 2
+
#include "process_midi.h"
#include "timer.h"
diff --git a/quantum/template/config.h b/quantum/template/config.h
index d0bee0d89..cd6dfa2c6 100644
--- a/quantum/template/config.h
+++ b/quantum/template/config.h
@@ -159,7 +159,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define NO_ACTION_MACRO
//#define NO_ACTION_FUNCTION
-/* override number of MIDI tone keycodes (each octave adds 12 bytes) */
+/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
//#define MIDI_TONE_KEYCODE_OCTAVES 1
#endif
diff --git a/quantum/template/keymaps/default/Makefile b/quantum/template/keymaps/default/Makefile
index f4671a9d1..24442db37 100644
--- a/quantum/template/keymaps/default/Makefile
+++ b/quantum/template/keymaps/default/Makefile
@@ -9,7 +9,7 @@ CONSOLE_ENABLE = no # Console for debug(+400)
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-MIDI_ENABLE = no # MIDI controls
+MIDI_ENABLE = no # MIDI support (+3800)
AUDIO_ENABLE = no # Audio output on port C6
UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID