Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flash size suffixes to STM32 MCUs #8179

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion keyboards/1upkeyboards/sweet16/v2/proton_c/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F303
MCU = STM32F303xC

## Features
CONSOLE_ENABLE = yes
Expand Down
2 changes: 1 addition & 1 deletion keyboards/acheron/arctic/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F072
MCU = STM32F072xB

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/acheron/austin/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F072
MCU = STM32F072xB

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/acheron/keebspcb/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F072
MCU = STM32F072xB

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/acheron/shark/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F303
MCU = STM32F303xC

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/aeboards/ext65/rev2/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F072
MCU = STM32F072xB

# Build Options
# comment out to disable the options.
Expand Down
2 changes: 1 addition & 1 deletion keyboards/ai03/vega/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F072
MCU = STM32F072xB

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/akegata_denki/device_one/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F042
MCU = STM32F042x6

BOARD = DEVICE_ONE

Expand Down
2 changes: 1 addition & 1 deletion keyboards/at_at/660m/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F072
MCU = STM32F072B
BOARD = ST_STM32F072B_DISCOVERY

# Build Options
Expand Down
2 changes: 1 addition & 1 deletion keyboards/atreus/keymaps/ridingqwerty/rules.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MCU = STM32F303
MCU = STM32F303xC

# Build Options
# comment out to disable the options.
Expand Down
2 changes: 1 addition & 1 deletion keyboards/boston_meetup/2019/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F303
MCU = STM32F303xC

# Build Options
# comment out to disable the options.
Expand Down
2 changes: 1 addition & 1 deletion keyboards/c39/keymaps/drashna/rules.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MCU = STM32F303
MCU = STM32F303xC
BOOTLOADER =

BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration(+1000)
Expand Down
2 changes: 1 addition & 1 deletion keyboards/cannonkeys/an_c/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F072
MCU = STM32F072xB

# Build Options
# comment out to disable the options.
Expand Down
2 changes: 1 addition & 1 deletion keyboards/cannonkeys/atlas/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU Name
MCU = STM32F072
MCU = STM32F072xB

# Build Options
# comment out to disable the options.
Expand Down
2 changes: 1 addition & 1 deletion keyboards/cannonkeys/chimera65/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F072
MCU = STM32F072xB

# Build Options
# comment out to disable the options.
Expand Down
2 changes: 1 addition & 1 deletion keyboards/cannonkeys/db60/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F072
MCU = STM32F072xB

# Build Options
# comment out to disable the options.
Expand Down
2 changes: 1 addition & 1 deletion keyboards/cannonkeys/devastatingtkl/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F072
MCU = STM32F072xB

# Build Options
# comment out to disable the options.
Expand Down
2 changes: 1 addition & 1 deletion keyboards/cannonkeys/instant60/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F072
MCU = STM32F072xB

# Build Options
# comment out to disable the options.
Expand Down
2 changes: 1 addition & 1 deletion keyboards/cannonkeys/instant65/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F072
MCU = STM32F072xB

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/cannonkeys/iron165/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F072
MCU = STM32F072xB

# Build Options
# comment out to disable the options.
Expand Down
2 changes: 1 addition & 1 deletion keyboards/cannonkeys/obliterated75/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F072
MCU = STM32F072xB

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/cannonkeys/ortho48/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F103
MCU = STM32F103x8

# GENERIC STM32F103C8T6 board - stm32duino bootloader
MCU_LDSCRIPT = STM32F103x8_stm32duino_bootloader
Expand Down
2 changes: 1 addition & 1 deletion keyboards/cannonkeys/ortho60/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F103
MCU = STM32F103x8

# GENERIC STM32F103C8T6 board - stm32duino bootloader
MCU_LDSCRIPT = STM32F103x8_stm32duino_bootloader
Expand Down
2 changes: 1 addition & 1 deletion keyboards/cannonkeys/ortho75/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F103
MCU = STM32F103x8

# GENERIC STM32F103C8T6 board - stm32duino bootloader
MCU_LDSCRIPT = STM32F103x8_stm32duino_bootloader
Expand Down
2 changes: 1 addition & 1 deletion keyboards/cannonkeys/practice60/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F103
MCU = STM32F103x8

# GENERIC STM32F103C8T6 board - stm32duino bootloader
MCU_LDSCRIPT = STM32F103x8_stm32duino_bootloader
Expand Down
2 changes: 1 addition & 1 deletion keyboards/cannonkeys/practice65/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F103
MCU = STM32F103x8

# GENERIC STM32F103C8T6 board - stm32duino bootloader
MCU_LDSCRIPT = STM32F103x8_stm32duino_bootloader
Expand Down
2 changes: 1 addition & 1 deletion keyboards/cannonkeys/rekt1800/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F072
MCU = STM32F072xB

# Build Options
# comment out to disable the options.
Expand Down
2 changes: 1 addition & 1 deletion keyboards/cannonkeys/satisfaction75/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F072
MCU = STM32F072xB
BOARD = ST_STM32F072B_DISCOVERY

# Build Options
Expand Down
2 changes: 1 addition & 1 deletion keyboards/cannonkeys/savage65/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F072
MCU = STM32F072xB

# Build Options
# comment out to disable the options.
Expand Down
2 changes: 1 addition & 1 deletion keyboards/cannonkeys/tmov2/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F072
MCU = STM32F072xB

# Build Options
# comment out to disable the options.
Expand Down
2 changes: 1 addition & 1 deletion keyboards/chavdai40/rev1/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F042
MCU = STM32F042x6

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/chavdai40/rev2/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F042
MCU = STM32F042x6

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/cheshire/curiosity/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F072
MCU = STM32F072xB

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/ckeys/thedora/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F303
MCU = STM32F303xC

# Build Options
# comment out to disable the options.
Expand Down
2 changes: 1 addition & 1 deletion keyboards/clueboard/60/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F303
MCU = STM32F303xB
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are two PCB's that are otherwise identical, one with an xC and one with an xB. Given supply chain issues for the xC and xB I think we'll see this with other boards in the future.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's ... a mess.

Would it be better to assume the smaller amount, even if that isn't accurate for every board?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On some MCUs, the smaller amount is quite small (64KB). QMK barely fits into that space, and some options have to be turned off to get there.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably exacerbated now with @awkannan using APM32's due to supply chain issues of STM32's.


# Build Options
# comment out to disable the options.
Expand Down
2 changes: 1 addition & 1 deletion keyboards/clueboard/66/rev4/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F303
MCU = STM32F303xC

# Build Options
# comment out to disable the options.
Expand Down
2 changes: 1 addition & 1 deletion keyboards/clueboard/66_hotswap/gen1/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F303
MCU = STM32F303xC

# LED Configuration
LED_MATRIX_ENABLE = IS31FL3731
Expand Down
2 changes: 1 addition & 1 deletion keyboards/clueboard/california/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F303
MCU = STM32F303xC

## Features
MOUSEKEY_ENABLE = yes # Mouse keys
Expand Down
2 changes: 1 addition & 1 deletion keyboards/converter/siemens_tastatur/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F103
MCU = STM32F103x8

# GENERIC STM32F103C8T6 board - stm32duino bootloader
MCU_LDSCRIPT = STM32F103x8_stm32duino_bootloader
Expand Down
2 changes: 1 addition & 1 deletion keyboards/dztech/dz60rgb/v1/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F303
MCU = STM32F303xB

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/dztech/dz60rgb_ansi/v1/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F303
MCU = STM32F303xB

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/dztech/dz60rgb_wkl/v1/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F303
MCU = STM32F303xB

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/dztech/dz65rgb/v1/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F303
MCU = STM32F303xB

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/ergodox_stm32/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F103
MCU = STM32F103x8

MCU_LDSCRIPT = stm32f103_bootloader
BOARD = ERGODOX_STM32_BOARD
Expand Down
2 changes: 1 addition & 1 deletion keyboards/function96/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F072
MCU = STM32F072xB

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/generic_panda/panda65_01/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F072
MCU = STM32F072xB

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/hadron/ver3/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F303
MCU = STM32F303xC

# Build Options
# comment out to disable the options.
Expand Down
2 changes: 1 addition & 1 deletion keyboards/handwired/bluepill/bluepill70/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F103
MCU = STM32F103x8

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
Expand Down
2 changes: 1 addition & 1 deletion keyboards/handwired/ck4x4/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F072
MCU = STM32F072xB

# Build Options
# comment out to disable the options.
Expand Down
2 changes: 1 addition & 1 deletion keyboards/handwired/co60/rev6/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F303
MCU = STM32F303xB

# Build Options
# comment out to disable the options.
Expand Down
2 changes: 1 addition & 1 deletion keyboards/handwired/co60/rev7/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F303
MCU = STM32F303xB

# Use SPI for RGB underglow:
WS2812_DRIVER = spi
Expand Down
2 changes: 1 addition & 1 deletion keyboards/handwired/d48/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F303
MCU = STM32F303xC

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/handwired/ddg_56/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F303
MCU = STM32F303xC

# Build Options
# change to "no" to disable the options, or define them in the Makefile in
Expand Down
2 changes: 1 addition & 1 deletion keyboards/handwired/floorboard/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F303
MCU = STM32F303xC

# Build Options
# change yes to no to disable
Expand Down
2 changes: 1 addition & 1 deletion keyboards/handwired/onekey/blackpill_f401/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F401
MCU = STM32F401xC

# Address of the bootloader in system memory
STM32_BOOTLOADER_ADDRESS = 0x1FFF0000
Expand Down
2 changes: 1 addition & 1 deletion keyboards/handwired/onekey/blackpill_f411/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F411
MCU = STM32F411xE

# Address of the bootloader in system memory
STM32_BOOTLOADER_ADDRESS = 0x1FFF0000
Expand Down
2 changes: 1 addition & 1 deletion keyboards/handwired/onekey/bluepill/rules.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MCU name
MCU = STM32F103
MCU = STM32F103x8

# GENERIC STM32F103C8T6 board - stm32duino bootloader
MCU_LDSCRIPT = STM32F103x8_stm32duino_bootloader
Expand Down
Loading