aboutsummaryrefslogtreecommitdiff
path: root/keyboards/handwired/reddot/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/reddot/rules.mk')
-rwxr-xr-xkeyboards/handwired/reddot/rules.mk24
1 files changed, 1 insertions, 23 deletions
diff --git a/keyboards/handwired/reddot/rules.mk b/keyboards/handwired/reddot/rules.mk
index a72249523..dfe1c7174 100755
--- a/keyboards/handwired/reddot/rules.mk
+++ b/keyboards/handwired/reddot/rules.mk
@@ -2,23 +2,7 @@
2MCU = atmega32u4 2MCU = atmega32u4
3 3
4# Bootloader selection 4# Bootloader selection
5# Teensy halfkay 5BOOTLOADER = caterina
6# Pro Micro caterina
7# Atmel DFU atmel-dfu
8# LUFA DFU lufa-dfu
9# QMK DFU qmk-dfu
10# ATmega32A bootloadHID
11# ATmega328P USBasp
12ifdef TEENSY2
13 BOOTLOADER = halfkay
14 OPT_DEFS += -DATREUS_TEENSY2
15 ATREUS_UPLOAD_COMMAND = teensy_loader_cli -w -mmcu=$(MCU) $(TARGET).hex
16else
17 BOOTLOADER = caterina
18 OPT_DEFS += -DATREUS_ASTAR
19 ATREUS_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done; \
20 avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB)
21endif
22 6
23# Build Options 7# Build Options
24# change yes to no to disable 8# change yes to no to disable
@@ -36,9 +20,3 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by d
36UNICODE_ENABLE = no # Unicode 20UNICODE_ENABLE = no # Unicode
37BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 21BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
38AUDIO_ENABLE = no # Audio output on port C6 22AUDIO_ENABLE = no # Audio output on port C6
39
40# upload: build
41# $(ATREUS_UPLOAD_COMMAND)
42
43# for avr upload
44USB = /dev/cu.usbmodem1421