Browse Source

add support for if87 rgb rev2

pull/23362/head
mechlovin 1 month ago
parent
commit
0fd81c9e3f
21 changed files with 147 additions and 12 deletions
  1. +0
    -0
      keyboards/mechlovin/infinity87/rgb/config.h
  2. +5
    -10
      keyboards/mechlovin/infinity87/rgb/info.json
  3. +0
    -0
      keyboards/mechlovin/infinity87/rgb/keymaps/default/keymap.c
  4. +0
    -0
      keyboards/mechlovin/infinity87/rgb/keymaps/default/readme.md
  5. +0
    -0
      keyboards/mechlovin/infinity87/rgb/keymaps/via/keymap.c
  6. +0
    -0
      keyboards/mechlovin/infinity87/rgb/keymaps/via/readme.md
  7. +0
    -0
      keyboards/mechlovin/infinity87/rgb/keymaps/via/rules.mk
  8. +0
    -0
      keyboards/mechlovin/infinity87/rgb/matrix_diagram.md
  9. +0
    -0
      keyboards/mechlovin/infinity87/rgb/readme.md
  10. +15
    -0
      keyboards/mechlovin/infinity87/rgb/rev1/info.json
  11. +0
    -0
      keyboards/mechlovin/infinity87/rgb/rev1/rules.mk
  12. +20
    -0
      keyboards/mechlovin/infinity87/rgb/rev2/config.h
  13. +22
    -0
      keyboards/mechlovin/infinity87/rgb/rev2/halconf.h
  14. +32
    -0
      keyboards/mechlovin/infinity87/rgb/rev2/info.json
  15. +24
    -0
      keyboards/mechlovin/infinity87/rgb/rev2/mcuconf.h
  16. +25
    -0
      keyboards/mechlovin/infinity87/rgb/rev2/rev2.c
  17. +2
    -0
      keyboards/mechlovin/infinity87/rgb/rev2/rules.mk
  18. +0
    -0
      keyboards/mechlovin/infinity87/rgb/rgb.c
  19. +1
    -0
      keyboards/mechlovin/infinity87/rgb/rules.mk
  20. +0
    -1
      keyboards/mechlovin/infinity87/rgb_rev1/rules.mk
  21. +1
    -1
      keyboards/mechlovin/infinity87/rules.mk

keyboards/mechlovin/infinity87/rgb_rev1/config.h → keyboards/mechlovin/infinity87/rgb/config.h View File


keyboards/mechlovin/infinity87/rgb_rev1/info.json → keyboards/mechlovin/infinity87/rgb/info.json View File

@ -1,13 +1,15 @@
{
"keyboard_name": "Infinity87 RGB Rev1",
"manufacturer": "Mechlovin.Studio",
"url": "",
"maintainer": "Team Mechlovin'",
"usb": {
"vid": "0x4D4C",
"pid": "0x8710",
"device_version": "0.0.1"
},
"features": {
"console": true,
"command": true,
"rgb_matrix": true
},
"rgb_matrix": {
"animations": {
"alphas_mods": true,
@ -60,14 +62,7 @@
"driver": "is31fl3741",
"sleep": true
},
"matrix_pins": {
"cols": ["B12", "B13", "B14", "B15", "A8", "A9", "B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A2", "A1", "A0"],
"rows": ["A10", "A13", "A14", "C13", "A4", "A3"]
},
"diode_direction": "COL2ROW",
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"board": "QMK_PROTON_C",
"community_layouts": [
"tkl_ansi",
"tkl_ansi_split_bs_rshift",

keyboards/mechlovin/infinity87/rgb_rev1/keymaps/default/keymap.c → keyboards/mechlovin/infinity87/rgb/keymaps/default/keymap.c View File


keyboards/mechlovin/infinity87/rgb_rev1/keymaps/default/readme.md → keyboards/mechlovin/infinity87/rgb/keymaps/default/readme.md View File


keyboards/mechlovin/infinity87/rgb_rev1/keymaps/via/keymap.c → keyboards/mechlovin/infinity87/rgb/keymaps/via/keymap.c View File


keyboards/mechlovin/infinity87/rgb_rev1/keymaps/via/readme.md → keyboards/mechlovin/infinity87/rgb/keymaps/via/readme.md View File


keyboards/mechlovin/infinity87/rgb_rev1/keymaps/via/rules.mk → keyboards/mechlovin/infinity87/rgb/keymaps/via/rules.mk View File


keyboards/mechlovin/infinity87/rgb_rev1/matrix_diagram.md → keyboards/mechlovin/infinity87/rgb/matrix_diagram.md View File


keyboards/mechlovin/infinity87/rgb_rev1/readme.md → keyboards/mechlovin/infinity87/rgb/readme.md View File


+ 15
- 0
keyboards/mechlovin/infinity87/rgb/rev1/info.json View File

@ -0,0 +1,15 @@
{
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"board": "QMK_PROTON_C",
"features": {
"bootmagic": true,
"mousekey": true,
"extrakey": true,
"nkro": true
},
"matrix_pins": {
"cols": ["B12", "B13", "B14", "B15", "A8", "A9", "B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A2", "A1", "A0"],
"rows": ["A10", "A13", "A14", "C13", "A4", "A3"]
}
}

+ 0
- 0
keyboards/mechlovin/infinity87/rgb/rev1/rules.mk View File


+ 20
- 0
keyboards/mechlovin/infinity87/rgb/rev2/config.h View File

@ -0,0 +1,20 @@
/* Copyright 2020 Team Mechlovin'
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define I2C1_CLOCK_SPEED 400000
#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2

+ 22
- 0
keyboards/mechlovin/infinity87/rgb/rev2/halconf.h View File

@ -0,0 +1,22 @@
/* Copyright 2022 QMK
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define HAL_USE_I2C TRUE
#include_next <halconf.h>

+ 32
- 0
keyboards/mechlovin/infinity87/rgb/rev2/info.json View File

@ -0,0 +1,32 @@
{
"processor": "STM32F103",
"bootloader": "stm32duino",
"rgblight": {
"led_count": 23,
"sleep": true,
"animations": {
"alternating": true,
"breathing": true,
"christmas": true,
"knight": true,
"rainbow_mood": true,
"rainbow_swirl": true,
"rgb_test": true,
"snake": true,
"static_gradient": true,
"twinkle": true
}
},
"features": {
"rgblight": true,
"nkro": true
},
"matrix_pins": {
"cols": ["B12", "B13", "B14", "B15", "A8", "A9", "B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A2", "A1", "A0"],
"rows": ["A10", "B3", "B4", "C13", "A4", "A3"]
},
"ws2812": {
"pin": "B5"
},
"mcu_lcdscrpipt": "STM32F103xB_stm32duino"
}

+ 24
- 0
keyboards/mechlovin/infinity87/rgb/rev2/mcuconf.h View File

@ -0,0 +1,24 @@
/* Copyright 2022 QMK
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include_next <mcuconf.h>
#undef STM32_I2C_USE_I2C1
#define STM32_I2C_USE_I2C1 TRUE

+ 25
- 0
keyboards/mechlovin/infinity87/rgb/rev2/rev2.c View File

@ -0,0 +1,25 @@
/* Copyright 2024 Mechlovin'
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#ifdef RGBLIGHT_ENABLE
void keyboard_post_init_kb(void) {
// Call the post init code.
rgblight_sethsv_at(255, 255, 255, 0);
keyboard_post_init_user();
}
#endif

+ 2
- 0
keyboards/mechlovin/infinity87/rgb/rev2/rules.mk View File

@ -0,0 +1,2 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -p FFFF -v FFFF

keyboards/mechlovin/infinity87/rgb_rev1/rgb_rev1.c → keyboards/mechlovin/infinity87/rgb/rgb.c View File


+ 1
- 0
keyboards/mechlovin/infinity87/rgb/rules.mk View File

@ -0,0 +1 @@
DEFAULT_FOLDER = mechlovin/infinity87/rgb/rev1

+ 0
- 1
keyboards/mechlovin/infinity87/rgb_rev1/rules.mk View File

@ -1 +0,0 @@
RGB_MATRIX_ENABLE = yes # Use RGB matrix

+ 1
- 1
keyboards/mechlovin/infinity87/rules.mk View File

@ -12,4 +12,4 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
DEFAULT_FOLDER = mechlovin/infinity87/rgb_rev1
DEFAULT_FOLDER = mechlovin/infinity87/rgb/rev1

Loading…
Cancel
Save