diff options
Diffstat (limited to 'keyboards/coseyfannitutti/discipline/rules.mk')
| -rw-r--r-- | keyboards/coseyfannitutti/discipline/rules.mk | 52 |
1 files changed, 3 insertions, 49 deletions
diff --git a/keyboards/coseyfannitutti/discipline/rules.mk b/keyboards/coseyfannitutti/discipline/rules.mk index bc81342de..24b5969b7 100644 --- a/keyboards/coseyfannitutti/discipline/rules.mk +++ b/keyboards/coseyfannitutti/discipline/rules.mk | |||
| @@ -1,61 +1,19 @@ | |||
| 1 | # MCU name | 1 | # MCU name |
| 2 | MCU = atmega32a | 2 | MCU = atmega32a |
| 3 | PROTOCOL = VUSB | ||
| 4 | 3 | ||
| 5 | # Processor frequency. | 4 | # Processor frequency |
| 6 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 7 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 8 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 9 | # automatically to create a 32-bit value in your source code. | ||
| 10 | # | ||
| 11 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 12 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 13 | # does not *change* the processor frequency - it should merely be updated to | ||
| 14 | # reflect the processor speed set externally so that the code can use accurate | ||
| 15 | # software delays. | ||
| 16 | F_CPU = 16000000 | 5 | F_CPU = 16000000 |
| 17 | 6 | ||
| 18 | # | ||
| 19 | # LUFA specific | ||
| 20 | # | ||
| 21 | # Target architecture (see library "Board Types" documentation). | ||
| 22 | ARCH = AVR8 | ||
| 23 | |||
| 24 | # Input clock frequency. | ||
| 25 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 26 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 27 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 28 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 29 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 30 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 31 | # source code. | ||
| 32 | # | ||
| 33 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 34 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 35 | F_USB = $(F_CPU) | ||
| 36 | |||
| 37 | # Interrupt driven control endpoint task(+60) | ||
| 38 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 39 | |||
| 40 | # Bootloader selection | 7 | # Bootloader selection |
| 41 | # Teensy halfkay | 8 | # Teensy halfkay |
| 42 | # Pro Micro caterina | 9 | # Pro Micro caterina |
| 43 | # Atmel DFU atmel-dfu | 10 | # Atmel DFU atmel-dfu |
| 44 | # LUFA DFU lufa-dfu | 11 | # LUFA DFU lufa-dfu |
| 45 | # QMK DFU qmk-dfu | 12 | # QMK DFU qmk-dfu |
| 46 | # atmega32a bootloadHID | 13 | # ATmega32A bootloadHID |
| 47 | # | 14 | # ATmega328P USBasp |
| 48 | # This uses usbaspbootloader | ||
| 49 | BOOTLOADER = USBasp | 15 | BOOTLOADER = USBasp |
| 50 | 16 | ||
| 51 | # If you don't know the bootloader type, then you can specify the | ||
| 52 | # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | ||
| 53 | # Teensy halfKay 512 | ||
| 54 | # Teensy++ halfKay 1024 | ||
| 55 | # Atmel DFU loader 4096 | ||
| 56 | # LUFA bootloader 4096 | ||
| 57 | # USBaspLoader 2048 | ||
| 58 | |||
| 59 | # Flash program via avrdude, but default command is not suitable. | 17 | # Flash program via avrdude, but default command is not suitable. |
| 60 | # You can use plaid:default:program | 18 | # You can use plaid:default:program |
| 61 | PROGRAM_CMD = avrdude -c usbasp -p m32 -U flash:w:$(BUILD_DIR)/$(TARGET).hex | 19 | PROGRAM_CMD = avrdude -c usbasp -p m32 -U flash:w:$(BUILD_DIR)/$(TARGET).hex |
| @@ -84,8 +42,4 @@ AUDIO_ENABLE = no # Audio output on port C6 | |||
| 84 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 42 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 85 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | 43 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) |
| 86 | 44 | ||
| 87 | # unsupported features for now | ||
| 88 | NO_UART = yes | ||
| 89 | NO_SUSPEND_POWER_DOWN = yes | ||
| 90 | |||
| 91 | LAYOUTS = 65_ansi | 45 | LAYOUTS = 65_ansi |
