diff options
author | Jack Humbert <jack.humb@gmail.com> | 2018-07-16 11:48:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-16 11:48:31 -0400 |
commit | ade22f8e2c272044ea2f80ff6fe5ca9576858939 (patch) | |
tree | 03c0131fa5982afc10a60e1fdd38a60be750291b /quantum/config_common.h | |
parent | 96cb9f4661faa80e795b1e6731b7a8e8a50bd0cb (diff) | |
download | qmk_firmware-ade22f8e2c272044ea2f80ff6fe5ca9576858939.tar.gz qmk_firmware-ade22f8e2c272044ea2f80ff6fe5ca9576858939.zip |
Adds support for Planck Rev 6 (#2666)
* initial files for rev 6 with encoder
* music map init, dip scan added
* adds ws2812 driver for arm
* flesh out dip and encoder support
* adds default encoder res
* adds default encoder res
* start muse implementation
* muse working with encoder as control
* flip direction
* try mouse wheel again
* dont break other revs
* dont break other revs
* conditional autio
* pwm ws driver (not working)
* update build includes for chibios
* update ws2812 driver/config
* last commit for glasser code
* working example
* remove rgb for now
* finish up rev6
* working encoder keycodes
* add warnings to planck keymaps about the LAYOUT
Diffstat (limited to 'quantum/config_common.h')
-rw-r--r-- | quantum/config_common.h | 102 |
1 files changed, 52 insertions, 50 deletions
diff --git a/quantum/config_common.h b/quantum/config_common.h index 4c6a702af..f6f51b367 100644 --- a/quantum/config_common.h +++ b/quantum/config_common.h | |||
@@ -22,56 +22,58 @@ | |||
22 | #define ROW2COL 1 | 22 | #define ROW2COL 1 |
23 | #define CUSTOM_MATRIX 2 /* Disables built-in matrix scanning code */ | 23 | #define CUSTOM_MATRIX 2 /* Disables built-in matrix scanning code */ |
24 | 24 | ||
25 | /* I/O pins */ | 25 | #ifdef __AVR__ |
26 | #ifndef F0 | 26 | /* I/O pins */ |
27 | #define B0 0x30 | 27 | #ifndef F0 |
28 | #define B1 0x31 | 28 | #define B0 0x30 |
29 | #define B2 0x32 | 29 | #define B1 0x31 |
30 | #define B3 0x33 | 30 | #define B2 0x32 |
31 | #define B4 0x34 | 31 | #define B3 0x33 |
32 | #define B5 0x35 | 32 | #define B4 0x34 |
33 | #define B6 0x36 | 33 | #define B5 0x35 |
34 | #define B7 0x37 | 34 | #define B6 0x36 |
35 | #define C0 0x60 | 35 | #define B7 0x37 |
36 | #define C1 0x61 | 36 | #define C0 0x60 |
37 | #define C2 0x62 | 37 | #define C1 0x61 |
38 | #define C3 0x63 | 38 | #define C2 0x62 |
39 | #define C4 0x64 | 39 | #define C3 0x63 |
40 | #define C5 0x65 | 40 | #define C4 0x64 |
41 | #define C6 0x66 | 41 | #define C5 0x65 |
42 | #define C7 0x67 | 42 | #define C6 0x66 |
43 | #define D0 0x90 | 43 | #define C7 0x67 |
44 | #define D1 0x91 | 44 | #define D0 0x90 |
45 | #define D2 0x92 | 45 | #define D1 0x91 |
46 | #define D3 0x93 | 46 | #define D2 0x92 |
47 | #define D4 0x94 | 47 | #define D3 0x93 |
48 | #define D5 0x95 | 48 | #define D4 0x94 |
49 | #define D6 0x96 | 49 | #define D5 0x95 |
50 | #define D7 0x97 | 50 | #define D6 0x96 |
51 | #define E0 0xC0 | 51 | #define D7 0x97 |
52 | #define E1 0xC1 | 52 | #define E0 0xC0 |
53 | #define E2 0xC2 | 53 | #define E1 0xC1 |
54 | #define E3 0xC3 | 54 | #define E2 0xC2 |
55 | #define E4 0xC4 | 55 | #define E3 0xC3 |
56 | #define E5 0xC5 | 56 | #define E4 0xC4 |
57 | #define E6 0xC6 | 57 | #define E5 0xC5 |
58 | #define E7 0xC7 | 58 | #define E6 0xC6 |
59 | #define F0 0xF0 | 59 | #define E7 0xC7 |
60 | #define F1 0xF1 | 60 | #define F0 0xF0 |
61 | #define F2 0xF2 | 61 | #define F1 0xF1 |
62 | #define F3 0xF3 | 62 | #define F2 0xF2 |
63 | #define F4 0xF4 | 63 | #define F3 0xF3 |
64 | #define F5 0xF5 | 64 | #define F4 0xF4 |
65 | #define F6 0xF6 | 65 | #define F5 0xF5 |
66 | #define F7 0xF7 | 66 | #define F6 0xF6 |
67 | #define A0 0x00 | 67 | #define F7 0xF7 |
68 | #define A1 0x01 | 68 | #define A0 0x00 |
69 | #define A2 0x02 | 69 | #define A1 0x01 |
70 | #define A3 0x03 | 70 | #define A2 0x02 |
71 | #define A4 0x04 | 71 | #define A3 0x03 |
72 | #define A5 0x05 | 72 | #define A4 0x04 |
73 | #define A6 0x06 | 73 | #define A5 0x05 |
74 | #define A7 0x07 | 74 | #define A6 0x06 |
75 | #define A7 0x07 | ||
76 | #endif | ||
75 | #endif | 77 | #endif |
76 | 78 | ||
77 | /* USART configuration */ | 79 | /* USART configuration */ |