qmk

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.z3bra.org/qmk.git
Log | Files | Refs | Submodules | LICENSE

rules.mk (2948B)


      1 # project specific files
      2 SRC =	drivers/issi/is31fl3736.c \
      3 		drivers/avr/i2c_master.c \
      4 		keyboards/wilba_tech/wt_mono_backlight.c \
      5 		keyboards/wilba_tech/wt_main.c
      6 		
      7 # MCU name
      8 MCU = atmega32u4
      9 
     10 # Processor frequency.
     11 #     This will define a symbol, F_CPU, in all source code files equal to the
     12 #     processor frequency in Hz. You can then use this symbol in your source code to
     13 #     calculate timings. Do NOT tack on a 'UL' at the end, this will be done
     14 #     automatically to create a 32-bit value in your source code.
     15 #
     16 #     This will be an integer division of F_USB below, as it is sourced by
     17 #     F_USB after it has run through any CPU prescalers. Note that this value
     18 #     does not *change* the processor frequency - it should merely be updated to
     19 #     reflect the processor speed set externally so that the code can use accurate
     20 #     software delays.
     21 F_CPU = 16000000
     22 
     23 
     24 #
     25 # LUFA specific
     26 #
     27 # Target architecture (see library "Board Types" documentation).
     28 ARCH = AVR8
     29 
     30 # Input clock frequency.
     31 #     This will define a symbol, F_USB, in all source code files equal to the
     32 #     input clock frequency (before any prescaling is performed) in Hz. This value may
     33 #     differ from F_CPU if prescaling is used on the latter, and is required as the
     34 #     raw input clock is fed directly to the PLL sections of the AVR for high speed
     35 #     clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
     36 #     at the end, this will be done automatically to create a 32-bit value in your
     37 #     source code.
     38 #
     39 #     If no clock division is performed on the input clock inside the AVR (via the
     40 #     CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
     41 F_USB = $(F_CPU)
     42 
     43 # Interrupt driven control endpoint task(+60)
     44 OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
     45 
     46 
     47 # Boot Section
     48 BOOTLOADER = atmel-dfu
     49 
     50 
     51 # Build Options
     52 #   change yes to no to disable
     53 #
     54 BOOTMAGIC_ENABLE = no      # Virtual DIP switch configuration(+1000)
     55 MOUSEKEY_ENABLE = no       # Mouse keys(+4700)
     56 EXTRAKEY_ENABLE = yes       # Audio control and System control(+450)
     57 CONSOLE_ENABLE = no        # Console for debug(+400)
     58 COMMAND_ENABLE = no        # Commands for debug and configuration
     59 # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
     60 SLEEP_LED_ENABLE = no       # Breathing sleep LED during USB suspend
     61 # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
     62 NKRO_ENABLE = yes            # USB Nkey Rollover
     63 BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality on B7 by default
     64 MIDI_ENABLE = no            # MIDI support (+2400 to 4200, depending on config)
     65 UNICODE_ENABLE = no         # Unicode
     66 BLUETOOTH_ENABLE = no       # Enable Bluetooth with the Adafruit EZ-Key HID
     67 AUDIO_ENABLE = no           # Audio output on port C6
     68 FAUXCLICKY_ENABLE = no      # Use buzzer to emulate clicky switches
     69 
     70 RAW_ENABLE = yes
     71 DYNAMIC_KEYMAP_ENABLE = yes