diff options
author | lokher <lokher@gmail.com> | 2022-12-06 17:10:48 +0800 |
---|---|---|
committer | lokher <lokher@gmail.com> | 2022-12-07 15:50:49 +0800 |
commit | a336c2c5005251e4cb0f3a62ccabdb4cfccad915 (patch) | |
tree | 3c948b631a5e3b6f940dabe02fad3c7487e6f350 /keyboards/handwired/onekey/bluepill | |
parent | 27fc28fd2ff52e079a5bc58d6aaea4c752420615 (diff) |
Merge upstream master to 2022 Q4 breaking change
Diffstat (limited to 'keyboards/handwired/onekey/bluepill')
-rw-r--r-- | keyboards/handwired/onekey/bluepill/config.h | 26 | ||||
-rw-r--r-- | keyboards/handwired/onekey/bluepill/halconf.h | 28 | ||||
-rw-r--r-- | keyboards/handwired/onekey/bluepill/info.json | 14 | ||||
-rw-r--r-- | keyboards/handwired/onekey/bluepill/mcuconf.h | 33 | ||||
-rw-r--r-- | keyboards/handwired/onekey/bluepill/rules.mk | 2 |
5 files changed, 0 insertions, 103 deletions
diff --git a/keyboards/handwired/onekey/bluepill/config.h b/keyboards/handwired/onekey/bluepill/config.h deleted file mode 100644 index 79fa79595a..0000000000 --- a/keyboards/handwired/onekey/bluepill/config.h +++ /dev/null @@ -1,26 +0,0 @@ -/* Copyright 2019 - * - * 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 "config_common.h" - -#define BACKLIGHT_PWM_DRIVER PWMD2 -#define BACKLIGHT_PWM_CHANNEL 1 - -#define ADC_PIN A0 - -#define RGB_CI_PIN A2 diff --git a/keyboards/handwired/onekey/bluepill/halconf.h b/keyboards/handwired/onekey/bluepill/halconf.h deleted file mode 100644 index dbc3e82a79..0000000000 --- a/keyboards/handwired/onekey/bluepill/halconf.h +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright 2020 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/>. - */ - -/* - * This file was auto-generated by: - * `qmk chibios-confmigrate -i keyboards/handwired/onekey/bluepill/halconf.h -r platforms/chibios/common/configs/halconf.h` - */ - -#pragma once - -#define HAL_USE_ADC TRUE - -#define HAL_USE_PWM TRUE - -#include_next <halconf.h> diff --git a/keyboards/handwired/onekey/bluepill/info.json b/keyboards/handwired/onekey/bluepill/info.json deleted file mode 100644 index 7bef2db170..0000000000 --- a/keyboards/handwired/onekey/bluepill/info.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "keyboard_name": "Onekey Bluepill STM32F103", - "development_board": "bluepill", - "matrix_pins": { - "cols": ["B0"], - "rows": ["A7"] - }, - "backlight": { - "pin": "A0" - }, - "rgblight": { - "pin": "A1" - } -} diff --git a/keyboards/handwired/onekey/bluepill/mcuconf.h b/keyboards/handwired/onekey/bluepill/mcuconf.h deleted file mode 100644 index 39834c135b..0000000000 --- a/keyboards/handwired/onekey/bluepill/mcuconf.h +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright 2020 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/>. - */ - -/* - * This file was auto-generated by: - * `qmk chibios-confmigrate -i keyboards/handwired/onekey/bluepill/mcuconf.h -r platforms/chibios/STM32_F103_STM32DUINO/configs/mcuconf.h` - */ - -#pragma once - -#include_next <mcuconf.h> - -#undef STM32_ADC_USE_ADC1 -#define STM32_ADC_USE_ADC1 TRUE - -#undef STM32_PWM_USE_TIM2 -#define STM32_PWM_USE_TIM2 TRUE - -#undef STM32_SPI_USE_SPI2 -#define STM32_SPI_USE_SPI2 FALSE diff --git a/keyboards/handwired/onekey/bluepill/rules.mk b/keyboards/handwired/onekey/bluepill/rules.mk deleted file mode 100644 index a92b099328..0000000000 --- a/keyboards/handwired/onekey/bluepill/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -# Enter lower-power sleep mode when on the ChibiOS idle thread -OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |