summaryrefslogtreecommitdiff
path: root/keyboards/1upkeyboards/sweet16
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-11-15 13:25:40 +1100
committerJames Young <18669334+noroadsleft@users.noreply.github.com>2019-11-14 18:25:40 -0800
commitf98750de6edf97559ed53be4b5b5c1b4851acf3e (patch)
treed555bc93b4beedc78f6d4a615e2b45a6d324aca8 /keyboards/1upkeyboards/sweet16
parentc19e4da8af6954c70760ef3803fbf729d007c1d8 (diff)
downloadqmk_firmware-f98750de6edf97559ed53be4b5b5c1b4851acf3e.tar.gz
qmk_firmware-f98750de6edf97559ed53be4b5b5c1b4851acf3e.zip
[Core] Cleanup rules.mk for F303 keyboards (#7306)
* Cleanup rules.mk for F303 keyboards * Fix small typo
Diffstat (limited to 'keyboards/1upkeyboards/sweet16')
-rw-r--r--keyboards/1upkeyboards/sweet16/v1/rules.mk16
-rw-r--r--keyboards/1upkeyboards/sweet16/v2/promicro/rules.mk13
-rw-r--r--keyboards/1upkeyboards/sweet16/v2/proton_c/rules.mk1
3 files changed, 27 insertions, 3 deletions
diff --git a/keyboards/1upkeyboards/sweet16/v1/rules.mk b/keyboards/1upkeyboards/sweet16/v1/rules.mk
index 0defba1f19..09bd9e9e25 100644
--- a/keyboards/1upkeyboards/sweet16/v1/rules.mk
+++ b/keyboards/1upkeyboards/sweet16/v1/rules.mk
@@ -1,5 +1,17 @@
+# MCU name
MCU = atmega32u4
+
+# Bootloader selection
+# Teensy halfkay
+# Pro Micro caterina
+# Atmel DFU atmel-dfu
+# LUFA DFU lufa-dfu
+# QMK DFU qmk-dfu
+# ATmega32A bootloadHID
+# ATmega328P USBasp
BOOTLOADER = caterina
-LINK_TIME_OPTIMIZATION_ENABLE=yes
+
RGBLIGHT_ENABLE = yes
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+
+LINK_TIME_OPTIMIZATION_ENABLE = yes
diff --git a/keyboards/1upkeyboards/sweet16/v2/promicro/rules.mk b/keyboards/1upkeyboards/sweet16/v2/promicro/rules.mk
index 4b08a7e6b0..9f38504a8c 100644
--- a/keyboards/1upkeyboards/sweet16/v2/promicro/rules.mk
+++ b/keyboards/1upkeyboards/sweet16/v2/promicro/rules.mk
@@ -1,6 +1,15 @@
+# MCU name
MCU = atmega32u4
+
+# Bootloader selection
+# Teensy halfkay
+# Pro Micro caterina
+# Atmel DFU atmel-dfu
+# LUFA DFU lufa-dfu
+# QMK DFU qmk-dfu
+# ATmega32A bootloadHID
+# ATmega328P USBasp
BOOTLOADER = caterina
-LINK_TIME_OPTIMIZATION_ENABLE=yes
## Features
CONSOLE_ENABLE = yes
@@ -8,3 +17,5 @@ CONSOLE_ENABLE = yes
## On a Pro Micro you have to choose between underglow and the rotary encoder.
RGBLIGHT_ENABLE = no
ENCODER_ENABLE = yes
+
+LINK_TIME_OPTIMIZATION_ENABLE = yes
diff --git a/keyboards/1upkeyboards/sweet16/v2/proton_c/rules.mk b/keyboards/1upkeyboards/sweet16/v2/proton_c/rules.mk
index 3bfa1623fd..dedcf043af 100644
--- a/keyboards/1upkeyboards/sweet16/v2/proton_c/rules.mk
+++ b/keyboards/1upkeyboards/sweet16/v2/proton_c/rules.mk
@@ -1,3 +1,4 @@
+# MCU name
MCU = STM32F303
## Features