]> git.donarmstrong.com Git - tmk_firmware.git/blobdiff - converter/x68k_usb/Makefile
Add LED support to x68k
[tmk_firmware.git] / converter / x68k_usb / Makefile
index 62b976c56f639812144866c7bea4a5745c60fdd4..fd66ed563b1fc8441bf19220d72e2c4e33cdd9b6 100644 (file)
@@ -16,7 +16,8 @@ TARGET_DIR = .
 SRC =  keymap.c \
        matrix.c \
        led.c \
-       x68k.c
+       protocol/x68k.c
+#      protocol/serial_uart.c
 
 CONFIG_H = config_pjrc.h
 
@@ -37,12 +38,23 @@ MCU = atmega32u4       # Teensy 2.0
 F_CPU = 16000000
 
 
+# Boot Section Size in bytes
+#   Teensy halfKay   512
+#   Atmel DFU loader 4096
+#   LUFA bootloader  4096
+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(+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
+#SLEEP_LED_ENABLE = yes  # Breathing sleep LED during USB suspend
+#NKRO_ENABLE = yes     # USB Nkey Rollover - not yet supported in LUFA