@ -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 +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 |
@ -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> | |||||
@ -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" | |||||
} |
@ -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 |
@ -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 |
@ -0,0 +1,2 @@ | |||||
# Wildcard to allow APM32 MCU | |||||
DFU_SUFFIX_ARGS = -p FFFF -v FFFF |
@ -0,0 +1 @@ | |||||
DEFAULT_FOLDER = mechlovin/infinity87/rgb/rev1 |
@ -1 +0,0 @@ | |||||
RGB_MATRIX_ENABLE = yes # Use RGB matrix |