aboutsummaryrefslogtreecommitdiff
path: root/quantum/template/avr
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/template/avr')
-rw-r--r--quantum/template/avr/config.h31
-rw-r--r--quantum/template/avr/readme.md2
-rw-r--r--quantum/template/avr/rules.mk25
-rw-r--r--quantum/template/avr/template.h14
4 files changed, 53 insertions, 19 deletions
diff --git a/quantum/template/avr/config.h b/quantum/template/avr/config.h
index caa72af0c..eed50e5c0 100644
--- a/quantum/template/avr/config.h
+++ b/quantum/template/avr/config.h
@@ -48,17 +48,35 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
48/* COL2ROW, ROW2COL, or CUSTOM_MATRIX */ 48/* COL2ROW, ROW2COL, or CUSTOM_MATRIX */
49#define DIODE_DIRECTION COL2ROW 49#define DIODE_DIRECTION COL2ROW
50 50
51/*
52 * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
53 */
54#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
55
51// #define BACKLIGHT_PIN B7 56// #define BACKLIGHT_PIN B7
52// #define BACKLIGHT_BREATHING 57// #define BACKLIGHT_BREATHING
53// #define BACKLIGHT_LEVELS 3 58// #define BACKLIGHT_LEVELS 3
54 59
55// #define RGB_DI_PIN E2 60// #define RGB_DI_PIN E2
56// #ifdef RGB_DI_PIN 61// #ifdef RGB_DI_PIN
57// #define RGBLIGHT_ANIMATIONS 62// #define RGBLED_NUM 16
58// #define RGBLED_NUM 16 63// #define RGBLIGHT_HUE_STEP 8
59// #define RGBLIGHT_HUE_STEP 8 64// #define RGBLIGHT_SAT_STEP 8
60// #define RGBLIGHT_SAT_STEP 8 65// #define RGBLIGHT_VAL_STEP 8
61// #define RGBLIGHT_VAL_STEP 8 66// #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
67// #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
68// /*== all animations enable ==*/
69// #define RGBLIGHT_ANIMATIONS
70// /*== or choose animations ==*/
71// #define RGBLIGHT_EFFECT_BREATHING
72// #define RGBLIGHT_EFFECT_RAINBOW_MOOD
73// #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
74// #define RGBLIGHT_EFFECT_SNAKE
75// #define RGBLIGHT_EFFECT_KNIGHT
76// #define RGBLIGHT_EFFECT_CHRISTMAS
77// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
78// #define RGBLIGHT_EFFECT_RGB_TEST
79// #define RGBLIGHT_EFFECT_ALTERNATING
62// #endif 80// #endif
63 81
64/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ 82/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
@@ -222,3 +240,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
222#endif 240#endif
223*/ 241*/
224 242
243/* Bootmagic Lite key configuration */
244// #define BOOTMAGIC_LITE_ROW 0
245// #define BOOTMAGIC_LITE_COLUMN 0
diff --git a/quantum/template/avr/readme.md b/quantum/template/avr/readme.md
index d9349811d..d243c66a9 100644
--- a/quantum/template/avr/readme.md
+++ b/quantum/template/avr/readme.md
@@ -12,4 +12,4 @@ Make example for this keyboard (after setting up your build environment):
12 12
13 make %KEYBOARD%:default 13 make %KEYBOARD%:default
14 14
15See [build environment setup](https://docs.qmk.fm/build_environment_setup.html) then the [make instructions](https://docs.qmk.fm/make_instructions.html) for more information. \ No newline at end of file 15See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
diff --git a/quantum/template/avr/rules.mk b/quantum/template/avr/rules.mk
index 92f3a03a9..383a3594b 100644
--- a/quantum/template/avr/rules.mk
+++ b/quantum/template/avr/rules.mk
@@ -39,13 +39,24 @@ F_USB = $(F_CPU)
39OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT 39OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
40 40
41 41
42# Boot Section Size in *bytes* 42# Bootloader selection
43# Teensy halfKay 512 43# Teensy halfkay
44# Teensy++ halfKay 1024 44# Pro Micro caterina
45# Atmel DFU loader 4096 45# Atmel DFU atmel-dfu
46# LUFA bootloader 4096 46# LUFA DFU lufa-dfu
47# USBaspLoader 2048 47# QMK DFU qmk-dfu
48OPT_DEFS += -DBOOTLOADER_SIZE=4096 48# atmega32a bootloadHID
49BOOTLOADER = atmel-dfu
50
51
52# If you don't know the bootloader type, then you can specify the
53# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
54# Teensy halfKay 512
55# Teensy++ halfKay 1024
56# Atmel DFU loader 4096
57# LUFA bootloader 4096
58# USBaspLoader 2048
59# OPT_DEFS += -DBOOTLOADER_SIZE=4096
49 60
50 61
51# Build Options 62# Build Options
diff --git a/quantum/template/avr/template.h b/quantum/template/avr/template.h
index 031efc952..0d626ed50 100644
--- a/quantum/template/avr/template.h
+++ b/quantum/template/avr/template.h
@@ -18,12 +18,14 @@
18 18
19#include "quantum.h" 19#include "quantum.h"
20 20
21// This a shortcut to help you visually see your layout. 21/* This a shortcut to help you visually see your layout.
22// The following is an example using the Planck MIT layout 22 *
23// The first section contains all of the arguments representing the physical 23 * The first section contains all of the arguments representing the physical
24// layout of the board and position of the keys 24 * layout of the board and position of the keys.
25// The second converts the arguments into a two-dimensional array which 25 *
26// represents the switch matrix. 26 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix.
28 */
27#define LAYOUT( \ 29#define LAYOUT( \
28 K00, K01, K02, \ 30 K00, K01, K02, \
29 K10, K11 \ 31 K10, K11 \