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