Skip to content

Commit

Permalink
Swap over F4x1 8MHz HSE boards over from blackpill board files (qmk#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr authored and zykrah committed Jul 2, 2022
1 parent f76fd76 commit 4760358
Show file tree
Hide file tree
Showing 24 changed files with 11 additions and 144 deletions.
2 changes: 0 additions & 2 deletions keyboards/4pplet/yakiimo/rev_a/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5

#define STM32_HSECLK 8000000
37 changes: 0 additions & 37 deletions keyboards/4pplet/yakiimo/rev_a/mcuconf.h

This file was deleted.

1 change: 1 addition & 0 deletions keyboards/4pplet/yakiimo/rev_a/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# MCU name
MCU = STM32F411
BOARD = GENERIC_STM32_F411XE

# Bootloader selection
BOOTLOADER = stm32-dfu
Expand Down
2 changes: 0 additions & 2 deletions keyboards/acheron/shark/beta/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BREATHING_PERIOD 5
#define BACKLIGHT_ON_STATE 1

#define STM32_HSECLK 8000000

#define RGB_DI_PIN B15
#define RGBLED_NUM 24
#define RGBLIGHT_ANIMATIONS
Expand Down
13 changes: 0 additions & 13 deletions keyboards/acheron/shark/beta/mcuconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,6 @@
#pragma once

#include_next <mcuconf.h>
#undef STM32_PLLM_VALUE
#undef STM32_PLLN_VALUE
#undef STM32_PLLP_VALUE
#undef STM32_PLLQ_VALUE
#undef STM32_PPRE1
#undef STM32_PPRE2

#define STM32_PLLM_VALUE 4
#define STM32_PLLN_VALUE 96
#define STM32_PLLP_VALUE 2
#define STM32_PLLQ_VALUE 4
#define STM32_PPRE1 STM32_PPRE1_DIV2
#define STM32_PPRE2 STM32_PPRE2_DIV1

#undef STM32_I2C_USE_I2C1
#define STM32_I2C_USE_I2C1 TRUE
Expand Down
1 change: 1 addition & 0 deletions keyboards/acheron/shark/beta/rules.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
MCU = STM32F411
BOARD = GENERIC_STM32_F411XE

# Bootloader selection
BOOTLOADER = stm32-dfu
Expand Down
2 changes: 0 additions & 2 deletions keyboards/mode/m65ha_alpha/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE

#define STM32_HSECLK 8000000

#define OPENDRAIN_INDICATORS
#define LED_CAPS_LOCK_PIN A6

Expand Down
13 changes: 0 additions & 13 deletions keyboards/mode/m65ha_alpha/mcuconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,6 @@
#pragma once

#include_next <mcuconf.h>
#undef STM32_PLLM_VALUE
#undef STM32_PLLN_VALUE
#undef STM32_PLLP_VALUE
#undef STM32_PLLQ_VALUE
#undef STM32_PPRE1
#undef STM32_PPRE2

#define STM32_PLLM_VALUE 4
#define STM32_PLLN_VALUE 168
#define STM32_PLLP_VALUE 4
#define STM32_PLLQ_VALUE 7
#define STM32_PPRE1 STM32_PPRE1_DIV2
#define STM32_PPRE2 STM32_PPRE2_DIV1

#undef STM32_I2C_USE_I2C1
#define STM32_I2C_USE_I2C1 TRUE
2 changes: 2 additions & 0 deletions keyboards/mode/m65ha_alpha/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# MCU name
MCU = STM32F401
BOARD = GENERIC_STM32_F401XC

# Bootloader selection
BOOTLOADER = stm32-dfu
Expand All @@ -17,5 +18,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
EEPROM_DRIVER = i2c

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE -DDEBUG_EEPROM_OUTPUT=TRUE
2 changes: 0 additions & 2 deletions keyboards/mode/m65hi_alpha/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE

#define STM32_HSECLK 8000000

#define OPENDRAIN_INDICATORS
#define LED_CAPS_LOCK_PIN A6

Expand Down
13 changes: 0 additions & 13 deletions keyboards/mode/m65hi_alpha/mcuconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,6 @@
#pragma once

#include_next <mcuconf.h>
#undef STM32_PLLM_VALUE
#undef STM32_PLLN_VALUE
#undef STM32_PLLP_VALUE
#undef STM32_PLLQ_VALUE
#undef STM32_PPRE1
#undef STM32_PPRE2

#define STM32_PLLM_VALUE 4
#define STM32_PLLN_VALUE 168
#define STM32_PLLP_VALUE 4
#define STM32_PLLQ_VALUE 7
#define STM32_PPRE1 STM32_PPRE1_DIV2
#define STM32_PPRE2 STM32_PPRE2_DIV1

#undef STM32_I2C_USE_I2C1
#define STM32_I2C_USE_I2C1 TRUE
2 changes: 2 additions & 0 deletions keyboards/mode/m65hi_alpha/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# MCU name
MCU = STM32F401
BOARD = GENERIC_STM32_F401XC

# Bootloader selection
BOOTLOADER = stm32-dfu
Expand All @@ -17,5 +18,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
EEPROM_DRIVER = i2c

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE -DDEBUG_EEPROM_OUTPUT=TRUE
2 changes: 0 additions & 2 deletions keyboards/mode/m65s/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE

#define STM32_HSECLK 8000000

#define OPENDRAIN_INDICATORS
#define LED_CAPS_LOCK_PIN C8

Expand Down
13 changes: 0 additions & 13 deletions keyboards/mode/m65s/mcuconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,6 @@
#pragma once

#include_next <mcuconf.h>
#undef STM32_PLLM_VALUE
#undef STM32_PLLN_VALUE
#undef STM32_PLLP_VALUE
#undef STM32_PLLQ_VALUE
#undef STM32_PPRE1
#undef STM32_PPRE2

#define STM32_PLLM_VALUE 4
#define STM32_PLLN_VALUE 168
#define STM32_PLLP_VALUE 4
#define STM32_PLLQ_VALUE 7
#define STM32_PPRE1 STM32_PPRE1_DIV2
#define STM32_PPRE2 STM32_PPRE2_DIV1

#undef STM32_I2C_USE_I2C1
#define STM32_I2C_USE_I2C1 TRUE
1 change: 1 addition & 0 deletions keyboards/mode/m65s/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# MCU name
MCU = STM32F401
BOARD = GENERIC_STM32_F401XC

# Bootloader selection
BOOTLOADER = stm32-dfu
Expand Down
2 changes: 0 additions & 2 deletions keyboards/mode/m75h/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE

#define STM32_HSECLK 8000000

/*
* Feature disable options
* These options are also useful to firmware size reduction.
Expand Down
13 changes: 0 additions & 13 deletions keyboards/mode/m75h/mcuconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,6 @@
#pragma once

#include_next <mcuconf.h>
#undef STM32_PLLM_VALUE
#undef STM32_PLLN_VALUE
#undef STM32_PLLP_VALUE
#undef STM32_PLLQ_VALUE
#undef STM32_PPRE1
#undef STM32_PPRE2

#define STM32_PLLM_VALUE 4
#define STM32_PLLN_VALUE 168
#define STM32_PLLP_VALUE 4
#define STM32_PLLQ_VALUE 7
#define STM32_PPRE1 STM32_PPRE1_DIV2
#define STM32_PPRE2 STM32_PPRE2_DIV1

#undef STM32_I2C_USE_I2C1
#define STM32_I2C_USE_I2C1 TRUE
1 change: 1 addition & 0 deletions keyboards/mode/m75h/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# MCU name
MCU = STM32F401
BOARD = GENERIC_STM32_F401XC

# Bootloader selection
BOOTLOADER = stm32-dfu
Expand Down
2 changes: 0 additions & 2 deletions keyboards/mode/m75s/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE

#define STM32_HSECLK 8000000

/*
* Feature disable options
* These options are also useful to firmware size reduction.
Expand Down
13 changes: 0 additions & 13 deletions keyboards/mode/m75s/mcuconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,6 @@
#pragma once

#include_next <mcuconf.h>
#undef STM32_PLLM_VALUE
#undef STM32_PLLN_VALUE
#undef STM32_PLLP_VALUE
#undef STM32_PLLQ_VALUE
#undef STM32_PPRE1
#undef STM32_PPRE2

#define STM32_PLLM_VALUE 4
#define STM32_PLLN_VALUE 168
#define STM32_PLLP_VALUE 4
#define STM32_PLLQ_VALUE 7
#define STM32_PPRE1 STM32_PPRE1_DIV2
#define STM32_PPRE2 STM32_PPRE2_DIV1

#undef STM32_I2C_USE_I2C1
#define STM32_I2C_USE_I2C1 TRUE
1 change: 1 addition & 0 deletions keyboards/mode/m75s/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# MCU name
MCU = STM32F401
BOARD = GENERIC_STM32_F401XC

# Bootloader selection
BOOTLOADER = stm32-dfu
Expand Down
3 changes: 1 addition & 2 deletions keyboards/smithrune/iron165r2/f411/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
Expand All @@ -25,8 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BREATHING_PERIOD 5
#define BACKLIGHT_ON_STATE 1

#define STM32_HSECLK 8000000

#define RGB_DI_PIN B15
#define RGBLED_NUM 22
#define RGBLIGHT_EFFECT_BREATHING
Expand Down
13 changes: 0 additions & 13 deletions keyboards/smithrune/iron165r2/f411/mcuconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,6 @@
#pragma once

#include_next <mcuconf.h>
#undef STM32_PLLM_VALUE
#undef STM32_PLLN_VALUE
#undef STM32_PLLP_VALUE
#undef STM32_PLLQ_VALUE
#undef STM32_PPRE1
#undef STM32_PPRE2

#define STM32_PLLM_VALUE 4
#define STM32_PLLN_VALUE 72
#define STM32_PLLP_VALUE 2
#define STM32_PLLQ_VALUE 3
#define STM32_PPRE1 STM32_PPRE1_DIV2
#define STM32_PPRE2 STM32_PPRE2_DIV1

#undef STM32_I2C_USE_I2C1
#define STM32_I2C_USE_I2C1 TRUE
Expand Down
1 change: 1 addition & 0 deletions keyboards/smithrune/iron165r2/f411/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# MCU name
MCU = STM32F411
BOARD = GENERIC_STM32_F411XE

# Bootloader selection
BOOTLOADER = stm32-dfu
Expand Down

0 comments on commit 4760358

Please sign in to comment.