diff options
author | Xelus22 <17491233+Xelus22@users.noreply.github.com> | 2021-06-20 17:36:54 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-20 08:36:54 +0100 |
commit | 745f5f65325ccd1705a3c55804a663522632e67e (patch) | |
tree | 1f36b5fea3df3ab12248f1602ac761cdc95a4130 /keyboards/aeboards | |
parent | eb2886369deb04fa8e516054ce8dd4c0cccfbc56 (diff) | |
download | qmk_firmware-745f5f65325ccd1705a3c55804a663522632e67e.tar.gz qmk_firmware-745f5f65325ccd1705a3c55804a663522632e67e.zip |
[Keyboard] Add Constellation Rev2 (#13103)
Diffstat (limited to 'keyboards/aeboards')
17 files changed, 403 insertions, 39 deletions
diff --git a/keyboards/aeboards/constellation/constellation.c b/keyboards/aeboards/constellation/constellation.c index 75d3efe7a..0b8354d07 100755 --- a/keyboards/aeboards/constellation/constellation.c +++ b/keyboards/aeboards/constellation/constellation.c | |||
@@ -1,4 +1,5 @@ | |||
1 | /* Copyright 2018 Jason Williams (Wilba) | 1 | /* Copyright 2018 Jason Williams (Wilba) |
2 | * Copyright 2021 Harrison Chan (Xelus) | ||
2 | * | 3 | * |
3 | * This program is free software: you can redistribute it and/or modify | 4 | * 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 | * it under the terms of the GNU General Public License as published by |
@@ -16,4 +17,4 @@ | |||
16 | 17 | ||
17 | // Nothing to see here, move along... ;-) | 18 | // Nothing to see here, move along... ;-) |
18 | 19 | ||
19 | #include "constellation.h" \ No newline at end of file | 20 | #include "constellation.h" |
diff --git a/keyboards/aeboards/constellation/constellation.h b/keyboards/aeboards/constellation/constellation.h index 53a95d5d8..a46732771 100755 --- a/keyboards/aeboards/constellation/constellation.h +++ b/keyboards/aeboards/constellation/constellation.h | |||
@@ -1,4 +1,5 @@ | |||
1 | /* Copyright 2018 Jason Williams (Wilba) | 1 | /* Copyright 2018 Jason Williams (Wilba) |
2 | * Copyright 2021 Harrison Chan (Xelus) | ||
2 | * | 3 | * |
3 | * This program is free software: you can redistribute it and/or modify | 4 | * 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 | * it under the terms of the GNU General Public License as published by |
@@ -18,18 +19,8 @@ | |||
18 | 19 | ||
19 | #include "quantum.h" | 20 | #include "quantum.h" |
20 | 21 | ||
21 | #define ____ KC_NO | 22 | #if defined(KEYBOARD_aeboards_constellation_rev1) |
22 | 23 | #include "rev1.h" | |
23 | #define LAYOUT_all( \ | 24 | #elif defined(KEYBOARD_aeboards_constellation_rev2) |
24 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K213, K014, \ | 25 | #include "rev2.h" |
25 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, \ | 26 | #endif |
26 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K214, \ | ||
27 | K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K312, K313, K314, \ | ||
28 | K400, K401, K402, K408, K409, K410, K412, K413, K414 \ | ||
29 | ) { \ | ||
30 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014 }, \ | ||
31 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114 }, \ | ||
32 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214 }, \ | ||
33 | { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, ____, K312, K313, K314 }, \ | ||
34 | { K400, K401, K402, ____, ____, ____, ____, ____, K408, K409, K410, ____, K412, K413, K414 } \ | ||
35 | } | ||
diff --git a/keyboards/aeboards/constellation/config.h b/keyboards/aeboards/constellation/rev1/config.h index f2e3f476b..22dd96f66 100755 --- a/keyboards/aeboards/constellation/config.h +++ b/keyboards/aeboards/constellation/rev1/config.h | |||
@@ -1,4 +1,5 @@ | |||
1 | /* Copyright 2018 Jason Williams (Wilba) | 1 | /* Copyright 2018 Jason Williams (Wilba) |
2 | * Copyright 2021 Harrison Chan (Xelus) | ||
2 | * | 3 | * |
3 | * This program is free software: you can redistribute it and/or modify | 4 | * 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 | * it under the terms of the GNU General Public License as published by |
@@ -23,7 +24,7 @@ | |||
23 | #define PRODUCT_ID 0x065C // 65 - Constellation | 24 | #define PRODUCT_ID 0x065C // 65 - Constellation |
24 | #define DEVICE_VER 0x0001 | 25 | #define DEVICE_VER 0x0001 |
25 | #define MANUFACTURER AEBoards | 26 | #define MANUFACTURER AEBoards |
26 | #define PRODUCT AEBoards Constellation | 27 | #define PRODUCT AEBoards Constellation Rev1 |
27 | 28 | ||
28 | /* key matrix size */ | 29 | /* key matrix size */ |
29 | #define MATRIX_ROWS 5 | 30 | #define MATRIX_ROWS 5 |
diff --git a/keyboards/aeboards/constellation/info.json b/keyboards/aeboards/constellation/rev1/info.json index 172ac4dfa..172ac4dfa 100644 --- a/keyboards/aeboards/constellation/info.json +++ b/keyboards/aeboards/constellation/rev1/info.json | |||
diff --git a/keyboards/aeboards/constellation/rev1/readme.md b/keyboards/aeboards/constellation/rev1/readme.md new file mode 100755 index 000000000..1102d83d3 --- /dev/null +++ b/keyboards/aeboards/constellation/rev1/readme.md | |||
@@ -0,0 +1,20 @@ | |||
1 | # CONSTELLATION REV1 | ||
2 | |||
3 | A gasket 65% keyboard by [aeboards](https://aeboards.com/) | ||
4 | |||
5 | * Keyboard Maintainer: [Xelus22](https://github.com/Xelus22) | ||
6 | * Hardware Supported: CONSTELLATION | ||
7 | * Hardware Availability: Custom keyboard group buys | ||
8 | |||
9 | Make example for this keyboard (after setting up your build environment): | ||
10 | |||
11 | make aeboards/constellation/rev1:default | ||
12 | |||
13 | Reset your keyboard in 3 ways: | ||
14 | <ol> | ||
15 | <li>Software reset on Fn + Backspace</li> | ||
16 | <li>Bootmagic reset: hold down the top left key (usually escape) and plugin the keyboard</li> | ||
17 | <li>Physical reset: on the back of the PCB, there is a ISP header which you should short the RST and GND together</li> | ||
18 | </ol> | ||
19 | |||
20 | See 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/aeboards/constellation/rev1/rev1.c b/keyboards/aeboards/constellation/rev1/rev1.c new file mode 100755 index 000000000..6e8f0a119 --- /dev/null +++ b/keyboards/aeboards/constellation/rev1/rev1.c | |||
@@ -0,0 +1,18 @@ | |||
1 | /* Copyright 2018 Jason Williams (Wilba) | ||
2 | * Copyright 2021 Harrison Chan (Xelus) | ||
3 | * | ||
4 | * This program is free software: you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License as published by | ||
6 | * the Free Software Foundation, either version 2 of the License, or | ||
7 | * (at your option) any later version. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU General Public License | ||
15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | |||
18 | #include "rev1.h" | ||
diff --git a/keyboards/aeboards/constellation/rev1/rev1.h b/keyboards/aeboards/constellation/rev1/rev1.h new file mode 100755 index 000000000..a2c65e942 --- /dev/null +++ b/keyboards/aeboards/constellation/rev1/rev1.h | |||
@@ -0,0 +1,36 @@ | |||
1 | /* Copyright 2018 Jason Williams (Wilba) | ||
2 | * Copyright 2021 Harrison Chan (Xelus) | ||
3 | * | ||
4 | * This program is free software: you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License as published by | ||
6 | * the Free Software Foundation, either version 2 of the License, or | ||
7 | * (at your option) any later version. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU General Public License | ||
15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | |||
18 | #pragma once | ||
19 | |||
20 | #include "quantum.h" | ||
21 | |||
22 | #define ____ KC_NO | ||
23 | |||
24 | #define LAYOUT_all( \ | ||
25 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K213, K014, \ | ||
26 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, \ | ||
27 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K214, \ | ||
28 | K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K312, K313, K314, \ | ||
29 | K400, K401, K402, K408, K409, K410, K412, K413, K414 \ | ||
30 | ) { \ | ||
31 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014 }, \ | ||
32 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114 }, \ | ||
33 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214 }, \ | ||
34 | { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, ____, K312, K313, K314 }, \ | ||
35 | { K400, K401, K402, ____, ____, ____, ____, ____, K408, K409, K410, ____, K412, K413, K414 } \ | ||
36 | } | ||
diff --git a/keyboards/aeboards/constellation/rev1/rules.mk b/keyboards/aeboards/constellation/rev1/rules.mk new file mode 100755 index 000000000..2a82012de --- /dev/null +++ b/keyboards/aeboards/constellation/rev1/rules.mk | |||
@@ -0,0 +1,22 @@ | |||
1 | # MCU name | ||
2 | MCU = atmega32u4 | ||
3 | |||
4 | # Bootloader selection | ||
5 | BOOTLOADER = atmel-dfu | ||
6 | |||
7 | # Build Options | ||
8 | # change yes to no to disable | ||
9 | # | ||
10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
13 | CONSOLE_ENABLE = yes # Console for debug | ||
14 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
18 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
20 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
21 | AUDIO_ENABLE = no # Audio output | ||
22 | LTO_ENABLE = yes | ||
diff --git a/keyboards/aeboards/constellation/rev2/config.h b/keyboards/aeboards/constellation/rev2/config.h new file mode 100755 index 000000000..bff51c07d --- /dev/null +++ b/keyboards/aeboards/constellation/rev2/config.h | |||
@@ -0,0 +1,61 @@ | |||
1 | /* Copyright 2021 Harrison Chan (Xelus) | ||
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 | #pragma once | ||
18 | |||
19 | #include "config_common.h" | ||
20 | |||
21 | /* USB Device descriptor parameter */ | ||
22 | #define VENDOR_ID 0x4145 // AE | ||
23 | #define PRODUCT_ID 0x065C // 65 - Constellation | ||
24 | #define DEVICE_VER 0x0001 | ||
25 | #define MANUFACTURER AEBoards | ||
26 | #define PRODUCT AEBoards Constellation Rev2 | ||
27 | |||
28 | /* key matrix size */ | ||
29 | #define MATRIX_ROWS 5 | ||
30 | #define MATRIX_COLS 15 | ||
31 | |||
32 | /* key matrix pins */ | ||
33 | #define MATRIX_ROW_PINS { B15, A14, A2, B13, B14 } | ||
34 | #define MATRIX_COL_PINS { B12, H0, C15, C14, B11, B10, B2, B1, B0, A7, A6, A5, A4, A3 } | ||
35 | #define UNUSED_PINS | ||
36 | |||
37 | /* COL2ROW or ROW2COL */ | ||
38 | #define DIODE_DIRECTION COL2ROW | ||
39 | |||
40 | /* Set 0 if debouncing isn't needed */ | ||
41 | #define DEBOUNCE 5 | ||
42 | |||
43 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
44 | #define LOCKING_SUPPORT_ENABLE | ||
45 | |||
46 | /* Locking resynchronize hack */ | ||
47 | #define LOCKING_RESYNC_ENABLE | ||
48 | |||
49 | // I2C setup | ||
50 | #define I2C1_SCL 8 | ||
51 | #define I2C1_SDA 9 | ||
52 | #define I2C1_SCL_PAL_MODE 4 | ||
53 | #define I2C1_SDA_PAL_MODE 4 | ||
54 | #define I2C1_TIMINGR_PRESC 0U | ||
55 | #define I2C1_TIMINGR_SCLDEL 11U | ||
56 | #define I2C1_TIMINGR_SDADEL 0U | ||
57 | #define I2C1_TIMINGR_SCLH 14U | ||
58 | #define I2C1_TIMINGR_SCLL 42U | ||
59 | |||
60 | // I2C EEPROM | ||
61 | #define EEPROM_I2C_24LC64 | ||
diff --git a/keyboards/aeboards/constellation/rev2/halconf.h b/keyboards/aeboards/constellation/rev2/halconf.h new file mode 100644 index 000000000..35cb84d82 --- /dev/null +++ b/keyboards/aeboards/constellation/rev2/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/aeboards/ext65/rev2/halconf.h -r platforms/chibios/common/configs/halconf.h` | ||
20 | */ | ||
21 | |||
22 | #pragma once | ||
23 | |||
24 | #define HAL_USE_I2C TRUE | ||
25 | |||
26 | #include_next <halconf.h> | ||
27 | |||
diff --git a/keyboards/aeboards/constellation/rev2/info.json b/keyboards/aeboards/constellation/rev2/info.json new file mode 100644 index 000000000..172ac4dfa --- /dev/null +++ b/keyboards/aeboards/constellation/rev2/info.json | |||
@@ -0,0 +1,85 @@ | |||
1 | { | ||
2 | "keyboard_name": "Constellation", | ||
3 | "url": "", | ||
4 | "maintainer": "Xelus22", | ||
5 | "width": 16, | ||
6 | "height": 5, | ||
7 | "layouts": { | ||
8 | "LAYOUT_all": { | ||
9 | "layout": [ | ||
10 | {"x":0, "y":0}, | ||
11 | {"x":1, "y":0}, | ||
12 | {"x":2, "y":0}, | ||
13 | {"x":3, "y":0}, | ||
14 | {"x":4, "y":0}, | ||
15 | {"x":5, "y":0}, | ||
16 | {"x":6, "y":0}, | ||
17 | {"x":7, "y":0}, | ||
18 | {"x":8, "y":0}, | ||
19 | {"x":9, "y":0}, | ||
20 | {"x":10, "y":0}, | ||
21 | {"x":11, "y":0}, | ||
22 | {"x":12, "y":0}, | ||
23 | {"x":13, "y":0}, | ||
24 | {"x":14, "y":0}, | ||
25 | {"x":15, "y":0}, | ||
26 | |||
27 | {"x":0, "y":1, "w":1.5}, | ||
28 | {"x":1.5, "y":1}, | ||
29 | {"x":2.5, "y":1}, | ||
30 | {"x":3.5, "y":1}, | ||
31 | {"x":4.5, "y":1}, | ||
32 | {"x":5.5, "y":1}, | ||
33 | {"x":6.5, "y":1}, | ||
34 | {"x":7.5, "y":1}, | ||
35 | {"x":8.5, "y":1}, | ||
36 | {"x":9.5, "y":1}, | ||
37 | {"x":10.5, "y":1}, | ||
38 | {"x":11.5, "y":1}, | ||
39 | {"x":12.5, "y":1}, | ||
40 | {"x":13.5, "y":1, "w":1.5}, | ||
41 | {"x":15, "y":1}, | ||
42 | |||
43 | {"x":0, "y":2, "w":1.75}, | ||
44 | {"x":1.75, "y":2}, | ||
45 | {"x":2.75, "y":2}, | ||
46 | {"x":3.75, "y":2}, | ||
47 | {"x":4.75, "y":2}, | ||
48 | {"x":5.75, "y":2}, | ||
49 | {"x":6.75, "y":2}, | ||
50 | {"x":7.75, "y":2}, | ||
51 | {"x":8.75, "y":2}, | ||
52 | {"x":9.75, "y":2}, | ||
53 | {"x":10.75, "y":2}, | ||
54 | {"label":"\"", "x":11.75, "y":2}, | ||
55 | {"x":12.75, "y":2, "w":2.25}, | ||
56 | {"x":15, "y":2}, | ||
57 | |||
58 | {"x":0, "y":3, "w":2.25}, | ||
59 | {"x":2.25, "y":3}, | ||
60 | {"x":3.25, "y":3}, | ||
61 | {"x":4.25, "y":3}, | ||
62 | {"x":5.25, "y":3}, | ||
63 | {"x":6.25, "y":3}, | ||
64 | {"x":7.25, "y":3}, | ||
65 | {"x":8.25, "y":3}, | ||
66 | {"x":9.25, "y":3}, | ||
67 | {"x":10.25, "y":3}, | ||
68 | {"x":11.25, "y":3}, | ||
69 | {"x":12.25, "y":3, "w":1.75}, | ||
70 | {"x":14, "y":3}, | ||
71 | {"x":15, "y":3}, | ||
72 | |||
73 | {"x":0, "y":4, "w":1.25}, | ||
74 | {"x":1.25, "y":4, "w":1.25}, | ||
75 | {"x":2.5, "y":4, "w":1.25}, | ||
76 | {"x":3.75, "y":4, "w":6.25}, | ||
77 | {"x":10, "y":4, "w":1.5}, | ||
78 | {"x":11.5, "y":4, "w":1.5}, | ||
79 | {"x":13, "y":4}, | ||
80 | {"x":14, "y":4}, | ||
81 | {"x":15, "y":4} | ||
82 | ] | ||
83 | } | ||
84 | } | ||
85 | } | ||
diff --git a/keyboards/aeboards/constellation/rev2/mcuconf.h b/keyboards/aeboards/constellation/rev2/mcuconf.h new file mode 100644 index 000000000..de8e38389 --- /dev/null +++ b/keyboards/aeboards/constellation/rev2/mcuconf.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/aeboards/ext65/rev2/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_I2C1 | ||
27 | #define STM32_I2C_USE_I2C1 TRUE | ||
diff --git a/keyboards/aeboards/constellation/rev2/readme.md b/keyboards/aeboards/constellation/rev2/readme.md new file mode 100755 index 000000000..d0ae3a215 --- /dev/null +++ b/keyboards/aeboards/constellation/rev2/readme.md | |||
@@ -0,0 +1,20 @@ | |||
1 | # CONSTELLATION REV2 | ||
2 | |||
3 | A gasket 65% keyboard by [aeboards](https://aeboards.com/) | ||
4 | |||
5 | * Keyboard Maintainer: [Xelus22](https://github.com/Xelus22) | ||
6 | * Hardware Supported: CONSTELLATION | ||
7 | * Hardware Availability: Custom keyboard group buys | ||
8 | |||
9 | Make example for this keyboard (after setting up your build environment): | ||
10 | |||
11 | make aeboards/constellation/rev2:default | ||
12 | |||
13 | Reset your keyboard in 3 ways: | ||
14 | <ol> | ||
15 | <li>Software reset on Fn + Backspace</li> | ||
16 | <li>Bootmagic reset: hold down the top left key (usually escape) and plugin the keyboard</li> | ||
17 | <li>Physical reset button: on the back of the PCB, there are 2 open pins which you can short, labelled RESET</li> | ||
18 | </ol> | ||
19 | |||
20 | See 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/aeboards/constellation/rev2/rev2.c b/keyboards/aeboards/constellation/rev2/rev2.c new file mode 100755 index 000000000..7429f2f5f --- /dev/null +++ b/keyboards/aeboards/constellation/rev2/rev2.c | |||
@@ -0,0 +1,21 @@ | |||
1 | /* Copyright 2021 Harrison Chan (Xelus) | ||
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 | #include "rev2.h" | ||
18 | |||
19 | void matrix_io_delay(void) { | ||
20 | __asm__ volatile("nop\nnop\nnop\n"); | ||
21 | } | ||
diff --git a/keyboards/aeboards/constellation/rev2/rev2.h b/keyboards/aeboards/constellation/rev2/rev2.h new file mode 100755 index 000000000..6a219f835 --- /dev/null +++ b/keyboards/aeboards/constellation/rev2/rev2.h | |||
@@ -0,0 +1,35 @@ | |||
1 | /* Copyright 2021 Harrison Chan (Xelus) | ||
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 | #pragma once | ||
18 | |||
19 | #include "quantum.h" | ||
20 | |||
21 | #define ____ KC_NO | ||
22 | |||
23 | #define LAYOUT_all( \ | ||
24 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K213, K014, \ | ||
25 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, \ | ||
26 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K214, \ | ||
27 | K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K312, K313, K314, \ | ||
28 | K400, K401, K402, K408, K409, K410, K412, K413, K414 \ | ||
29 | ) { \ | ||
30 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014 }, \ | ||
31 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114 }, \ | ||
32 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214 }, \ | ||
33 | { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, ____, K312, K313, K314 }, \ | ||
34 | { K400, K401, K402, ____, ____, ____, ____, ____, K408, K409, K410, ____, K412, K413, K414 } \ | ||
35 | } | ||
diff --git a/keyboards/aeboards/constellation/rev2/rules.mk b/keyboards/aeboards/constellation/rev2/rules.mk new file mode 100755 index 000000000..c79b49dbf --- /dev/null +++ b/keyboards/aeboards/constellation/rev2/rules.mk | |||
@@ -0,0 +1,20 @@ | |||
1 | # MCU name | ||
2 | MCU = STM32L433 | ||
3 | |||
4 | # Build Options | ||
5 | # change yes to no to disable | ||
6 | # | ||
7 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
8 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
9 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
10 | CONSOLE_ENABLE = yes # Console for debug | ||
11 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
12 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
13 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
14 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
15 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
17 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
18 | AUDIO_ENABLE = no # Audio output | ||
19 | |||
20 | EEPROM_DRIVER = i2c | ||
diff --git a/keyboards/aeboards/constellation/rules.mk b/keyboards/aeboards/constellation/rules.mk index 2a82012de..bd2af5d22 100755 --- a/keyboards/aeboards/constellation/rules.mk +++ b/keyboards/aeboards/constellation/rules.mk | |||
@@ -1,22 +1 @@ | |||
1 | # MCU name | DEFAULT_FOLDER = aeboards/constellation/rev1 | |
2 | MCU = atmega32u4 | ||
3 | |||
4 | # Bootloader selection | ||
5 | BOOTLOADER = atmel-dfu | ||
6 | |||
7 | # Build Options | ||
8 | # change yes to no to disable | ||
9 | # | ||
10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
13 | CONSOLE_ENABLE = yes # Console for debug | ||
14 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
18 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
20 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
21 | AUDIO_ENABLE = no # Audio output | ||
22 | LTO_ENABLE = yes | ||