forked from mfulz_github/qmk_firmware
		
	Cleanup rules.mk for 32A and 328P keyboards (#6767)
This commit is contained in:
		
							parent
							
								
									beb4a12c9d
								
							
						
					
					
						commit
						de4a47f1cc
					
				| @ -10,11 +10,17 @@ Atmel's DFU bootloader comes on all atmega32u4 chips by default, and is used by | |||||||
| 
 | 
 | ||||||
| To ensure compatibility with the DFU bootloader, make sure this block is present your `rules.mk` (optionally with `lufa-dfu` or `qmk-dfu` instead): | To ensure compatibility with the DFU bootloader, make sure this block is present your `rules.mk` (optionally with `lufa-dfu` or `qmk-dfu` instead): | ||||||
| 
 | 
 | ||||||
|     # Bootloader | ```make | ||||||
|     #     This definition is optional, and if your keyboard supports multiple bootloaders of | # Bootloader selection | ||||||
|     #     different sizes, comment this out, and the correct address will be loaded | #   Teensy       halfkay | ||||||
|     #     automatically (+60). See bootloader.mk for all options. | #   Pro Micro    caterina | ||||||
|     BOOTLOADER = atmel-dfu | #   Atmel DFU    atmel-dfu | ||||||
|  | #   LUFA DFU     lufa-dfu | ||||||
|  | #   QMK DFU      qmk-dfu | ||||||
|  | #   ATmega32A    bootloadHID | ||||||
|  | #   ATmega328P   USBasp | ||||||
|  | BOOTLOADER = atmel-dfu | ||||||
|  | ``` | ||||||
| 
 | 
 | ||||||
| Compatible flashers: | Compatible flashers: | ||||||
| 
 | 
 | ||||||
| @ -64,11 +70,17 @@ Arduino boards and their clones use the [Caterina bootloader](https://github.com | |||||||
| 
 | 
 | ||||||
| To ensure compatibility with the Caterina bootloader, make sure this block is present your `rules.mk`: | To ensure compatibility with the Caterina bootloader, make sure this block is present your `rules.mk`: | ||||||
| 
 | 
 | ||||||
|     # Bootloader | ```make | ||||||
|     #     This definition is optional, and if your keyboard supports multiple bootloaders of | # Bootloader selection | ||||||
|     #     different sizes, comment this out, and the correct address will be loaded | #   Teensy       halfkay | ||||||
|     #     automatically (+60). See bootloader.mk for all options. | #   Pro Micro    caterina | ||||||
|     BOOTLOADER = caterina | #   Atmel DFU    atmel-dfu | ||||||
|  | #   LUFA DFU     lufa-dfu | ||||||
|  | #   QMK DFU      qmk-dfu | ||||||
|  | #   ATmega32A    bootloadHID | ||||||
|  | #   ATmega328P   USBasp | ||||||
|  | BOOTLOADER = caterina | ||||||
|  | ``` | ||||||
| 
 | 
 | ||||||
| Compatible flashers: | Compatible flashers: | ||||||
| 
 | 
 | ||||||
| @ -100,11 +112,17 @@ Halfkay is a super-slim protocol developed by PJRC that uses HID, and come on al | |||||||
| 
 | 
 | ||||||
| To ensure compatibility with the Halfkay bootloader, make sure this block is present your `rules.mk`: | To ensure compatibility with the Halfkay bootloader, make sure this block is present your `rules.mk`: | ||||||
| 
 | 
 | ||||||
|     # Bootloader | ```make | ||||||
|     #     This definition is optional, and if your keyboard supports multiple bootloaders of | # Bootloader selection | ||||||
|     #     different sizes, comment this out, and the correct address will be loaded | #   Teensy       halfkay | ||||||
|     #     automatically (+60). See bootloader.mk for all options. | #   Pro Micro    caterina | ||||||
|     BOOTLOADER = halfkay | #   Atmel DFU    atmel-dfu | ||||||
|  | #   LUFA DFU     lufa-dfu | ||||||
|  | #   QMK DFU      qmk-dfu | ||||||
|  | #   ATmega32A    bootloadHID | ||||||
|  | #   ATmega328P   USBasp | ||||||
|  | BOOTLOADER = halfkay | ||||||
|  | ``` | ||||||
| 
 | 
 | ||||||
| Compatible flashers: | Compatible flashers: | ||||||
| 
 | 
 | ||||||
| @ -125,11 +143,17 @@ USBasploader is a bootloader developed by matrixstorm. It is used in some non-US | |||||||
| 
 | 
 | ||||||
| To ensure compatibility with the USBasploader bootloader, make sure this block is present in your `rules.mk`: | To ensure compatibility with the USBasploader bootloader, make sure this block is present in your `rules.mk`: | ||||||
| 
 | 
 | ||||||
|     # Bootloader | ```make | ||||||
|     #     This definition is optional, and if your keyboard supports multiple bootloaders of | # Bootloader selection | ||||||
|     #     different sizes, comment this out, and the correct address will be loaded | #   Teensy       halfkay | ||||||
|     #     automatically (+60). See bootloader.mk for all options. | #   Pro Micro    caterina | ||||||
|     BOOTLOADER = USBasp | #   Atmel DFU    atmel-dfu | ||||||
|  | #   LUFA DFU     lufa-dfu | ||||||
|  | #   QMK DFU      qmk-dfu | ||||||
|  | #   ATmega32A    bootloadHID | ||||||
|  | #   ATmega328P   USBasp | ||||||
|  | BOOTLOADER = USBasp | ||||||
|  | ``` | ||||||
| 
 | 
 | ||||||
| Compatible flashers: | Compatible flashers: | ||||||
| 
 | 
 | ||||||
| @ -150,11 +174,17 @@ BootloadHID is a USB bootloader for AVR microcontrollers. The uploader tool requ | |||||||
| 
 | 
 | ||||||
| To ensure compatibility with the bootloadHID bootloader, make sure this block is present your `rules.mk`: | To ensure compatibility with the bootloadHID bootloader, make sure this block is present your `rules.mk`: | ||||||
| 
 | 
 | ||||||
|     # Bootloader | ```make | ||||||
|     #     This definition is optional, and if your keyboard supports multiple bootloaders of | # Bootloader selection | ||||||
|     #     different sizes, comment this out, and the correct address will be loaded | #   Teensy       halfkay | ||||||
|     #     automatically (+60). See bootloader.mk for all options. | #   Pro Micro    caterina | ||||||
|     BOOTLOADER = bootloadHID | #   Atmel DFU    atmel-dfu | ||||||
|  | #   LUFA DFU     lufa-dfu | ||||||
|  | #   QMK DFU      qmk-dfu | ||||||
|  | #   ATmega32A    bootloadHID | ||||||
|  | #   ATmega328P   USBasp | ||||||
|  | BOOTLOADER = bootloadHID | ||||||
|  | ``` | ||||||
| 
 | 
 | ||||||
| Compatible flashers: | Compatible flashers: | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -15,18 +15,15 @@ | |||||||
| 
 | 
 | ||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Teensy       halfkay
 | ||||||
| 
 | #   Pro Micro    caterina
 | ||||||
| # processor frequency
 | #   Atmel DFU    atmel-dfu
 | ||||||
| F_CPU = 12000000 | #   LUFA DFU     lufa-dfu
 | ||||||
| 
 | #   QMK DFU      qmk-dfu
 | ||||||
| # Bootloader
 | #   ATmega32A    bootloadHID
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 | #   ATmega328P   USBasp
 | ||||||
| #     different sizes, comment this out, and the correct address will be loaded 
 |  | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 |  | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
| @ -38,11 +35,7 @@ COMMAND_ENABLE = yes | |||||||
| BACKLIGHT_ENABLE = no | BACKLIGHT_ENABLE = no | ||||||
| RGBLIGHT_ENABLE = no | RGBLIGHT_ENABLE = no | ||||||
| RGBLIGHT_CUSTOM_DRIVER = yes | RGBLIGHT_CUSTOM_DRIVER = yes | ||||||
| NO_UART = yes |  | ||||||
| 
 | 
 | ||||||
| OPT_DEFS = -DDEBUG_LEVEL=0 | OPT_DEFS = -DDEBUG_LEVEL=0 | ||||||
| 
 | 
 | ||||||
| SRC += i2c_master.c | SRC += i2c_master.c | ||||||
| 
 |  | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
|  | |||||||
| @ -15,19 +15,15 @@ | |||||||
| 
 | 
 | ||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_UART = yes | #   Teensy       halfkay
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Pro Micro    caterina
 | ||||||
| 
 | #   Atmel DFU    atmel-dfu
 | ||||||
| # processor frequency
 | #   LUFA DFU     lufa-dfu
 | ||||||
| F_CPU = 12000000 | #   QMK DFU      qmk-dfu
 | ||||||
| 
 | #   ATmega32A    bootloadHID
 | ||||||
| # Bootloader
 | #   ATmega328P   USBasp
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 |  | ||||||
| #     different sizes, comment this out, and the correct address will be loaded 
 |  | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 |  | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
| @ -45,6 +41,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||||||
| # custom matrix setup
 | # custom matrix setup
 | ||||||
| CUSTOM_MATRIX = yes | CUSTOM_MATRIX = yes | ||||||
| SRC = matrix.c i2c.c | SRC = matrix.c i2c.c | ||||||
| 
 |  | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
|  | |||||||
| @ -15,19 +15,15 @@ | |||||||
| 
 | 
 | ||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_UART = yes | #   Teensy       halfkay
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Pro Micro    caterina
 | ||||||
| 
 | #   Atmel DFU    atmel-dfu
 | ||||||
| # processor frequency
 | #   LUFA DFU     lufa-dfu
 | ||||||
| F_CPU = 12000000 | #   QMK DFU      qmk-dfu
 | ||||||
| 
 | #   ATmega32A    bootloadHID
 | ||||||
| # Bootloader
 | #   ATmega328P   USBasp
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 |  | ||||||
| #     different sizes, comment this out, and the correct address will be loaded
 |  | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 |  | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
| @ -45,6 +41,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||||||
| # custom matrix setup
 | # custom matrix setup
 | ||||||
| CUSTOM_MATRIX = yes | CUSTOM_MATRIX = yes | ||||||
| SRC = matrix.c i2c.c | SRC = matrix.c i2c.c | ||||||
| 
 |  | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
|  | |||||||
| @ -1,61 +1,19 @@ | |||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # Processor frequency.
 | # Processor frequency
 | ||||||
| #     This will define a symbol, F_CPU, in all source code files equal to the
 |  | ||||||
| #     processor frequency in Hz. You can then use this symbol in your source code to
 |  | ||||||
| #     calculate timings. Do NOT tack on a 'UL' at the end, this will be done
 |  | ||||||
| #     automatically to create a 32-bit value in your source code.
 |  | ||||||
| #
 |  | ||||||
| #     This will be an integer division of F_USB below, as it is sourced by
 |  | ||||||
| #     F_USB after it has run through any CPU prescalers. Note that this value
 |  | ||||||
| #     does not *change* the processor frequency - it should merely be updated to
 |  | ||||||
| #     reflect the processor speed set externally so that the code can use accurate
 |  | ||||||
| #     software delays.
 |  | ||||||
| F_CPU = 16000000 | F_CPU = 16000000 | ||||||
| 
 | 
 | ||||||
| #
 |  | ||||||
| # LUFA specific
 |  | ||||||
| #
 |  | ||||||
| # Target architecture (see library "Board Types" documentation).
 |  | ||||||
| ARCH = AVR8 |  | ||||||
| 
 |  | ||||||
| # Input clock frequency.
 |  | ||||||
| #     This will define a symbol, F_USB, in all source code files equal to the
 |  | ||||||
| #     input clock frequency (before any prescaling is performed) in Hz. This value may
 |  | ||||||
| #     differ from F_CPU if prescaling is used on the latter, and is required as the
 |  | ||||||
| #     raw input clock is fed directly to the PLL sections of the AVR for high speed
 |  | ||||||
| #     clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
 |  | ||||||
| #     at the end, this will be done automatically to create a 32-bit value in your
 |  | ||||||
| #     source code.
 |  | ||||||
| #
 |  | ||||||
| #     If no clock division is performed on the input clock inside the AVR (via the
 |  | ||||||
| #     CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
 |  | ||||||
| F_USB = $(F_CPU) |  | ||||||
| 
 |  | ||||||
| # Interrupt driven control endpoint task(+60)
 |  | ||||||
| OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT |  | ||||||
| 
 |  | ||||||
| # Bootloader selection
 | # Bootloader selection
 | ||||||
| #   Teensy       halfkay
 | #   Teensy       halfkay
 | ||||||
| #   Pro Micro    caterina
 | #   Pro Micro    caterina
 | ||||||
| #   Atmel DFU    atmel-dfu
 | #   Atmel DFU    atmel-dfu
 | ||||||
| #   LUFA DFU     lufa-dfu
 | #   LUFA DFU     lufa-dfu
 | ||||||
| #   QMK DFU      qmk-dfu
 | #   QMK DFU      qmk-dfu
 | ||||||
| #   atmega32a    bootloadHID
 | #   ATmega32A    bootloadHID
 | ||||||
| #
 | #   ATmega328P   USBasp
 | ||||||
| # This uses usbaspbootloader
 |  | ||||||
| BOOTLOADER = USBasp | BOOTLOADER = USBasp | ||||||
| 
 | 
 | ||||||
| # If you don't know the bootloader type, then you can specify the
 |  | ||||||
| # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
 |  | ||||||
| #   Teensy halfKay      512
 |  | ||||||
| #   Teensy++ halfKay    1024
 |  | ||||||
| #   Atmel DFU loader    4096
 |  | ||||||
| #   LUFA bootloader     4096
 |  | ||||||
| #   USBaspLoader        2048
 |  | ||||||
| 
 |  | ||||||
| # Flash program via avrdude, but default command is not suitable.
 | # Flash program via avrdude, but default command is not suitable.
 | ||||||
| # You can use plaid:default:program
 | # You can use plaid:default:program
 | ||||||
| PROGRAM_CMD = avrdude -c usbasp -p m32 -U flash:w:$(BUILD_DIR)/$(TARGET).hex | 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 | |||||||
| FAUXCLICKY_ENABLE = no      # Use buzzer to emulate clicky switches | FAUXCLICKY_ENABLE = no      # Use buzzer to emulate clicky switches | ||||||
| HD44780_ENABLE = no 		# Enable support for HD44780 based LCDs (+400) | HD44780_ENABLE = no 		# Enable support for HD44780 based LCDs (+400) | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 |  | ||||||
| NO_UART = yes |  | ||||||
| NO_SUSPEND_POWER_DOWN = yes |  | ||||||
| 
 |  | ||||||
| LAYOUTS = 65_ansi | LAYOUTS = 65_ansi | ||||||
|  | |||||||
| @ -15,19 +15,15 @@ | |||||||
| 
 | 
 | ||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_UART = yes | #   Teensy       halfkay
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Pro Micro    caterina
 | ||||||
| 
 | #   Atmel DFU    atmel-dfu
 | ||||||
| # processor frequency
 | #   LUFA DFU     lufa-dfu
 | ||||||
| F_CPU = 12000000 | #   QMK DFU      qmk-dfu
 | ||||||
| 
 | #   ATmega32A    bootloadHID
 | ||||||
| # Bootloader
 | #   ATmega328P   USBasp
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 |  | ||||||
| #     different sizes, comment this out, and the correct address will be loaded
 |  | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 |  | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
| @ -44,6 +40,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||||||
| 
 | 
 | ||||||
| # custom matrix setup
 | # custom matrix setup
 | ||||||
| SRC = i2c_master.c | SRC = i2c_master.c | ||||||
| 
 |  | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
|  | |||||||
| @ -16,10 +16,14 @@ | |||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| 
 | 
 | ||||||
| # Bootloader
 | # Bootloader selection
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 | #   Teensy       halfkay
 | ||||||
| #     different sizes, comment this out, and the correct address will be loaded
 | #   Pro Micro    caterina
 | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 | #   Atmel DFU    atmel-dfu
 | ||||||
|  | #   LUFA DFU     lufa-dfu
 | ||||||
|  | #   QMK DFU      qmk-dfu
 | ||||||
|  | #   ATmega32A    bootloadHID
 | ||||||
|  | #   ATmega328P   USBasp
 | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
|  | |||||||
| @ -1,46 +1,5 @@ | |||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 |  | ||||||
| NO_UART = yes |  | ||||||
| NO_SUSPEND_POWER_DOWN = yes |  | ||||||
| 
 |  | ||||||
| # Processor frequency.
 |  | ||||||
| #     This will define a symbol, F_CPU, in all source code files equal to the
 |  | ||||||
| #     processor frequency in Hz. You can then use this symbol in your source code to
 |  | ||||||
| #     calculate timings. Do NOT tack on a 'UL' at the end, this will be done
 |  | ||||||
| #     automatically to create a 32-bit value in your source code.
 |  | ||||||
| #
 |  | ||||||
| #     This will be an integer division of F_USB below, as it is sourced by
 |  | ||||||
| #     F_USB after it has run through any CPU prescalers. Note that this value
 |  | ||||||
| #     does not *change* the processor frequency - it should merely be updated to
 |  | ||||||
| #     reflect the processor speed set externally so that the code can use accurate
 |  | ||||||
| #     software delays.
 |  | ||||||
| F_CPU = 12000000 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| #
 |  | ||||||
| # LUFA specific
 |  | ||||||
| #
 |  | ||||||
| # Target architecture (see library "Board Types" documentation).
 |  | ||||||
| # ARCH = AVR8
 |  | ||||||
| 
 |  | ||||||
| # Input clock frequency.
 |  | ||||||
| #     This will define a symbol, F_USB, in all source code files equal to the
 |  | ||||||
| #     input clock frequency (before any prescaling is performed) in Hz. This value may
 |  | ||||||
| #     differ from F_CPU if prescaling is used on the latter, and is required as the
 |  | ||||||
| #     raw input clock is fed directly to the PLL sections of the AVR for high speed
 |  | ||||||
| #     clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
 |  | ||||||
| #     at the end, this will be done automatically to create a 32-bit value in your
 |  | ||||||
| #     source code.
 |  | ||||||
| #
 |  | ||||||
| #     If no clock division is performed on the input clock inside the AVR (via the
 |  | ||||||
| #     CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
 |  | ||||||
| # F_USB = $(F_CPU)
 |  | ||||||
| 
 |  | ||||||
| # Interrupt driven control endpoint task(+60)
 |  | ||||||
| OPT_DEFS = -DDEBUG_LEVEL=0 |  | ||||||
| 
 |  | ||||||
| 
 | 
 | ||||||
| # Bootloader selection
 | # Bootloader selection
 | ||||||
| #   Teensy       halfkay
 | #   Teensy       halfkay
 | ||||||
| @ -48,20 +7,10 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||||||
| #   Atmel DFU    atmel-dfu
 | #   Atmel DFU    atmel-dfu
 | ||||||
| #   LUFA DFU     lufa-dfu
 | #   LUFA DFU     lufa-dfu
 | ||||||
| #   QMK DFU      qmk-dfu
 | #   QMK DFU      qmk-dfu
 | ||||||
| #   atmega32a    bootloadHID
 | #   ATmega32A    bootloadHID
 | ||||||
|  | #   ATmega328P   USBasp
 | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| # If you don't know the bootloader type, then you can specify the
 |  | ||||||
| # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
 |  | ||||||
| #   Teensy halfKay      512
 |  | ||||||
| #   Teensy++ halfKay    1024
 |  | ||||||
| #   Atmel DFU loader    4096
 |  | ||||||
| #   LUFA bootloader     4096
 |  | ||||||
| #   USBaspLoader        2048
 |  | ||||||
| # OPT_DEFS += -DBOOTLOADER_SIZE=4096
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| # Build Options
 | # Build Options
 | ||||||
| #   change yes to no to disable
 | #   change yes to no to disable
 | ||||||
| #
 | #
 | ||||||
| @ -84,6 +33,5 @@ AUDIO_ENABLE = no           # Audio output on port C6 | |||||||
| FAUXCLICKY_ENABLE = no      # Use buzzer to emulate clicky switches | FAUXCLICKY_ENABLE = no      # Use buzzer to emulate clicky switches | ||||||
| HD44780_ENABLE = no 		# Enable support for HD44780 based LCDs (+400) | HD44780_ENABLE = no 		# Enable support for HD44780 based LCDs (+400) | ||||||
| 
 | 
 | ||||||
|  | OPT_DEFS = -DDEBUG_LEVEL=0 | ||||||
| SRC += i2c_master.c | SRC += i2c_master.c | ||||||
| 
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
|  | |||||||
| @ -1,46 +1,5 @@ | |||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 |  | ||||||
| NO_UART = yes |  | ||||||
| NO_SUSPEND_POWER_DOWN = yes |  | ||||||
| 
 |  | ||||||
| # Processor frequency.
 |  | ||||||
| #     This will define a symbol, F_CPU, in all source code files equal to the
 |  | ||||||
| #     processor frequency in Hz. You can then use this symbol in your source code to
 |  | ||||||
| #     calculate timings. Do NOT tack on a 'UL' at the end, this will be done
 |  | ||||||
| #     automatically to create a 32-bit value in your source code.
 |  | ||||||
| #
 |  | ||||||
| #     This will be an integer division of F_USB below, as it is sourced by
 |  | ||||||
| #     F_USB after it has run through any CPU prescalers. Note that this value
 |  | ||||||
| #     does not *change* the processor frequency - it should merely be updated to
 |  | ||||||
| #     reflect the processor speed set externally so that the code can use accurate
 |  | ||||||
| #     software delays.
 |  | ||||||
| F_CPU = 12000000 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| #
 |  | ||||||
| # LUFA specific
 |  | ||||||
| #
 |  | ||||||
| # Target architecture (see library "Board Types" documentation).
 |  | ||||||
| # ARCH = AVR8
 |  | ||||||
| 
 |  | ||||||
| # Input clock frequency.
 |  | ||||||
| #     This will define a symbol, F_USB, in all source code files equal to the
 |  | ||||||
| #     input clock frequency (before any prescaling is performed) in Hz. This value may
 |  | ||||||
| #     differ from F_CPU if prescaling is used on the latter, and is required as the
 |  | ||||||
| #     raw input clock is fed directly to the PLL sections of the AVR for high speed
 |  | ||||||
| #     clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
 |  | ||||||
| #     at the end, this will be done automatically to create a 32-bit value in your
 |  | ||||||
| #     source code.
 |  | ||||||
| #
 |  | ||||||
| #     If no clock division is performed on the input clock inside the AVR (via the
 |  | ||||||
| #     CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
 |  | ||||||
| # F_USB = $(F_CPU)
 |  | ||||||
| 
 |  | ||||||
| # Interrupt driven control endpoint task(+60)
 |  | ||||||
| OPT_DEFS = -DDEBUG_LEVEL=0 |  | ||||||
| 
 |  | ||||||
| 
 | 
 | ||||||
| # Bootloader selection
 | # Bootloader selection
 | ||||||
| #   Teensy       halfkay
 | #   Teensy       halfkay
 | ||||||
| @ -48,20 +7,10 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||||||
| #   Atmel DFU    atmel-dfu
 | #   Atmel DFU    atmel-dfu
 | ||||||
| #   LUFA DFU     lufa-dfu
 | #   LUFA DFU     lufa-dfu
 | ||||||
| #   QMK DFU      qmk-dfu
 | #   QMK DFU      qmk-dfu
 | ||||||
| #   atmega32a    bootloadHID
 | #   ATmega32A    bootloadHID
 | ||||||
|  | #   ATmega328P   USBasp
 | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| # If you don't know the bootloader type, then you can specify the
 |  | ||||||
| # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
 |  | ||||||
| #   Teensy halfKay      512
 |  | ||||||
| #   Teensy++ halfKay    1024
 |  | ||||||
| #   Atmel DFU loader    4096
 |  | ||||||
| #   LUFA bootloader     4096
 |  | ||||||
| #   USBaspLoader        2048
 |  | ||||||
| # OPT_DEFS += -DBOOTLOADER_SIZE=4096
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| # Build Options
 | # Build Options
 | ||||||
| #   change yes to no to disable
 | #   change yes to no to disable
 | ||||||
| #
 | #
 | ||||||
| @ -84,6 +33,5 @@ AUDIO_ENABLE = no           # Audio output on port C6 | |||||||
| FAUXCLICKY_ENABLE = no      # Use buzzer to emulate clicky switches | FAUXCLICKY_ENABLE = no      # Use buzzer to emulate clicky switches | ||||||
| HD44780_ENABLE = no 		# Enable support for HD44780 based LCDs (+400) | HD44780_ENABLE = no 		# Enable support for HD44780 based LCDs (+400) | ||||||
| 
 | 
 | ||||||
|  | OPT_DEFS = -DDEBUG_LEVEL=0 | ||||||
| SRC += i2c_master.c | SRC += i2c_master.c | ||||||
| 
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
|  | |||||||
| @ -15,19 +15,15 @@ | |||||||
| 
 | 
 | ||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_UART = yes | #   Teensy       halfkay
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Pro Micro    caterina
 | ||||||
| 
 | #   Atmel DFU    atmel-dfu
 | ||||||
| # processor frequency
 | #   LUFA DFU     lufa-dfu
 | ||||||
| F_CPU = 12000000 | #   QMK DFU      qmk-dfu
 | ||||||
| 
 | #   ATmega32A    bootloadHID
 | ||||||
| # Bootloader
 | #   ATmega328P   USBasp
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 |  | ||||||
| #     different sizes, comment this out, and the correct address will be loaded
 |  | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 |  | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
| @ -45,7 +41,4 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||||||
| # custom matrix setup
 | # custom matrix setup
 | ||||||
| SRC = i2c_master.c | SRC = i2c_master.c | ||||||
| 
 | 
 | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
| 
 |  | ||||||
| LAYOUTS = 60_ansi | LAYOUTS = 60_ansi | ||||||
|  | |||||||
| @ -15,19 +15,15 @@ | |||||||
| 
 | 
 | ||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_UART = yes | #   Teensy       halfkay
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Pro Micro    caterina
 | ||||||
| 
 | #   Atmel DFU    atmel-dfu
 | ||||||
| # processor frequency
 | #   LUFA DFU     lufa-dfu
 | ||||||
| F_CPU = 12000000 | #   QMK DFU      qmk-dfu
 | ||||||
| 
 | #   ATmega32A    bootloadHID
 | ||||||
| # Bootloader
 | #   ATmega328P   USBasp
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 |  | ||||||
| #     different sizes, comment this out, and the correct address will be loaded
 |  | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 |  | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
| @ -44,7 +40,4 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||||||
| 
 | 
 | ||||||
| SRC += i2c_master.c | SRC += i2c_master.c | ||||||
| 
 | 
 | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
| 
 |  | ||||||
| LAYOUTS = tkl_ansi tkl_iso | LAYOUTS = tkl_ansi tkl_iso | ||||||
|  | |||||||
| @ -10,9 +10,8 @@ MCU = atmega328p | |||||||
| #   Atmel DFU    atmel-dfu
 | #   Atmel DFU    atmel-dfu
 | ||||||
| #   LUFA DFU     lufa-dfu
 | #   LUFA DFU     lufa-dfu
 | ||||||
| #   QMK DFU      qmk-dfu
 | #   QMK DFU      qmk-dfu
 | ||||||
| #   atmega32a    bootloadHID
 | #   ATmega32A    bootloadHID
 | ||||||
| #
 | #   ATmega328P   USBasp
 | ||||||
| # This uses usbaspbootloader
 |  | ||||||
| BOOTLOADER = USBasp | BOOTLOADER = USBasp | ||||||
| 
 | 
 | ||||||
| # Flash program via avrdude, but default command is not suitable.
 | # Flash program via avrdude, but default command is not suitable.
 | ||||||
|  | |||||||
| @ -15,19 +15,15 @@ | |||||||
| 
 | 
 | ||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_UART = yes | #   Teensy       halfkay
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Pro Micro    caterina
 | ||||||
| 
 | #   Atmel DFU    atmel-dfu
 | ||||||
| # processor frequency
 | #   LUFA DFU     lufa-dfu
 | ||||||
| F_CPU = 12000000 | #   QMK DFU      qmk-dfu
 | ||||||
| 
 | #   ATmega32A    bootloadHID
 | ||||||
| # Bootloader
 | #   ATmega328P   USBasp
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 |  | ||||||
| #     different sizes, comment this out, and the correct address will be loaded
 |  | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 |  | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
| @ -43,6 +39,3 @@ RGBLIGHT_CUSTOM_DRIVER = yes | |||||||
| OPT_DEFS = -DDEBUG_LEVEL=0 | OPT_DEFS = -DDEBUG_LEVEL=0 | ||||||
| 
 | 
 | ||||||
| SRC += i2c_master.c | SRC += i2c_master.c | ||||||
| 
 |  | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
|  | |||||||
| @ -1,7 +1,15 @@ | |||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega328p | MCU = atmega328p | ||||||
| 
 | 
 | ||||||
| BOOTLOADER = bootloadHID | # Bootloader selection
 | ||||||
|  | #   Teensy       halfkay
 | ||||||
|  | #   Pro Micro    caterina
 | ||||||
|  | #   Atmel DFU    atmel-dfu
 | ||||||
|  | #   LUFA DFU     lufa-dfu
 | ||||||
|  | #   QMK DFU      qmk-dfu
 | ||||||
|  | #   ATmega32A    bootloadHID
 | ||||||
|  | #   ATmega328P   USBasp
 | ||||||
|  | BOOTLOADER = USBasp | ||||||
| 
 | 
 | ||||||
| # Flash program via avrdude, but default command is not suitable.
 | # Flash program via avrdude, but default command is not suitable.
 | ||||||
| # You can use hnah40:default:program
 | # You can use hnah40:default:program
 | ||||||
|  | |||||||
| @ -15,19 +15,15 @@ | |||||||
| 
 | 
 | ||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_UART = yes | #   Teensy       halfkay
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Pro Micro    caterina
 | ||||||
| 
 | #   Atmel DFU    atmel-dfu
 | ||||||
| # processor frequency
 | #   LUFA DFU     lufa-dfu
 | ||||||
| F_CPU = 12000000 | #   QMK DFU      qmk-dfu
 | ||||||
| 
 | #   ATmega32A    bootloadHID
 | ||||||
| # Bootloader
 | #   ATmega328P   USBasp
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 |  | ||||||
| #     different sizes, comment this out, and the correct address will be loaded
 |  | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 |  | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
| @ -45,6 +41,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||||||
| # custom matrix setup
 | # custom matrix setup
 | ||||||
| CUSTOM_MATRIX = yes | CUSTOM_MATRIX = yes | ||||||
| SRC = matrix.c i2c.c | SRC = matrix.c i2c.c | ||||||
| 
 |  | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
|  | |||||||
| @ -15,19 +15,15 @@ | |||||||
| 
 | 
 | ||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_UART = yes | #   Teensy       halfkay
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Pro Micro    caterina
 | ||||||
| 
 | #   Atmel DFU    atmel-dfu
 | ||||||
| # processor frequency
 | #   LUFA DFU     lufa-dfu
 | ||||||
| F_CPU = 12000000 | #   QMK DFU      qmk-dfu
 | ||||||
| 
 | #   ATmega32A    bootloadHID
 | ||||||
| # Bootloader
 | #   ATmega328P   USBasp
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 |  | ||||||
| #     different sizes, comment this out, and the correct address will be loaded
 |  | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 |  | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # Build Options
 | # Build Options
 | ||||||
| @ -54,7 +50,4 @@ HD44780_ENABLE = no 		# Enable support for HD44780 based LCDs (+400) | |||||||
| 
 | 
 | ||||||
| SRC += i2c_master.c | SRC += i2c_master.c | ||||||
| 
 | 
 | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
| 
 |  | ||||||
| LAYOUTS = ortho_4x12 planck_mit | LAYOUTS = ortho_4x12 planck_mit | ||||||
|  | |||||||
| @ -15,19 +15,15 @@ | |||||||
| 
 | 
 | ||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_UART = yes | #   Teensy       halfkay
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Pro Micro    caterina
 | ||||||
| 
 | #   Atmel DFU    atmel-dfu
 | ||||||
| # processor frequency
 | #   LUFA DFU     lufa-dfu
 | ||||||
| F_CPU = 12000000 | #   QMK DFU      qmk-dfu
 | ||||||
| 
 | #   ATmega32A    bootloadHID
 | ||||||
| # Bootloader
 | #   ATmega328P   USBasp
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 |  | ||||||
| #     different sizes, comment this out, and the correct address will be loaded
 |  | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 |  | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # Build Options
 | # Build Options
 | ||||||
| @ -54,7 +50,4 @@ HD44780_ENABLE = no 		# Enable support for HD44780 based LCDs (+400) | |||||||
| 
 | 
 | ||||||
| SRC += i2c_master.c | SRC += i2c_master.c | ||||||
| 
 | 
 | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
| 
 |  | ||||||
| LAYOUTS = ortho_4x4 | LAYOUTS = ortho_4x4 | ||||||
|  | |||||||
| @ -16,19 +16,15 @@ | |||||||
| 
 | 
 | ||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_UART = yes | #   Teensy       halfkay
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Pro Micro    caterina
 | ||||||
| 
 | #   Atmel DFU    atmel-dfu
 | ||||||
| # processor frequency
 | #   LUFA DFU     lufa-dfu
 | ||||||
| F_CPU = 12000000 | #   QMK DFU      qmk-dfu
 | ||||||
| 
 | #   ATmega32A    bootloadHID
 | ||||||
| # Bootloader
 | #   ATmega328P   USBasp
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 |  | ||||||
| #     different sizes, comment this out, and the correct address will be loaded
 |  | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 |  | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
| @ -59,7 +55,4 @@ SLEEP_LED_ENABLE = no    # Breathing sleep LED during USB suspend | |||||||
| CUSTOM_MATRIX = yes | CUSTOM_MATRIX = yes | ||||||
| SRC = matrix.c i2c.c backlight.c | SRC = matrix.c i2c.c backlight.c | ||||||
| 
 | 
 | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./keyboards/ps2avrGB/program $(TARGET).hex |  | ||||||
| 
 |  | ||||||
| LAYOUTS = ortho_5x12 | LAYOUTS = ortho_5x12 | ||||||
|  | |||||||
| @ -16,14 +16,6 @@ | |||||||
| 
 | 
 | ||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 |  | ||||||
| # unsupported features for now
 |  | ||||||
| NO_UART = yes |  | ||||||
| NO_SUSPEND_POWER_DOWN = yes |  | ||||||
| 
 |  | ||||||
| # processor frequency
 |  | ||||||
| F_CPU = 12000000 |  | ||||||
| 
 | 
 | ||||||
| # Bootloader selection
 | # Bootloader selection
 | ||||||
| #   Teensy       halfkay
 | #   Teensy       halfkay
 | ||||||
| @ -31,7 +23,8 @@ F_CPU = 12000000 | |||||||
| #   Atmel DFU    atmel-dfu
 | #   Atmel DFU    atmel-dfu
 | ||||||
| #   LUFA DFU     lufa-dfu
 | #   LUFA DFU     lufa-dfu
 | ||||||
| #   QMK DFU      qmk-dfu
 | #   QMK DFU      qmk-dfu
 | ||||||
| #   atmega32a    bootloadHID
 | #   ATmega32A    bootloadHID
 | ||||||
|  | #   ATmega328P   USBasp
 | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
| @ -60,7 +53,4 @@ SLEEP_LED_ENABLE = no    # Breathing sleep LED during USB suspend | |||||||
| CUSTOM_MATRIX = yes | CUSTOM_MATRIX = yes | ||||||
| SRC = matrix.c i2c.c backlight.c | SRC = matrix.c i2c.c backlight.c | ||||||
| 
 | 
 | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
| 
 |  | ||||||
| LAYOUTS = ortho_5x12 | LAYOUTS = ortho_5x12 | ||||||
|  | |||||||
| @ -15,19 +15,15 @@ | |||||||
| 
 | 
 | ||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_UART = yes | #   Teensy       halfkay
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Pro Micro    caterina
 | ||||||
| 
 | #   Atmel DFU    atmel-dfu
 | ||||||
| # processor frequency
 | #   LUFA DFU     lufa-dfu
 | ||||||
| F_CPU = 12000000 | #   QMK DFU      qmk-dfu
 | ||||||
| 
 | #   ATmega32A    bootloadHID
 | ||||||
| # Bootloader
 | #   ATmega328P   USBasp
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 |  | ||||||
| #     different sizes, comment this out, and the correct address will be loaded
 |  | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 |  | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
| @ -43,6 +39,3 @@ RGBLIGHT_CUSTOM_DRIVER = no | |||||||
| OPT_DEFS = -DDEBUG_LEVEL=0 | OPT_DEFS = -DDEBUG_LEVEL=0 | ||||||
| 
 | 
 | ||||||
| QUANTUM_LIB_SRC = i2c_master.c | QUANTUM_LIB_SRC = i2c_master.c | ||||||
| 
 |  | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
|  | |||||||
| @ -15,19 +15,15 @@ | |||||||
| 
 | 
 | ||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_UART = yes | #   Teensy       halfkay
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Pro Micro    caterina
 | ||||||
| 
 | #   Atmel DFU    atmel-dfu
 | ||||||
| # processor frequency
 | #   LUFA DFU     lufa-dfu
 | ||||||
| F_CPU = 12000000 | #   QMK DFU      qmk-dfu
 | ||||||
| 
 | #   ATmega32A    bootloadHID
 | ||||||
| # Bootloader
 | #   ATmega328P   USBasp
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 |  | ||||||
| #     different sizes, comment this out, and the correct address will be loaded
 |  | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 |  | ||||||
| BOOTLOADER = atmel-dfu | BOOTLOADER = atmel-dfu | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
| @ -45,6 +41,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||||||
| # custom matrix setup
 | # custom matrix setup
 | ||||||
| CUSTOM_MATRIX = yes | CUSTOM_MATRIX = yes | ||||||
| SRC = matrix.c i2c.c | SRC = matrix.c i2c.c | ||||||
| 
 |  | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
|  | |||||||
| @ -1,18 +1,16 @@ | |||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_UART = yes | #   Teensy       halfkay
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Pro Micro    caterina
 | ||||||
| 
 | #   Atmel DFU    atmel-dfu
 | ||||||
| # Processor frequency.
 | #   LUFA DFU     lufa-dfu
 | ||||||
| F_CPU = 12000000 | #   QMK DFU      qmk-dfu
 | ||||||
| 
 | #   ATmega32A    bootloadHID
 | ||||||
| # Bootloader
 | #   ATmega328P   USBasp
 | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| # Build Options
 | # Build Options
 | ||||||
| #   comment out to disable the options.
 | #   comment out to disable the options.
 | ||||||
| #
 | #
 | ||||||
| @ -30,6 +28,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||||||
| # custom matrix setup
 | # custom matrix setup
 | ||||||
| CUSTOM_MATRIX = yes | CUSTOM_MATRIX = yes | ||||||
| SRC = matrix.c i2c.c | SRC = matrix.c i2c.c | ||||||
| 
 |  | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
|  | |||||||
| @ -1,18 +1,14 @@ | |||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_UART = yes | #   Teensy       halfkay
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Pro Micro    caterina
 | ||||||
| 
 | #   Atmel DFU    atmel-dfu
 | ||||||
| # processor frequency
 | #   LUFA DFU     lufa-dfu
 | ||||||
| F_CPU = 12000000 | #   QMK DFU      qmk-dfu
 | ||||||
| 
 | #   ATmega32A    bootloadHID
 | ||||||
| # Bootloader
 | #   ATmega328P   USBasp
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 |  | ||||||
| #     different sizes, comment this out, and the correct address will be loaded
 |  | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 |  | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
| @ -37,8 +33,5 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||||||
| CUSTOM_MATRIX = yes | CUSTOM_MATRIX = yes | ||||||
| SRC = matrix.c i2c.c | SRC = matrix.c i2c.c | ||||||
| 
 | 
 | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
| 
 |  | ||||||
| LAYOUTS = planck_mit | LAYOUTS = planck_mit | ||||||
| LAYOUTS_HAS_RGB = no | LAYOUTS_HAS_RGB = no | ||||||
|  | |||||||
| @ -15,19 +15,15 @@ | |||||||
| 
 | 
 | ||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_UART = yes | #   Teensy       halfkay
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Pro Micro    caterina
 | ||||||
| 
 | #   Atmel DFU    atmel-dfu
 | ||||||
| # processor frequency
 | #   LUFA DFU     lufa-dfu
 | ||||||
| F_CPU = 12000000 | #   QMK DFU      qmk-dfu
 | ||||||
| 
 | #   ATmega32A    bootloadHID
 | ||||||
| # Bootloader
 | #   ATmega328P   USBasp
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 |  | ||||||
| #     different sizes, comment this out, and the correct address will be loaded
 |  | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 |  | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
| @ -45,7 +41,4 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||||||
| # custom matrix setup
 | # custom matrix setup
 | ||||||
| SRC = i2c_master.c | SRC = i2c_master.c | ||||||
| 
 | 
 | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
| 
 |  | ||||||
| LAYOUTS = 60_ansi 60_hhkb | LAYOUTS = 60_ansi 60_hhkb | ||||||
|  | |||||||
| @ -15,19 +15,15 @@ | |||||||
| 
 | 
 | ||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_UART = yes | #   Teensy       halfkay
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Pro Micro    caterina
 | ||||||
| 
 | #   Atmel DFU    atmel-dfu
 | ||||||
| # processor frequency
 | #   LUFA DFU     lufa-dfu
 | ||||||
| F_CPU = 12000000 | #   QMK DFU      qmk-dfu
 | ||||||
| 
 | #   ATmega32A    bootloadHID
 | ||||||
| # Bootloader
 | #   ATmega328P   USBasp
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 |  | ||||||
| #     different sizes, comment this out, and the correct address will be loaded
 |  | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 |  | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
| @ -44,6 +40,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||||||
| 
 | 
 | ||||||
| # custom matrix setup
 | # custom matrix setup
 | ||||||
| SRC = i2c_master.c | SRC = i2c_master.c | ||||||
| 
 |  | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
|  | |||||||
| @ -7,21 +7,9 @@ MCU = atmega328p | |||||||
| #   Atmel DFU    atmel-dfu
 | #   Atmel DFU    atmel-dfu
 | ||||||
| #   LUFA DFU     lufa-dfu
 | #   LUFA DFU     lufa-dfu
 | ||||||
| #   QMK DFU      qmk-dfu
 | #   QMK DFU      qmk-dfu
 | ||||||
| #   atmega32a    bootloadHID
 | #   ATmega32A    bootloadHID
 | ||||||
| #
 | #   ATmega328P   USBasp
 | ||||||
| # This uses usbaspbootloader
 | BOOTLOADER = USBasp | ||||||
| # BOOTLOADER = atmel-dfu
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| # If you don't know the bootloader type, then you can specify the
 |  | ||||||
| # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
 |  | ||||||
| #   Teensy halfKay      512
 |  | ||||||
| #   Teensy++ halfKay    1024
 |  | ||||||
| #   Atmel DFU loader    4096
 |  | ||||||
| #   LUFA bootloader     4096
 |  | ||||||
| #   USBaspLoader        2048
 |  | ||||||
| # OPT_DEFS += -DBOOTLOADER_SIZE=4096
 |  | ||||||
| OPT_DEFS += -DBOOTLOADER_SIZE=2048 |  | ||||||
| 
 | 
 | ||||||
| # Flash program via avrdude, but default command is not suitable.
 | # Flash program via avrdude, but default command is not suitable.
 | ||||||
| # You can use plaid:default:program
 | # You can use plaid:default:program
 | ||||||
|  | |||||||
| @ -15,19 +15,15 @@ | |||||||
| 
 | 
 | ||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_UART = yes | #   Teensy       halfkay
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Pro Micro    caterina
 | ||||||
| 
 | #   Atmel DFU    atmel-dfu
 | ||||||
| # processor frequency
 | #   LUFA DFU     lufa-dfu
 | ||||||
| F_CPU = 12000000 | #   QMK DFU      qmk-dfu
 | ||||||
| 
 | #   ATmega32A    bootloadHID
 | ||||||
| # Bootloader
 | #   ATmega328P   USBasp
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 |  | ||||||
| #     different sizes, comment this out, and the correct address will be loaded
 |  | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 |  | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
| @ -43,6 +39,3 @@ RGBLIGHT_CUSTOM_DRIVER = yes | |||||||
| OPT_DEFS = -DDEBUG_LEVEL=0 | OPT_DEFS = -DDEBUG_LEVEL=0 | ||||||
| 
 | 
 | ||||||
| SRC = i2c_master.c | SRC = i2c_master.c | ||||||
| 
 |  | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
|  | |||||||
| @ -15,19 +15,15 @@ | |||||||
| 
 | 
 | ||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_UART = yes | #   Teensy       halfkay
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Pro Micro    caterina
 | ||||||
| 
 | #   Atmel DFU    atmel-dfu
 | ||||||
| # processor frequency
 | #   LUFA DFU     lufa-dfu
 | ||||||
| F_CPU = 12000000 | #   QMK DFU      qmk-dfu
 | ||||||
| 
 | #   ATmega32A    bootloadHID
 | ||||||
| # Bootloader
 | #   ATmega328P   USBasp
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 |  | ||||||
| #     different sizes, comment this out, and the correct address will be loaded
 |  | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 |  | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
| @ -50,6 +46,3 @@ SLEEP_LED_ENABLE = no    # Breathing sleep LED during USB suspend | |||||||
| # custom matrix setup
 | # custom matrix setup
 | ||||||
| CUSTOM_MATRIX = yes | CUSTOM_MATRIX = yes | ||||||
| SRC = matrix.c i2c.c backlight.c | SRC = matrix.c i2c.c backlight.c | ||||||
| 
 |  | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
|  | |||||||
| @ -15,19 +15,15 @@ | |||||||
| 
 | 
 | ||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_UART = yes | #   Teensy       halfkay
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Pro Micro    caterina
 | ||||||
| 
 | #   Atmel DFU    atmel-dfu
 | ||||||
| # processor frequency
 | #   LUFA DFU     lufa-dfu
 | ||||||
| F_CPU = 12000000 | #   QMK DFU      qmk-dfu
 | ||||||
| 
 | #   ATmega32A    bootloadHID
 | ||||||
| # Bootloader
 | #   ATmega328P   USBasp
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 |  | ||||||
| #     different sizes, comment this out, and the correct address will be loaded
 |  | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 |  | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
| @ -43,6 +39,3 @@ RGBLIGHT_CUSTOM_DRIVER = yes | |||||||
| OPT_DEFS = -DDEBUG_LEVEL=0 | OPT_DEFS = -DDEBUG_LEVEL=0 | ||||||
| 
 | 
 | ||||||
| SRC += i2c_master.c | SRC += i2c_master.c | ||||||
| 
 |  | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
|  | |||||||
| @ -15,19 +15,15 @@ | |||||||
| 
 | 
 | ||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_UART = yes | #   Teensy       halfkay
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Pro Micro    caterina
 | ||||||
| 
 | #   Atmel DFU    atmel-dfu
 | ||||||
| # processor frequency
 | #   LUFA DFU     lufa-dfu
 | ||||||
| F_CPU = 12000000 | #   QMK DFU      qmk-dfu
 | ||||||
| 
 | #   ATmega32A    bootloadHID
 | ||||||
| # Bootloader
 | #   ATmega328P   USBasp
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 |  | ||||||
| #     different sizes, comment this out, and the correct address will be loaded
 |  | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 |  | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
| @ -44,7 +40,4 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||||||
| 
 | 
 | ||||||
| QUANTUM_LIB_SRC = i2c_master.c | QUANTUM_LIB_SRC = i2c_master.c | ||||||
| 
 | 
 | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
| 
 |  | ||||||
| LAYOUTS = tkl_ansi tkl_iso | LAYOUTS = tkl_ansi tkl_iso | ||||||
|  | |||||||
| @ -15,19 +15,15 @@ | |||||||
| 
 | 
 | ||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_UART = yes | #   Teensy       halfkay
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Pro Micro    caterina
 | ||||||
| 
 | #   Atmel DFU    atmel-dfu
 | ||||||
| # processor frequency
 | #   LUFA DFU     lufa-dfu
 | ||||||
| F_CPU = 12000000 | #   QMK DFU      qmk-dfu
 | ||||||
| 
 | #   ATmega32A    bootloadHID
 | ||||||
| # Bootloader
 | #   ATmega328P   USBasp
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 |  | ||||||
| #     different sizes, comment this out, and the correct address will be loaded
 |  | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 |  | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
| @ -43,6 +39,3 @@ RGBLIGHT_CUSTOM_DRIVER = no | |||||||
| OPT_DEFS = -DDEBUG_LEVEL=0 | OPT_DEFS = -DDEBUG_LEVEL=0 | ||||||
| 
 | 
 | ||||||
| SRC = i2c_master.c | SRC = i2c_master.c | ||||||
| 
 |  | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
|  | |||||||
| @ -15,14 +15,16 @@ | |||||||
| 
 | 
 | ||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_UART = yes | #   Teensy       halfkay
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Pro Micro    caterina
 | ||||||
| 
 | #   Atmel DFU    atmel-dfu
 | ||||||
| # processor frequency
 | #   LUFA DFU     lufa-dfu
 | ||||||
| F_CPU = 12000000 | #   QMK DFU      qmk-dfu
 | ||||||
|  | #   ATmega32A    bootloadHID
 | ||||||
|  | #   ATmega328P   USBasp
 | ||||||
|  | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
| BOOTMAGIC_ENABLE = no | BOOTMAGIC_ENABLE = no | ||||||
| @ -37,11 +39,6 @@ RGBLIGHT_ENABLE = yes | |||||||
| RGBLIGHT_CUSTOM_DRIVER = yes | RGBLIGHT_CUSTOM_DRIVER = yes | ||||||
| 
 | 
 | ||||||
| OPT_DEFS = -DDEBUG_LEVEL=0 | OPT_DEFS = -DDEBUG_LEVEL=0 | ||||||
| BOOTLOADER = bootloadHID |  | ||||||
| 
 | 
 | ||||||
| # custom matrix setup
 | # custom matrix setup
 | ||||||
| SRC = i2c_master.c | SRC = i2c_master.c | ||||||
| 
 |  | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
| 
 |  | ||||||
|  | |||||||
| @ -15,19 +15,15 @@ | |||||||
| 
 | 
 | ||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_UART = yes | #   Teensy       halfkay
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Pro Micro    caterina
 | ||||||
| 
 | #   Atmel DFU    atmel-dfu
 | ||||||
| # processor frequency
 | #   LUFA DFU     lufa-dfu
 | ||||||
| F_CPU = 12000000 | #   QMK DFU      qmk-dfu
 | ||||||
| 
 | #   ATmega32A    bootloadHID
 | ||||||
| # Bootloader
 | #   ATmega328P   USBasp
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 |  | ||||||
| #     different sizes, comment this out, and the correct address will be loaded
 |  | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 |  | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
| @ -45,6 +41,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||||||
| # custom matrix setup
 | # custom matrix setup
 | ||||||
| CUSTOM_MATRIX = yes | CUSTOM_MATRIX = yes | ||||||
| SRC = matrix.c i2c.c | SRC = matrix.c i2c.c | ||||||
| 
 |  | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
|  | |||||||
| @ -15,19 +15,15 @@ | |||||||
| 
 | 
 | ||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_UART = yes | #   Teensy       halfkay
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Pro Micro    caterina
 | ||||||
| 
 | #   Atmel DFU    atmel-dfu
 | ||||||
| # processor frequency
 | #   LUFA DFU     lufa-dfu
 | ||||||
| F_CPU = 12000000 | #   QMK DFU      qmk-dfu
 | ||||||
| 
 | #   ATmega32A    bootloadHID
 | ||||||
| # Bootloader
 | #   ATmega328P   USBasp
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 |  | ||||||
| #     different sizes, comment this out, and the correct address will be loaded 
 |  | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 |  | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
| @ -51,6 +47,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||||||
| # custom matrix setup
 | # custom matrix setup
 | ||||||
| CUSTOM_MATRIX = yes | CUSTOM_MATRIX = yes | ||||||
| SRC = matrix.c i2c.c backlight.c | SRC = matrix.c i2c.c backlight.c | ||||||
| 
 |  | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
|  | |||||||
| @ -16,19 +16,15 @@ | |||||||
| 
 | 
 | ||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_UART = yes | #   Teensy       halfkay
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Pro Micro    caterina
 | ||||||
| 
 | #   Atmel DFU    atmel-dfu
 | ||||||
| # processor frequency
 | #   LUFA DFU     lufa-dfu
 | ||||||
| F_CPU = 12000000 | #   QMK DFU      qmk-dfu
 | ||||||
| 
 | #   ATmega32A    bootloadHID
 | ||||||
| # Bootloader
 | #   ATmega328P   USBasp
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 |  | ||||||
| #     different sizes, comment this out, and the correct address will be loaded 
 |  | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 |  | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
| @ -56,7 +52,3 @@ SLEEP_LED_ENABLE = no    # Breathing sleep LED during USB suspend | |||||||
| # custom matrix setup
 | # custom matrix setup
 | ||||||
| CUSTOM_MATRIX = yes | CUSTOM_MATRIX = yes | ||||||
| SRC = matrix.c i2c.c backlight.c | SRC = matrix.c i2c.c backlight.c | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
|  | |||||||
| @ -15,19 +15,15 @@ | |||||||
| 
 | 
 | ||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_UART = yes | #   Teensy       halfkay
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Pro Micro    caterina
 | ||||||
| 
 | #   Atmel DFU    atmel-dfu
 | ||||||
| # processor frequency
 | #   LUFA DFU     lufa-dfu
 | ||||||
| F_CPU = 12000000 | #   QMK DFU      qmk-dfu
 | ||||||
| 
 | #   ATmega32A    bootloadHID
 | ||||||
| # Bootloader
 | #   ATmega328P   USBasp
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 |  | ||||||
| #     different sizes, comment this out, and the correct address will be loaded
 |  | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 |  | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
| @ -53,6 +49,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||||||
| # custom matrix setup
 | # custom matrix setup
 | ||||||
| CUSTOM_MATRIX = yes | CUSTOM_MATRIX = yes | ||||||
| SRC = matrix.c i2c.c backlight.c | SRC = matrix.c i2c.c backlight.c | ||||||
| 
 |  | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
|  | |||||||
| @ -16,6 +16,16 @@ | |||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| 
 | 
 | ||||||
|  | # Bootloader selection
 | ||||||
|  | #   Teensy       halfkay
 | ||||||
|  | #   Pro Micro    caterina
 | ||||||
|  | #   Atmel DFU    atmel-dfu
 | ||||||
|  | #   LUFA DFU     lufa-dfu
 | ||||||
|  | #   QMK DFU      qmk-dfu
 | ||||||
|  | #   ATmega32A    bootloadHID
 | ||||||
|  | #   ATmega328P   USBasp
 | ||||||
|  | BOOTLOADER = bootloadHID | ||||||
|  | 
 | ||||||
| # build options
 | # build options
 | ||||||
| BOOTMAGIC_ENABLE = no | BOOTMAGIC_ENABLE = no | ||||||
| MOUSEKEY_ENABLE = yes | MOUSEKEY_ENABLE = yes | ||||||
| @ -29,5 +39,3 @@ RGBLIGHT_ENABLE = no | |||||||
| RGBLIGHT_CUSTOM_DRIVER = no | RGBLIGHT_CUSTOM_DRIVER = no | ||||||
| 
 | 
 | ||||||
| OPT_DEFS = -DDEBUG_LEVEL=0 | OPT_DEFS = -DDEBUG_LEVEL=0 | ||||||
| BOOTLOADER = bootloadHID |  | ||||||
| 
 |  | ||||||
|  | |||||||
| @ -15,19 +15,15 @@ | |||||||
| 
 | 
 | ||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| PROTOCOL = VUSB |  | ||||||
| 
 | 
 | ||||||
| # unsupported features for now
 | # Bootloader selection
 | ||||||
| NO_UART = yes | #   Teensy       halfkay
 | ||||||
| NO_SUSPEND_POWER_DOWN = yes | #   Pro Micro    caterina
 | ||||||
| 
 | #   Atmel DFU    atmel-dfu
 | ||||||
| # processor frequency
 | #   LUFA DFU     lufa-dfu
 | ||||||
| F_CPU = 12000000 | #   QMK DFU      qmk-dfu
 | ||||||
| 
 | #   ATmega32A    bootloadHID
 | ||||||
| # Bootloader
 | #   ATmega328P   USBasp
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 |  | ||||||
| #     different sizes, comment this out, and the correct address will be loaded
 |  | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 |  | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
| @ -54,6 +50,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0 | |||||||
| # custom matrix setup
 | # custom matrix setup
 | ||||||
| CUSTOM_MATRIX = yes | CUSTOM_MATRIX = yes | ||||||
| SRC = matrix.c i2c.c backlight.c | SRC = matrix.c i2c.c backlight.c | ||||||
| 
 |  | ||||||
| # programming options
 |  | ||||||
| PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex |  | ||||||
|  | |||||||
| @ -1,17 +1,16 @@ | |||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32u4 | MCU = atmega32u4 | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| # Bootloader selection
 | # Bootloader selection
 | ||||||
| #   Teensy       halfkay
 | #   Teensy       halfkay
 | ||||||
| #   Pro Micro    caterina
 | #   Pro Micro    caterina
 | ||||||
| #   Atmel DFU    atmel-dfu
 | #   Atmel DFU    atmel-dfu
 | ||||||
| #   LUFA DFU     lufa-dfu
 | #   LUFA DFU     lufa-dfu
 | ||||||
| #   QMK DFU      qmk-dfu
 | #   QMK DFU      qmk-dfu
 | ||||||
| #   atmega32a    bootloadHID
 | #   ATmega32A    bootloadHID
 | ||||||
|  | #   ATmega328P   USBasp
 | ||||||
| BOOTLOADER = atmel-dfu | BOOTLOADER = atmel-dfu | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| # If you don't know the bootloader type, then you can specify the
 | # If you don't know the bootloader type, then you can specify the
 | ||||||
| # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
 | # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
 | ||||||
| #   Teensy halfKay      512
 | #   Teensy halfKay      512
 | ||||||
| @ -21,7 +20,6 @@ BOOTLOADER = atmel-dfu | |||||||
| #   USBaspLoader        2048
 | #   USBaspLoader        2048
 | ||||||
| # OPT_DEFS += -DBOOTLOADER_SIZE=4096
 | # OPT_DEFS += -DBOOTLOADER_SIZE=4096
 | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| # Build Options
 | # Build Options
 | ||||||
| #   change yes to no to disable
 | #   change yes to no to disable
 | ||||||
| #
 | #
 | ||||||
|  | |||||||
| @ -1,10 +1,14 @@ | |||||||
| # MCU name
 | # MCU name
 | ||||||
| MCU = atmega32a | MCU = atmega32a | ||||||
| 
 | 
 | ||||||
| # Bootloader
 | # Bootloader selection
 | ||||||
| #     This definition is optional, and if your keyboard supports multiple bootloaders of
 | #   Teensy       halfkay
 | ||||||
| #     different sizes, comment this out, and the correct address will be loaded
 | #   Pro Micro    caterina
 | ||||||
| #     automatically (+60). See bootloader.mk for all options.
 | #   Atmel DFU    atmel-dfu
 | ||||||
|  | #   LUFA DFU     lufa-dfu
 | ||||||
|  | #   QMK DFU      qmk-dfu
 | ||||||
|  | #   ATmega32A    bootloadHID
 | ||||||
|  | #   ATmega328P   USBasp
 | ||||||
| BOOTLOADER = bootloadHID | BOOTLOADER = bootloadHID | ||||||
| 
 | 
 | ||||||
| # build options
 | # build options
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 fauxpark
						fauxpark