aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/mechlovin/adelais/rgb_led/readme.md16
-rw-r--r--keyboards/mechlovin/adelais/standard_led/config.h17
-rw-r--r--keyboards/mechlovin/adelais/standard_led/halconf.h27
-rw-r--r--keyboards/mechlovin/adelais/standard_led/mcuconf.h36
-rw-r--r--keyboards/mechlovin/adelais/standard_led/readme.md16
-rw-r--r--keyboards/mechlovin/adelais/standard_led/rev4/config.h25
-rw-r--r--keyboards/mechlovin/adelais/standard_led/rev4/readme.md16
-rw-r--r--keyboards/mechlovin/adelais/standard_led/rev4/rules.mk1
-rw-r--r--keyboards/mechlovin/adelais/standard_led/rules.mk1
9 files changed, 155 insertions, 0 deletions
diff --git a/keyboards/mechlovin/adelais/rgb_led/readme.md b/keyboards/mechlovin/adelais/rgb_led/readme.md
new file mode 100644
index 000000000..f58ca7aa2
--- /dev/null
+++ b/keyboards/mechlovin/adelais/rgb_led/readme.md
@@ -0,0 +1,16 @@
1# Adelais En Ciel
2
3![adelais](https://i.imgur.com/6U1IfZe.png)
4
5Compatible with TGR Alice and all clone variants.
6`rgb_led` (Adelais En Ciel) comes with per-key RGB LEDs pre-soldered, rev.2 and rev.3 support a rotary encoder.
7
8* Keyboard Maintainer: [Team Mechlovin'](https://github.com/mechlovin)
9* Hardware Supported: Adelais En Ciel
10* Hardware Availability: [Mechlovin.studio](https://mechlovin.studio/collections/pcb/products/adelais-en-ciel-alice-compatible-rgb-pcb?variant=33937050828939)
11
12Make example for this keyboard (after setting up your build environment):
13
14 make mechlovin/adelais/rgb_led:default
15
16See 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/mechlovin/adelais/standard_led/config.h b/keyboards/mechlovin/adelais/standard_led/config.h
index 064cf3d2c..4580e56d5 100644
--- a/keyboards/mechlovin/adelais/standard_led/config.h
+++ b/keyboards/mechlovin/adelais/standard_led/config.h
@@ -1,3 +1,20 @@
1/*
2Copyright 2020 Team Mechlovin'
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
1#pragma once 18#pragma once
2 19
3#define PRODUCT Adelais 20#define PRODUCT Adelais
diff --git a/keyboards/mechlovin/adelais/standard_led/halconf.h b/keyboards/mechlovin/adelais/standard_led/halconf.h
new file mode 100644
index 000000000..01d02f71c
--- /dev/null
+++ b/keyboards/mechlovin/adelais/standard_led/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#pragma once
19
20#define HAL_USE_I2C TRUE
21
22#define PAL_USE_CALLBACKS FALSE
23
24#define PAL_USE_WAIT FALSE
25
26#include_next <halconf.h>
27
diff --git a/keyboards/mechlovin/adelais/standard_led/mcuconf.h b/keyboards/mechlovin/adelais/standard_led/mcuconf.h
new file mode 100644
index 000000000..b7ecee020
--- /dev/null
+++ b/keyboards/mechlovin/adelais/standard_led/mcuconf.h
@@ -0,0 +1,36 @@
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#pragma once
19
20#include_next <mcuconf.h>
21
22#undef STM32_GPT_USE_TIM15
23#define STM32_GPT_USE_TIM15 FALSE
24
25#undef STM32_I2C_USE_I2C1
26#define STM32_I2C_USE_I2C1 TRUE
27
28#undef STM32_PWM_USE_TIM3
29#define STM32_PWM_USE_TIM3 FALSE
30
31#undef STM32_SPI_USE_SPI1
32#define STM32_SPI_USE_SPI1 TRUE
33
34#undef STM32_SPI_USE_SPI2
35#define STM32_SPI_USE_SPI2 FALSE
36
diff --git a/keyboards/mechlovin/adelais/standard_led/readme.md b/keyboards/mechlovin/adelais/standard_led/readme.md
new file mode 100644
index 000000000..a7c76beb4
--- /dev/null
+++ b/keyboards/mechlovin/adelais/standard_led/readme.md
@@ -0,0 +1,16 @@
1# Adelais
2
3![adelais](https://i.imgur.com/6U1IfZe.png)
4
5Compatible with TGR Alice and all clone variants.
6`standard_led` (Adelais) comes with backlight and RGB underglow LEDs pre-soldered. Adelais rev.3 & rev.4 support 3 rotary encoder, USB TypeC both side and reset footprint.
7
8* Keyboard Maintainer: [Team Mechlovin'](https://github.com/mechlovin)
9* Hardware Supported: Adelais
10* Hardware Availability: [Mechlovin.studio](https://mechlovin.studio/collections/pcb/products/adelais-tgr-alice-clones-compatible-pcb?variant=34140335472779)
11
12Make example for this keyboard (after setting up your build environment):
13
14 make mechlovin/adelais/standard_led:default
15
16See 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/mechlovin/adelais/standard_led/rev4/config.h b/keyboards/mechlovin/adelais/standard_led/rev4/config.h
new file mode 100644
index 000000000..ca793f1fe
--- /dev/null
+++ b/keyboards/mechlovin/adelais/standard_led/rev4/config.h
@@ -0,0 +1,25 @@
1/*
2Copyright 2021 Mechlovin' Studio
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#pragma once
18
19#define PRODUCT_ID 0xAD03
20
21#define ENCODERS_PAD_A { A6, A4, B7 }
22#define ENCODERS_PAD_B { A5, A3, B6 }
23#define ENCODER_RESOLUTION 4
24
25#define TAP_CODE_DELAY 10 \ No newline at end of file
diff --git a/keyboards/mechlovin/adelais/standard_led/rev4/readme.md b/keyboards/mechlovin/adelais/standard_led/rev4/readme.md
new file mode 100644
index 000000000..333efbacd
--- /dev/null
+++ b/keyboards/mechlovin/adelais/standard_led/rev4/readme.md
@@ -0,0 +1,16 @@
1# Adelais rev.4
2
3![adelais](https://i.imgur.com/6U1IfZe.png)
4
5Compatible with TGR Alice and all clone variants.
6`standard_led` (Adelais) comes with backlight and RGB underglow LEDs pre-soldered. Adelais rev.4 support 3 rotary encoder, USB TypeC both side and reset footprint.
7
8* Keyboard Maintainer: [Team Mechlovin'](https://github.com/mechlovin)
9* Hardware Supported: Adelais
10* Hardware Availability: [Mechlovin.studio](https://mechlovin.studio/collections/pcb/products/adelais-tgr-alice-clones-compatible-pcb?variant=34140335472779)
11
12Make example for this keyboard (after setting up your build environment):
13
14 make mechlovin/adelais/standard_led:default
15
16See 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/mechlovin/adelais/standard_led/rev4/rules.mk b/keyboards/mechlovin/adelais/standard_led/rev4/rules.mk
new file mode 100644
index 000000000..5af1ba853
--- /dev/null
+++ b/keyboards/mechlovin/adelais/standard_led/rev4/rules.mk
@@ -0,0 +1 @@
ENCODER_ENABLE = yes
diff --git a/keyboards/mechlovin/adelais/standard_led/rules.mk b/keyboards/mechlovin/adelais/standard_led/rules.mk
index a66d19314..b4523dbf3 100644
--- a/keyboards/mechlovin/adelais/standard_led/rules.mk
+++ b/keyboards/mechlovin/adelais/standard_led/rules.mk
@@ -1,2 +1,3 @@
1RGBLIGHT_ENABLE = yes 1RGBLIGHT_ENABLE = yes
2WS2812_DRIVER = spi
2DEFAULT_FOLDER = mechlovin/adelais/standard_led/rev2 \ No newline at end of file 3DEFAULT_FOLDER = mechlovin/adelais/standard_led/rev2 \ No newline at end of file