]> git.donarmstrong.com Git - tmk_firmware.git/commitdiff
Fix build options for NEWS converter
authortmk <nobody@nowhere>
Thu, 18 Apr 2013 06:54:26 +0000 (15:54 +0900)
committertmk <nobody@nowhere>
Thu, 18 Apr 2013 06:54:59 +0000 (15:54 +0900)
converter/news_usb/Makefile.pjrc
converter/news_usb/config_pjrc.h
converter/news_usb/matrix.c

index 3233463d58422e74e5c19464ae79b55840639a51..98f8d57693dd486e7190ca99e0e50903be41d5b7 100644 (file)
@@ -37,12 +37,25 @@ MCU = atmega32u4       # Teensy 2.0
 F_CPU = 16000000
 
 
+# Boot Section Size in *bytes*
+#   Teensy halfKay   512
+#   Teensy++ halfKay 1024
+#   Atmel DFU loader 4096
+#   LUFA bootloader  4096
+#   USBaspLoader     2048
+OPT_DEFS += -DBOOTLOADER_SIZE=4096
+
+
 # Build Options
 #   *Comment out* to disable the options.
 #
-MOUSEKEY_ENABLE = yes  # Mouse keys
-EXTRAKEY_ENABLE = yes  # Audio control and System control
-NKRO_ENABLE = yes      # USB Nkey Rollover
+BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000)
+MOUSEKEY_ENABLE = yes  # Mouse keys(+5000)
+EXTRAKEY_ENABLE = yes  # Audio control and System control(+600)
+CONSOLE_ENABLE = yes    # Console for debug
+COMMAND_ENABLE = yes    # Commands for debug and configuration
+#SLEEP_LED_ENABLE = yes  # Breathing sleep LED during USB suspend
+NKRO_ENABLE = yes      # USB Nkey Rollover(+500)
 
 
 
index 171a0e06d5c33a7767f071dcd1f927318e9b656f..92751d1eeaa3e79a442b71418e38193cc5e1533d 100644 (file)
@@ -31,6 +31,10 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #define MATRIX_COLS 8   // keycode bit: 6-4
 
 
+/* legacy keymap support */
+#define USE_LEGACY_KEYMAP
+
+
 /* key combination for command */
 #define IS_COMMAND() ( \
     keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) || \
index f4e7281fbd5c4935c8289689e009c8832b4c5651..f0d5b58633a3d77f9123cad11aa2ea36260fd4f6 100644 (file)
@@ -64,9 +64,6 @@ uint8_t matrix_cols(void)
 
 void matrix_init(void)
 {
-    print_enable = true;
-    debug_enable = true;
-    debug_matrix = true;
     news_init();
 
     // initialize matrix state: all keys off