diff options
author | fauxpark <fauxpark@gmail.com> | 2019-10-13 09:57:57 +1100 |
---|---|---|
committer | Joel Challis <git@zvecr.com> | 2019-10-12 23:57:57 +0100 |
commit | 2e7cd98c0644dc0f7f2a5cab5da7b0e019bd0810 (patch) | |
tree | c72effd7d9fa349e2956ffa50747bf3d9ff301f9 /keyboards/geekboards/tester | |
parent | a48468590ab83e808191c0e20c236d7eb6c13f0d (diff) | |
download | qmk_firmware-2e7cd98c0644dc0f7f2a5cab5da7b0e019bd0810.tar.gz qmk_firmware-2e7cd98c0644dc0f7f2a5cab5da7b0e019bd0810.zip |
Cleanup rules.mk for 32U4 keyboards, G (#6971)
* Cleanup rules.mk for 32U4 keyboards, G
* Update keyboards/gray_studio/cod67/rules.mk
Diffstat (limited to 'keyboards/geekboards/tester')
-rw-r--r-- | keyboards/geekboards/tester/rules.mk | 52 |
1 files changed, 8 insertions, 44 deletions
diff --git a/keyboards/geekboards/tester/rules.mk b/keyboards/geekboards/tester/rules.mk index 7e8d595fb..1ca57f6d0 100644 --- a/keyboards/geekboards/tester/rules.mk +++ b/keyboards/geekboards/tester/rules.mk | |||
@@ -1,52 +1,16 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
3 | 3 | ||
4 | # project specific files | 4 | # Bootloader selection |
5 | #SRC = | 5 | # Teensy halfkay |
6 | 6 | # Pro Micro caterina | |
7 | # Processor frequency. | 7 | # Atmel DFU atmel-dfu |
8 | # This will define a symbol, F_CPU, in all source code files equal to the | 8 | # LUFA DFU lufa-dfu |
9 | # processor frequency in Hz. You can then use this symbol in your source code to | 9 | # QMK DFU qmk-dfu |
10 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | 10 | # ATmega32A bootloadHID |
11 | # automatically to create a 32-bit value in your source code. | 11 | # ATmega328P USBasp |
12 | # | ||
13 | # This will be an integer division of F_USB below, as it is sourced by | ||
14 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
15 | # does not *change* the processor frequency - it should merely be updated to | ||
16 | # reflect the processor speed set externally so that the code can use accurate | ||
17 | # software delays. | ||
18 | F_CPU = 16000000 | ||
19 | |||
20 | |||
21 | # | ||
22 | # LUFA specific | ||
23 | # | ||
24 | # Target architecture (see library "Board Types" documentation). | ||
25 | ARCH = AVR8 | ||
26 | |||
27 | # Input clock frequency. | ||
28 | # This will define a symbol, F_USB, in all source code files equal to the | ||
29 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
30 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
31 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
32 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
33 | # at the end, this will be done automatically to create a 32-bit value in your | ||
34 | # source code. | ||
35 | # | ||
36 | # If no clock division is performed on the input clock inside the AVR (via the | ||
37 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
38 | F_USB = $(F_CPU) | ||
39 | |||
40 | # Interrupt driven control endpoint task(+60) | ||
41 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
42 | |||
43 | # Boot Section | ||
44 | BOOTLOADER = qmk-dfu | 12 | BOOTLOADER = qmk-dfu |
45 | 13 | ||
46 | # Do not put the microcontroller into power saving mode | ||
47 | # when we get USB suspend event. We want it to keep updating | ||
48 | # backlight effects. | ||
49 | |||
50 | # Build Options | 14 | # Build Options |
51 | # change yes to no to disable | 15 | # change yes to no to disable |
52 | # | 16 | # |