aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-04-26 02:52:29 +0000
committerQMK Bot <hello@qmk.fm>2021-04-26 02:52:29 +0000
commit5168af9a9bd0693cd5bddd4a07bea464015b5e5a (patch)
tree7d66f2fb99f24c4b151ffec2e6d554b373c614b2
parent61a1915cce620cfa732389d0601ff30e34962e60 (diff)
parent2f47bafd6a9c648daa4cfc11d5b1f15e32be3fc8 (diff)
downloadqmk_firmware-5168af9a9bd0693cd5bddd4a07bea464015b5e5a.tar.gz
qmk_firmware-5168af9a9bd0693cd5bddd4a07bea464015b5e5a.zip
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r--keyboards/melgeek/mj61/rev2/rules.mk1
-rw-r--r--keyboards/monarch/halconf.h27
-rw-r--r--keyboards/monarch/mcuconf.h28
-rw-r--r--keyboards/monarch/rules.mk2
4 files changed, 58 insertions, 0 deletions
diff --git a/keyboards/melgeek/mj61/rev2/rules.mk b/keyboards/melgeek/mj61/rev2/rules.mk
index a4c055805..31a770cfb 100644
--- a/keyboards/melgeek/mj61/rev2/rules.mk
+++ b/keyboards/melgeek/mj61/rev2/rules.mk
@@ -1,5 +1,6 @@
1# MCU name 1# MCU name
2MCU = STM32F303 2MCU = STM32F303
3BOARD = QMK_PROTON_C
3 4
4# Build Options 5# Build Options
5# change yes to no to disable 6# change yes to no to disable
diff --git a/keyboards/monarch/halconf.h b/keyboards/monarch/halconf.h
new file mode 100644
index 000000000..c4a89408a
--- /dev/null
+++ b/keyboards/monarch/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 * This file was auto-generated by:
19 * `qmk chibios-confmigrate -i keyboards/xelus/valor_frl_tkl/halconf.h -r platforms/chibios/common/configs/halconf.h`
20 */
21
22#pragma once
23
24#define HAL_USE_PWM TRUE
25
26#include_next <halconf.h>
27
diff --git a/keyboards/monarch/mcuconf.h b/keyboards/monarch/mcuconf.h
new file mode 100644
index 000000000..c16c3889a
--- /dev/null
+++ b/keyboards/monarch/mcuconf.h
@@ -0,0 +1,28 @@
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 * This file was auto-generated by:
19 * `qmk chibios-confmigrate -i keyboards/xelus/valor_frl_tkl/mcuconf.h -r platforms/chibios/GENERIC_STM32_F072XB/configs/mcuconf.h`
20 */
21
22#pragma once
23
24#include_next <mcuconf.h>
25
26#undef STM32_PWM_USE_TIM3
27#define STM32_PWM_USE_TIM3 TRUE
28
diff --git a/keyboards/monarch/rules.mk b/keyboards/monarch/rules.mk
index 5536d5334..22ec091e7 100644
--- a/keyboards/monarch/rules.mk
+++ b/keyboards/monarch/rules.mk
@@ -19,5 +19,7 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth
19AUDIO_ENABLE = no # Audio output 19AUDIO_ENABLE = no # Audio output
20ENCODER_ENABLE = yes 20ENCODER_ENABLE = yes
21 21
22BACKLIGHT_DRIVER = pwm
23
22# Enter lower-power sleep mode when on the ChibiOS idle thread 24# Enter lower-power sleep mode when on the ChibiOS idle thread
23OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE 25OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE