@ -1,40 +0,0 @@ | |||
/* Copyright 2020, 2024 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/sowbug/68keys/chconf.h -r platforms/chibios/common/configs/chconf.h` | |||
*/ | |||
#pragma once | |||
#define CH_CFG_ST_TIMEDELTA 0 | |||
#define CH_CFG_USE_REGISTRY TRUE | |||
#define CH_CFG_USE_WAITEXIT TRUE | |||
#define CH_CFG_USE_CONDVARS TRUE | |||
#define CH_CFG_USE_CONDVARS_TIMEOUT FALSE | |||
#define CH_CFG_USE_MESSAGES TRUE | |||
#define CH_CFG_USE_MAILBOXES TRUE | |||
#define CH_CFG_USE_HEAP TRUE | |||
#include_next <chconf.h> |
@ -1,30 +1,11 @@ | |||
/* Copyright 2021 Mike Tsao | |||
* Copyright 2024 Richard Dawe (@richdawe) | |||
* | |||
* 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/>. | |||
*/ | |||
// Copyright 2021 Mike Tsao | |||
// Copyright 2024 Richard Dawe (@richdawe) | |||
// SPDX-License-Identifier: GPL-2.0-or-later | |||
#pragma once | |||
#undef STM32_HSECLK | |||
#define STM32_HSECLK 8000000 | |||
#define WS2812_PWM_DRIVER PWMD4 | |||
#define WS2812_PWM_CHANNEL 4 | |||
#define WS2812_PWM_PAL_MODE 2 | |||
#define WS2812_DMA_STREAM STM32_DMA1_STREAM7 | |||
#define WS2812_DMA_CHANNEL 7 | |||
#define RGB_MATRIX_KEYPRESSES | |||
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS | |||
#define WS2812_DMA_CHANNEL 7 |
@ -1,31 +1,9 @@ | |||
/* Copyright 2020 QMK | |||
* Copyright 2024 Richard Dawe (@richdawe) | |||
* | |||
* 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` | |||
*/ | |||
// Copyright 2024 Richard Dawe (@richdawe) | |||
// SPDX-License-Identifier: GPL-2.0-or-later | |||
#pragma once | |||
#include_next <mcuconf.h> | |||
#undef STM32_PWM_USE_TIM4 | |||
#define STM32_PWM_USE_TIM4 TRUE | |||
#undef STM32_SPI_USE_SPI2 | |||
#define STM32_SPI_USE_SPI2 FALSE | |||
#define STM32_PWM_USE_TIM4 TRUE |
@ -1,5 +1,2 @@ | |||
# Enter lower-power sleep mode when on the ChibiOS idle thread | |||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | |||
# Configure for 128K flash | |||
MCU_LDSCRIPT = STM32F103xB | |||
MCU_LDSCRIPT = STM32F103xB |