aboutsummaryrefslogtreecommitdiff
path: root/keyboards/coarse/cordillera
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/coarse/cordillera')
-rw-r--r--keyboards/coarse/cordillera/chconf.h31
-rw-r--r--keyboards/coarse/cordillera/config.h75
-rw-r--r--keyboards/coarse/cordillera/cordillera.c18
-rw-r--r--keyboards/coarse/cordillera/cordillera.h90
-rw-r--r--keyboards/coarse/cordillera/halconf.h27
-rw-r--r--keyboards/coarse/cordillera/info.json299
-rwxr-xr-xkeyboards/coarse/cordillera/keymaps/default/keymap.c34
-rw-r--r--keyboards/coarse/cordillera/keymaps/via/keymap.c48
-rw-r--r--keyboards/coarse/cordillera/keymaps/via/rules.mk1
-rw-r--r--keyboards/coarse/cordillera/mcuconf.h31
-rw-r--r--keyboards/coarse/cordillera/readme.md15
-rw-r--r--keyboards/coarse/cordillera/rules.mk23
12 files changed, 692 insertions, 0 deletions
diff --git a/keyboards/coarse/cordillera/chconf.h b/keyboards/coarse/cordillera/chconf.h
new file mode 100644
index 000000000..4f9d43325
--- /dev/null
+++ b/keyboards/coarse/cordillera/chconf.h
@@ -0,0 +1,31 @@
1/* Copyright 2020 QMK
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17/*
18 * This file was auto-generated by:
19 * `qmk chibios-confmigrate -i keyboards/coarse/cordillera/chconf.h -r platforms/chibios/common/configs/chconf.h`
20 */
21
22#pragma once
23
24#define CH_CFG_ST_FREQUENCY 10000
25
26#define CH_CFG_OPTIMIZE_SPEED FALSE
27
28#define CH_CFG_USE_CONDVARS_TIMEOUT FALSE
29
30#include_next <chconf.h>
31
diff --git a/keyboards/coarse/cordillera/config.h b/keyboards/coarse/cordillera/config.h
new file mode 100644
index 000000000..1d8c9e294
--- /dev/null
+++ b/keyboards/coarse/cordillera/config.h
@@ -0,0 +1,75 @@
1/*
2Copyright 2020 coarse <[email protected]>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20/* USB Device descriptor parameter */
21#define VENDOR_ID 0x434B // CK for Coarse Keys
22#define PRODUCT_ID 0x1401 // '20 - 001
23#define DEVICE_VER 0x0001 // Revision prototype
24#define MANUFACTURER Coarse
25#define PRODUCT Cordillera
26
27/* key matrix size */
28#define MATRIX_ROWS 5
29#define MATRIX_COLS 16
30
31#define MATRIX_ROW_PINS { A13, B9, F1, A10, A9 }
32#define MATRIX_COL_PINS { B15, B14, B13, B12, B11, B10, B2, B1, B8, B7, B6, B5, B4, B3, A15, A14 }
33#define DIODE_DIRECTION COL2ROW
34
35#define LED_NUM_LOCK_PIN B0
36#define LED_CAPS_LOCK_PIN A1
37#define LED_SCROLL_LOCK_PIN A0
38#define LED_PIN_ON_STATE 0
39
40#define BACKLIGHT_PIN A8
41#define BACKLIGHT_PWM_DRIVER PWMD1
42#define BACKLIGHT_PWM_CHANNEL 1
43#define BACKLIGHT_PAL_MODE 1
44#define BACKLIGHT_LEVELS 6
45#define BACKLIGHT_BREATHING
46#define BREATHING_PERIOD 6
47
48/* define if matrix has ghost */
49//#define MATRIX_HAS_GHOST
50
51/* Set 0 if debouncing isn't needed */
52#define DEBOUNCE 5
53
54/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
55#define LOCKING_SUPPORT_ENABLE
56/* Locking resynchronize hack */
57#define LOCKING_RESYNC_ENABLE
58
59/*
60 * Feature disable options
61 * These options are also useful to firmware size reduction.
62 */
63
64/* disable debug print */
65//#define NO_DEBUG
66
67/* disable print */
68//#define NO_PRINT
69
70/* disable action features */
71//#define NO_ACTION_LAYER
72//#define NO_ACTION_TAPPING
73//#define NO_ACTION_ONESHOT
74//#define NO_ACTION_MACRO
75//#define NO_ACTION_FUNCTION
diff --git a/keyboards/coarse/cordillera/cordillera.c b/keyboards/coarse/cordillera/cordillera.c
new file mode 100644
index 000000000..437547ff2
--- /dev/null
+++ b/keyboards/coarse/cordillera/cordillera.c
@@ -0,0 +1,18 @@
1/*
2Copyright 2020 coarse <[email protected]>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#include "cordillera.h"
diff --git a/keyboards/coarse/cordillera/cordillera.h b/keyboards/coarse/cordillera/cordillera.h
new file mode 100644
index 000000000..01ae781cf
--- /dev/null
+++ b/keyboards/coarse/cordillera/cordillera.h
@@ -0,0 +1,90 @@
1/*
2Copyright 2020 coarse <[email protected]>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "quantum.h"
21
22#define XXX KC_NO
23
24// Full backspace
25// Split right shift
26#define LAYOUT_alice( \
27 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0f, \
28 k10, k11, k12, k13, k14, k15, k16, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, \
29 k20, k21, k22, k23, k24, k25, k26, k28, k29, k2a, k2b, k2c, k2d, k2f, \
30 k31, k32, k33, k34, k35, k36, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, \
31 k41, k43, k45, k46, k49, k4b, k4f \
32) \
33{ \
34 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, XXX, k0f }, \
35 { k10, k11, k12, k13, k14, k15, k16, XXX, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f }, \
36 { k20, k21, k22, k23, k24, k25, k26, XXX, k28, k29, k2a, k2b, k2c, k2d, XXX, k2f }, \
37 { XXX, k31, k32, k33, k34, k35, k36, XXX, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f }, \
38 { XXX, k41, XXX, k43, XXX, k45, k46, XXX, XXX, k49, XXX, k4b, XXX, XXX, XXX, k4f }, \
39}
40
41// Split backspace
42// Split right shift
43#define LAYOUT_alice_split_bs( \
44 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, \
45 k10, k11, k12, k13, k14, k15, k16, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, \
46 k20, k21, k22, k23, k24, k25, k26, k28, k29, k2a, k2b, k2c, k2d, k2f, \
47 k31, k32, k33, k34, k35, k36, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, \
48 k41, k43, k45, k46, k49, k4b, k4f \
49) \
50{ \
51 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f }, \
52 { k10, k11, k12, k13, k14, k15, k16, XXX, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f }, \
53 { k20, k21, k22, k23, k24, k25, k26, XXX, k28, k29, k2a, k2b, k2c, k2d, XXX, k2f }, \
54 { XXX, k31, k32, k33, k34, k35, k36, XXX, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f }, \
55 { XXX, k41, XXX, k43, XXX, k45, k46, XXX, XXX, k49, XXX, k4b, XXX, XXX, XXX, k4f }, \
56}
57
58// Split backspace
59// Full right shift
60#define LAYOUT_alice_split_bs_full_rshift( \
61 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, \
62 k10, k11, k12, k13, k14, k15, k16, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, \
63 k20, k21, k22, k23, k24, k25, k26, k28, k29, k2a, k2b, k2c, k2d, k2f, \
64 k31, k32, k33, k34, k35, k36, k38, k39, k3a, k3b, k3c, k3d, k3e, \
65 k41, k43, k45, k46, k49, k4b, k4f \
66) \
67{ \
68 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f }, \
69 { k10, k11, k12, k13, k14, k15, k16, XXX, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f }, \
70 { k20, k21, k22, k23, k24, k25, k26, XXX, k28, k29, k2a, k2b, k2c, k2d, XXX, k2f }, \
71 { XXX, k31, k32, k33, k34, k35, k36, XXX, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f }, \
72 { XXX, k41, XXX, k43, XXX, k45, k46, XXX, XXX, k49, XXX, k4b, XXX, XXX, XXX, k4f }, \
73}
74
75// Full backspace
76// Full right shift
77#define LAYOUT_alice_full_rshift( \
78 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0f, \
79 k10, k11, k12, k13, k14, k15, k16, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, \
80 k20, k21, k22, k23, k24, k25, k26, k28, k29, k2a, k2b, k2c, k2d, k2f, \
81 k31, k32, k33, k34, k35, k36, k38, k39, k3a, k3b, k3c, k3d, k3e, \
82 k41, k43, k45, k46, k49, k4b, k4f \
83) \
84{ \
85 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, XXX, k0f }, \
86 { k10, k11, k12, k13, k14, k15, k16, XXX, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f }, \
87 { k20, k21, k22, k23, k24, k25, k26, XXX, k28, k29, k2a, k2b, k2c, k2d, XXX, k2f }, \
88 { XXX, k31, k32, k33, k34, k35, k36, XXX, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f }, \
89 { XXX, k41, XXX, k43, XXX, k45, k46, XXX, XXX, k49, XXX, k4b, XXX, XXX, XXX, k4f }, \
90}
diff --git a/keyboards/coarse/cordillera/halconf.h b/keyboards/coarse/cordillera/halconf.h
new file mode 100644
index 000000000..a10baad43
--- /dev/null
+++ b/keyboards/coarse/cordillera/halconf.h
@@ -0,0 +1,27 @@
1/* Copyright 2020 QMK
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17/*
18 * This file was auto-generated by:
19 * `qmk chibios-confmigrate -i keyboards/coarse/cordillera/halconf.h -r platforms/chibios/common/configs/halconf.h`
20 */
21
22#pragma once
23
24#define HAL_USE_PWM TRUE
25
26#include_next <halconf.h>
27
diff --git a/keyboards/coarse/cordillera/info.json b/keyboards/coarse/cordillera/info.json
new file mode 100644
index 000000000..a94459180
--- /dev/null
+++ b/keyboards/coarse/cordillera/info.json
@@ -0,0 +1,299 @@
1{
2 "keyboard_name": "Cordillera",
3 "url": "https://keyboard.coarse.tech/Cordillera-Alice-like-PCB-b34d95777ea44249bad3271b01d7838a",
4 "maintainer": "coarse",
5 "layouts": {
6 "LAYOUT_alice": {
7 "layout": [
8 {"label":"Esc", "x":0.5, "y":0},
9 {"label":"`", "x":1.75, "y":0.25},
10 {"label":"1", "x":2.75, "y":0.25},
11 {"label":"2", "x":3.75, "y":0},
12 {"label":"3", "x":4.75, "y":0.25},
13 {"label":"4", "x":5.75, "y":0.25},
14 {"label":"5", "x":6.75, "y":0.25},
15 {"label":"6", "x":7.75, "y":0.25},
16 {"label":"7", "x":11, "y":0.25},
17 {"label":"8", "x":12, "y":0.25},
18 {"label":"9", "x":13, "y":0.25},
19 {"label":"0", "x":14, "y":0.25},
20 {"label":"-", "x":15, "y":0},
21 {"label":"=", "x":16, "y":0.25},
22 {"label":"Backspace", "x":17, "y":0.25, "w":2},
23
24 {"label":"PgUp", "x":0.25, "y":1},
25 {"label":"Tab", "x":1.5, "y":1.25, "w":1.5},
26 {"label":"Q", "x":3, "y":1.25},
27 {"label":"W", "x":4.25, "y":1.25},
28 {"label":"E", "x":5.25, "y":1.25},
29 {"label":"R", "x":6.25, "y":1.25},
30 {"label":"T", "x":7.25, "y":1.25},
31 {"label":"Y", "x":10.5, "y":1.25},
32 {"label":"U", "x":11.5, "y":1.25},
33 {"label":"I", "x":12.5, "y":1.25},
34 {"label":"O", "x":13.5, "y":1.25},
35 {"label":"P", "x":14.75, "y":1.25},
36 {"label":"{", "x":15.75, "y":1.25},
37 {"label":"}", "x":16.75, "y":1.25},
38 {"label":"|", "x":17.75, "y":1.25, "w":1.5},
39
40 {"label":"PgDn", "x":0, "y":2},
41 {"label":"Caps Lock", "x":1.5, "y":2.25, "w":1.75},
42 {"label":"A", "x":3.25, "y":2.25},
43 {"label":"S", "x":4.5, "y":2.25},
44 {"label":"D", "x":5.5, "y":2.25},
45 {"label":"F", "x":6.5, "y":2.25},
46 {"label":"G", "x":7.5, "y":2.25},
47 {"label":"H", "x":10.75, "y":2.25},
48 {"label":"J", "x":11.75, "y":2.25},
49 {"label":"K", "x":12.75, "y":2.25},
50 {"label":"L", "x":13.75, "y":2.25},
51 {"label":":", "x":15.25, "y":2.25},
52 {"label":"\"", "x":16.25, "y":2.25},
53 {"label":"Enter", "x":17.25, "y":2.25, "w":2.25},
54
55 {"label":"Shift", "x":1.5, "y":3.25, "w":2.25},
56 {"label":"Z", "x":3.75, "y":3.25},
57 {"label":"X", "x":5, "y":3.25},
58 {"label":"C", "x":6, "y":3.25},
59 {"label":"V", "x":7, "y":3.25},
60 {"label":"B", "x":8, "y":3.25},
61 {"label":"Fn", "x":10.25, "y":3.25},
62 {"label":"N", "x":11.25, "y":3.25},
63 {"label":"M", "x":12.25, "y":3.25},
64 {"label":"<", "x":13.25, "y":3.25},
65 {"label":">", "x":15, "y":3.25},
66 {"label":"?", "x":16, "y":3.25},
67 {"label":"Shift", "x":17, "y":3.25, "w":1.75},
68 {"label":"Fn", "x":18.75, "y":3.25},
69
70 {"label":"Ctrl", "x":1.5, "y":4.25, "w":1.5},
71 {"label":"Alt", "x":5, "y":4.25, "w":1.5},
72 {"label":"Space", "x":6.5, "y":4.25, "w":2},
73 {"label":"Menu", "x":8.5, "y":4.25},
74 {"label":"Space", "x":10.25, "y":4.25, "w":2.75},
75 {"label":"Alt", "x":13, "y":4.25, "w":1.5},
76 {"label":"Ctrl", "x":18, "y":4.25, "w":1.5}
77 ]
78 },
79 "LAYOUT_alice_split_bs": {
80 "layout": [
81 {"label":"Esc", "x":0.5, "y":0},
82 {"label":"`", "x":1.75, "y":0.25},
83 {"label":"1", "x":2.75, "y":0.25},
84 {"label":"2", "x":3.75, "y":0},
85 {"label":"3", "x":4.75, "y":0.25},
86 {"label":"4", "x":5.75, "y":0.25},
87 {"label":"5", "x":6.75, "y":0.25},
88 {"label":"6", "x":7.75, "y":0.25},
89 {"label":"7", "x":11, "y":0.25},
90 {"label":"8", "x":12, "y":0.25},
91 {"label":"9", "x":13, "y":0.25},
92 {"label":"0", "x":14, "y":0.25},
93 {"label":"-", "x":15, "y":0},
94 {"label":"=", "x":16, "y":0.25},
95 {"label":"Del", "x":17, "y":0.25},
96 {"label":"Backspace", "x":18, "y":0.25},
97
98 {"label":"PgUp", "x":0.25, "y":1},
99 {"label":"Tab", "x":1.5, "y":1.25, "w":1.5},
100 {"label":"Q", "x":3, "y":1.25},
101 {"label":"W", "x":4.25, "y":1.25},
102 {"label":"E", "x":5.25, "y":1.25},
103 {"label":"R", "x":6.25, "y":1.25},
104 {"label":"T", "x":7.25, "y":1.25},
105 {"label":"Y", "x":10.5, "y":1.25},
106 {"label":"U", "x":11.5, "y":1.25},
107 {"label":"I", "x":12.5, "y":1.25},
108 {"label":"O", "x":13.5, "y":1.25},
109 {"label":"P", "x":14.75, "y":1.25},
110 {"label":"{", "x":15.75, "y":1.25},
111 {"label":"}", "x":16.75, "y":1.25},
112 {"label":"|", "x":17.75, "y":1.25, "w":1.5},
113
114 {"label":"PgDn", "x":0, "y":2},
115 {"label":"Caps Lock", "x":1.5, "y":2.25, "w":1.75},
116 {"label":"A", "x":3.25, "y":2.25},
117 {"label":"S", "x":4.5, "y":2.25},
118 {"label":"D", "x":5.5, "y":2.25},
119 {"label":"F", "x":6.5, "y":2.25},
120 {"label":"G", "x":7.5, "y":2.25},
121 {"label":"H", "x":10.75, "y":2.25},
122 {"label":"J", "x":11.75, "y":2.25},
123 {"label":"K", "x":12.75, "y":2.25},
124 {"label":"L", "x":13.75, "y":2.25},
125 {"label":":", "x":15.25, "y":2.25},
126 {"label":"\"", "x":16.25, "y":2.25},
127 {"label":"Enter", "x":17.25, "y":2.25, "w":2.25},
128
129 {"label":"Shift", "x":1.5, "y":3.25, "w":2.25},
130 {"label":"Z", "x":3.75, "y":3.25},
131 {"label":"X", "x":5, "y":3.25},
132 {"label":"C", "x":6, "y":3.25},
133 {"label":"V", "x":7, "y":3.25},
134 {"label":"B", "x":8, "y":3.25},
135 {"label":"Fn", "x":10.25, "y":3.25},
136 {"label":"N", "x":11.25, "y":3.25},
137 {"label":"M", "x":12.25, "y":3.25},
138 {"label":"<", "x":13.25, "y":3.25},
139 {"label":">", "x":15, "y":3.25},
140 {"label":"?", "x":16, "y":3.25},
141 {"label":"Shift", "x":17, "y":3.25, "w":1.75},
142 {"label":"Fn", "x":18.75, "y":3.25},
143
144 {"label":"Ctrl", "x":1.5, "y":4.25, "w":1.5},
145 {"label":"Alt", "x":5, "y":4.25, "w":1.5},
146 {"label":"Space", "x":6.5, "y":4.25, "w":2},
147 {"label":"Menu", "x":8.5, "y":4.25},
148 {"label":"Space", "x":10.25, "y":4.25, "w":2.75},
149 {"label":"Alt", "x":13, "y":4.25, "w":1.5},
150 {"label":"Ctrl", "x":18, "y":4.25, "w":1.5}
151 ]
152 },
153 "LAYOUT_alice_split_bs_full_rshift": {
154 "layout": [
155 {"label":"Esc", "x":0.5, "y":0},
156 {"label":"`", "x":1.75, "y":0.25},
157 {"label":"1", "x":2.75, "y":0.25},
158 {"label":"2", "x":3.75, "y":0},
159 {"label":"3", "x":4.75, "y":0.25},
160 {"label":"4", "x":5.75, "y":0.25},
161 {"label":"5", "x":6.75, "y":0.25},
162 {"label":"6", "x":7.75, "y":0.25},
163 {"label":"7", "x":11, "y":0.25},
164 {"label":"8", "x":12, "y":0.25},
165 {"label":"9", "x":13, "y":0.25},
166 {"label":"0", "x":14, "y":0.25},
167 {"label":"-", "x":15, "y":0},
168 {"label":"=", "x":16, "y":0.25},
169 {"label":"Del", "x":17, "y":0.25},
170 {"label":"Backspace", "x":18, "y":0.25},
171
172 {"label":"PgUp", "x":0.25, "y":1},
173 {"label":"Tab", "x":1.5, "y":1.25, "w":1.5},
174 {"label":"Q", "x":3, "y":1.25},
175 {"label":"W", "x":4.25, "y":1.25},
176 {"label":"E", "x":5.25, "y":1.25},
177 {"label":"R", "x":6.25, "y":1.25},
178 {"label":"T", "x":7.25, "y":1.25},
179 {"label":"Y", "x":10.5, "y":1.25},
180 {"label":"U", "x":11.5, "y":1.25},
181 {"label":"I", "x":12.5, "y":1.25},
182 {"label":"O", "x":13.5, "y":1.25},
183 {"label":"P", "x":14.75, "y":1.25},
184 {"label":"{", "x":15.75, "y":1.25},
185 {"label":"}", "x":16.75, "y":1.25},
186 {"label":"|", "x":17.75, "y":1.25, "w":1.5},
187
188 {"label":"PgDn", "x":0, "y":2},
189 {"label":"Caps Lock", "x":1.5, "y":2.25, "w":1.75},
190 {"label":"A", "x":3.25, "y":2.25},
191 {"label":"S", "x":4.5, "y":2.25},
192 {"label":"D", "x":5.5, "y":2.25},
193 {"label":"F", "x":6.5, "y":2.25},
194 {"label":"G", "x":7.5, "y":2.25},
195 {"label":"H", "x":10.75, "y":2.25},
196 {"label":"J", "x":11.75, "y":2.25},
197 {"label":"K", "x":12.75, "y":2.25},
198 {"label":"L", "x":13.75, "y":2.25},
199 {"label":":", "x":15.25, "y":2.25},
200 {"label":"\"", "x":16.25, "y":2.25},
201 {"label":"Enter", "x":17.25, "y":2.25, "w":2.25},
202
203 {"label":"Shift", "x":1.5, "y":3.25, "w":2.25},
204 {"label":"Z", "x":3.75, "y":3.25},
205 {"label":"X", "x":5, "y":3.25},
206 {"label":"C", "x":6, "y":3.25},
207 {"label":"V", "x":7, "y":3.25},
208 {"label":"B", "x":8, "y":3.25},
209 {"label":"Fn", "x":10.25, "y":3.25},
210 {"label":"N", "x":11.25, "y":3.25},
211 {"label":"M", "x":12.25, "y":3.25},
212 {"label":"<", "x":13.25, "y":3.25},
213 {"label":">", "x":15, "y":3.25},
214 {"label":"?", "x":16, "y":3.25},
215 {"label":"Shift", "x":17, "y":3.25, "w":2.75},
216
217 {"label":"Ctrl", "x":1.5, "y":4.25, "w":1.5},
218 {"label":"Alt", "x":5, "y":4.25, "w":1.5},
219 {"label":"Space", "x":6.5, "y":4.25, "w":2},
220 {"label":"Menu", "x":8.5, "y":4.25},
221 {"label":"Space", "x":10.25, "y":4.25, "w":2.75},
222 {"label":"Alt", "x":13, "y":4.25, "w":1.5},
223 {"label":"Ctrl", "x":18, "y":4.25, "w":1.5}
224 ]
225 },
226 "LAYOUT_alice_full_rshift": {
227 "layout": [
228 {"label":"Esc", "x":0.5, "y":0},
229 {"label":"`", "x":1.75, "y":0.25},
230 {"label":"1", "x":2.75, "y":0.25},
231 {"label":"2", "x":3.75, "y":0},
232 {"label":"3", "x":4.75, "y":0.25},
233 {"label":"4", "x":5.75, "y":0.25},
234 {"label":"5", "x":6.75, "y":0.25},
235 {"label":"6", "x":7.75, "y":0.25},
236 {"label":"7", "x":11, "y":0.25},
237 {"label":"8", "x":12, "y":0.25},
238 {"label":"9", "x":13, "y":0.25},
239 {"label":"0", "x":14, "y":0.25},
240 {"label":"-", "x":15, "y":0},
241 {"label":"=", "x":16, "y":0.25},
242 {"label":"Backspace", "x":17, "y":0.25, "w":2},
243
244 {"label":"PgUp", "x":0.25, "y":1},
245 {"label":"Tab", "x":1.5, "y":1.25, "w":1.5},
246 {"label":"Q", "x":3, "y":1.25},
247 {"label":"W", "x":4.25, "y":1.25},
248 {"label":"E", "x":5.25, "y":1.25},
249 {"label":"R", "x":6.25, "y":1.25},
250 {"label":"T", "x":7.25, "y":1.25},
251 {"label":"Y", "x":10.5, "y":1.25},
252 {"label":"U", "x":11.5, "y":1.25},
253 {"label":"I", "x":12.5, "y":1.25},
254 {"label":"O", "x":13.5, "y":1.25},
255 {"label":"P", "x":14.75, "y":1.25},
256 {"label":"{", "x":15.75, "y":1.25},
257 {"label":"}", "x":16.75, "y":1.25},
258 {"label":"|", "x":17.75, "y":1.25, "w":1.5},
259
260 {"label":"PgDn", "x":0, "y":2},
261 {"label":"Caps Lock", "x":1.5, "y":2.25, "w":1.75},
262 {"label":"A", "x":3.25, "y":2.25},
263 {"label":"S", "x":4.5, "y":2.25},
264 {"label":"D", "x":5.5, "y":2.25},
265 {"label":"F", "x":6.5, "y":2.25},
266 {"label":"G", "x":7.5, "y":2.25},
267 {"label":"H", "x":10.75, "y":2.25},
268 {"label":"J", "x":11.75, "y":2.25},
269 {"label":"K", "x":12.75, "y":2.25},
270 {"label":"L", "x":13.75, "y":2.25},
271 {"label":":", "x":15.25, "y":2.25},
272 {"label":"\"", "x":16.25, "y":2.25},
273 {"label":"Enter", "x":17.25, "y":2.25, "w":2.25},
274
275 {"label":"Shift", "x":1.5, "y":3.25, "w":2.25},
276 {"label":"Z", "x":3.75, "y":3.25},
277 {"label":"X", "x":5, "y":3.25},
278 {"label":"C", "x":6, "y":3.25},
279 {"label":"V", "x":7, "y":3.25},
280 {"label":"B", "x":8, "y":3.25},
281 {"label":"Fn", "x":10.25, "y":3.25},
282 {"label":"N", "x":11.25, "y":3.25},
283 {"label":"M", "x":12.25, "y":3.25},
284 {"label":"<", "x":13.25, "y":3.25},
285 {"label":">", "x":15, "y":3.25},
286 {"label":"?", "x":16, "y":3.25},
287 {"label":"Shift", "x":17, "y":3.25, "w":2.75},
288
289 {"label":"Ctrl", "x":1.5, "y":4.25, "w":1.5},
290 {"label":"Alt", "x":5, "y":4.25, "w":1.5},
291 {"label":"Space", "x":6.5, "y":4.25, "w":2},
292 {"label":"Menu", "x":8.5, "y":4.25},
293 {"label":"Space", "x":10.25, "y":4.25, "w":2.75},
294 {"label":"Alt", "x":13, "y":4.25, "w":1.5},
295 {"label":"Ctrl", "x":18, "y":4.25, "w":1.5}
296 ]
297 }
298 }
299}
diff --git a/keyboards/coarse/cordillera/keymaps/default/keymap.c b/keyboards/coarse/cordillera/keymaps/default/keymap.c
new file mode 100755
index 000000000..ef1479c33
--- /dev/null
+++ b/keyboards/coarse/cordillera/keymaps/default/keymap.c
@@ -0,0 +1,34 @@
1/*
2Copyright 2020 coarse <[email protected]>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17#include QMK_KEYBOARD_H
18
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20 [0] = LAYOUT_alice(
21 KC_ESC, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,
22 KC_PGUP, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
23 KC_PGDN, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
24 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1),
25 KC_LCTL, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_RALT, KC_RCTL
26 ),
27 [1] = LAYOUT_alice(
28 RESET, _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL,
29 KC_HOME, _______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
30 KC_END, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______,
31 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
32 _______, _______, _______, _______, _______, _______, _______
33 ),
34};
diff --git a/keyboards/coarse/cordillera/keymaps/via/keymap.c b/keyboards/coarse/cordillera/keymaps/via/keymap.c
new file mode 100644
index 000000000..69dd61376
--- /dev/null
+++ b/keyboards/coarse/cordillera/keymaps/via/keymap.c
@@ -0,0 +1,48 @@
1/*
2Copyright 2020 coarse <[email protected]>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17#include QMK_KEYBOARD_H
18
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20 [0] = LAYOUT_alice(
21 KC_ESC, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,
22 KC_PGUP, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
23 KC_PGDN, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
24 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1),
25 KC_LCTL, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_RALT, KC_RCTL
26 ),
27 [1] = LAYOUT_alice(
28 RESET, _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL,
29 KC_HOME, _______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
30 KC_END, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______,
31 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
32 _______, _______, _______, _______, _______, _______, _______
33 ),
34 [2] = LAYOUT_alice(
35 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
36 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
37 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
38 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
39 _______, _______, _______, _______, _______, _______, _______
40 ),
41 [3] = LAYOUT_alice(
42 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
43 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
44 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
45 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
46 _______, _______, _______, _______, _______, _______, _______
47 ),
48};
diff --git a/keyboards/coarse/cordillera/keymaps/via/rules.mk b/keyboards/coarse/cordillera/keymaps/via/rules.mk
new file mode 100644
index 000000000..1e5b99807
--- /dev/null
+++ b/keyboards/coarse/cordillera/keymaps/via/rules.mk
@@ -0,0 +1 @@
VIA_ENABLE = yes
diff --git a/keyboards/coarse/cordillera/mcuconf.h b/keyboards/coarse/cordillera/mcuconf.h
new file mode 100644
index 000000000..767251f2f
--- /dev/null
+++ b/keyboards/coarse/cordillera/mcuconf.h
@@ -0,0 +1,31 @@
1/* Copyright 2020 QMK
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17/*
18 * This file was auto-generated by:
19 * `qmk chibios-confmigrate -i keyboards/coarse/cordillera/mcuconf.h -r platforms/chibios/GENERIC_STM32_F072XB/configs/mcuconf.h`
20 */
21
22#pragma once
23
24#include_next <mcuconf.h>
25
26#undef STM32_I2C_USE_DMA
27#define STM32_I2C_USE_DMA FALSE
28
29#undef STM32_PWM_USE_TIM1
30#define STM32_PWM_USE_TIM1 TRUE
31
diff --git a/keyboards/coarse/cordillera/readme.md b/keyboards/coarse/cordillera/readme.md
new file mode 100644
index 000000000..e9fd12101
--- /dev/null
+++ b/keyboards/coarse/cordillera/readme.md
@@ -0,0 +1,15 @@
1# Cordillera
2
3![Cordillera](https://i.imgur.com/3VCGsdDl.png)
4
5A publicly available replacement backlit PCB for top mount USB C Alice cases.
6
7* Keyboard Maintainer: [coarse](https://github.com/coarse)
8* Hardware Supported: [Cordillera PCB](https://keyboard.coarse.tech/Cordillera-Alice-like-PCB-b34d95777ea44249bad3271b01d7838a)
9* Hardware Availability: [coarse](https://github.com/coarse)
10
11Make example for this keyboard (after setting up your build environment):
12
13 make coarse/cordillera:default
14
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/keyboards/coarse/cordillera/rules.mk b/keyboards/coarse/cordillera/rules.mk
new file mode 100644
index 000000000..9bdd0d72f
--- /dev/null
+++ b/keyboards/coarse/cordillera/rules.mk
@@ -0,0 +1,23 @@
1# MCU name
2MCU = STM32F072
3
4# Bootloader selection
5BOOTLOADER = stm32-dfu
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
11MOUSEKEY_ENABLE = yes # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = yes # Console for debug
14COMMAND_ENABLE = yes # Commands for debug and configuration
15NKRO_ENABLE = yes # Enable N-Key Rollover
16BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
17RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
18AUDIO_ENABLE = no # Audio output
19
20LAYOUTS = alice alice_split_bs
21
22# Enter lower-power sleep mode when on the ChibiOS idle thread
23OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE