aboutsummaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/handwired/onekey/blackpill_f401/rules.mk30
-rw-r--r--keyboards/handwired/onekey/blackpill_f411/rules.mk30
-rw-r--r--keyboards/handwired/riblee_f401/rules.mk32
-rw-r--r--keyboards/matrix/m20add/rules.mk27
-rw-r--r--keyboards/matrix/noah/rules.mk27
-rw-r--r--keyboards/phoenix/rules.mk34
-rw-r--r--keyboards/tkw/stoutgat/v2/f411/rules.mk30
-rw-r--r--keyboards/zvecr/zv48/f401/rules.mk30
-rw-r--r--keyboards/zvecr/zv48/f411/rules.mk30
9 files changed, 35 insertions, 235 deletions
diff --git a/keyboards/handwired/onekey/blackpill_f401/rules.mk b/keyboards/handwired/onekey/blackpill_f401/rules.mk
index 609262049..6eb37a581 100644
--- a/keyboards/handwired/onekey/blackpill_f401/rules.mk
+++ b/keyboards/handwired/onekey/blackpill_f401/rules.mk
@@ -1,30 +1,8 @@
1## chip/board settings 1# MCU name
2# the next two should match the directories in 2MCU = STM32F401
3# <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
4MCU_FAMILY = STM32
5MCU_SERIES = STM32F4xx
6# linker script to use
7# it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
8# or <this_dir>/ld/
9MCU_LDSCRIPT = STM32F401xC
10# startup code to use
11# is should exist in <chibios>/os/common/ports/ARMCMx/compilers/GCC/mk/
12MCU_STARTUP = stm32f4xx
13# it should exist either in <chibios>/os/hal/boards/
14# or <this_dir>/boards
15BOARD = BLACKPILL_STM32_F401
16# Cortex version
17# Teensy LC is cortex-m0; Teensy 3.x are cortex-m4
18MCU = cortex-m4
19# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
20ARMV = 7
21USE_FPU = yes
22# Address of the booloader in system memory
23STM32_BOOTLOADER_ADDRESS = 0x1FFF0000
24 3
25# Options to pass to dfu-util when flashing 4# Address of the bootloader in system memory
26DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave 5STM32_BOOTLOADER_ADDRESS = 0x1FFF0000
27DFU_SUFFIX_ARGS = -v 0483 -p df11
28 6
29# Build Options 7# Build Options
30# change yes to no to disable 8# change yes to no to disable
diff --git a/keyboards/handwired/onekey/blackpill_f411/rules.mk b/keyboards/handwired/onekey/blackpill_f411/rules.mk
index f2e0f2b4f..7cf886431 100644
--- a/keyboards/handwired/onekey/blackpill_f411/rules.mk
+++ b/keyboards/handwired/onekey/blackpill_f411/rules.mk
@@ -1,30 +1,8 @@
1## chip/board settings 1# MCU name
2# the next two should match the directories in 2MCU = STM32F411
3# <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
4MCU_FAMILY = STM32
5MCU_SERIES = STM32F4xx
6# linker script to use
7# it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
8# or <this_dir>/ld/
9MCU_LDSCRIPT = STM32F411xE
10# startup code to use
11# is should exist in <chibios>/os/common/ports/ARMCMx/compilers/GCC/mk/
12MCU_STARTUP = stm32f4xx
13# it should exist either in <chibios>/os/hal/boards/
14# or <this_dir>/boards
15BOARD = BLACKPILL_STM32_F411
16# Cortex version
17# Teensy LC is cortex-m0; Teensy 3.x are cortex-m4
18MCU = cortex-m4
19# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
20ARMV = 7
21USE_FPU = yes
22# Address of the booloader in system memory
23STM32_BOOTLOADER_ADDRESS = 0x1FFF0000
24 3
25# Options to pass to dfu-util when flashing 4# Address of the bootloader in system memory
26DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave 5STM32_BOOTLOADER_ADDRESS = 0x1FFF0000
27DFU_SUFFIX_ARGS = -v 0483 -p df11
28 6
29# Build Options 7# Build Options
30# change yes to no to disable 8# change yes to no to disable
diff --git a/keyboards/handwired/riblee_f401/rules.mk b/keyboards/handwired/riblee_f401/rules.mk
index eab426a37..2cb1d380e 100644
--- a/keyboards/handwired/riblee_f401/rules.mk
+++ b/keyboards/handwired/riblee_f401/rules.mk
@@ -1,30 +1,8 @@
1## chip/board settings 1# MCU name
2# the next two should match the directories in 2MCU = STM32F401
3# <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
4MCU_FAMILY = STM32
5MCU_SERIES = STM32F4xx
6# linker script to use
7# it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
8# or <this_dir>/ld/
9MCU_LDSCRIPT = STM32F401xC
10# startup code to use
11# is should exist in <chibios>/os/common/ports/ARMCMx/compilers/GCC/mk/
12MCU_STARTUP = stm32f4xx
13# it should exist either in <chibios>/os/hal/boards/
14# or <this_dir>/boards
15BOARD = BLACKPILL_STM32_F401
16# Cortex version
17# Teensy LC is cortex-m0; Teensy 3.x are cortex-m4
18MCU = cortex-m4
19# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
20ARMV = 7
21USE_FPU = yes
22# Address of the booloader in system memory
23STM32_BOOTLOADER_ADDRESS = 0x1FFF0000
24 3
25# Options to pass to dfu-util when flashing 4# Address of the bootloader in system memory
26DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave 5STM32_BOOTLOADER_ADDRESS = 0x1FFF0000
27DFU_SUFFIX_ARGS = -v 0483 -p df11
28 6
29# Build Options 7# Build Options
30# change yes to no to disable 8# change yes to no to disable
@@ -43,4 +21,4 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
43BACKLIGHT_DRIVER = software 21BACKLIGHT_DRIVER = software
44RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow 22RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
45BLUETOOTH_ENABLE = no # Enable Bluetooth 23BLUETOOTH_ENABLE = no # Enable Bluetooth
46AUDIO_ENABLE = no # Audio output \ No newline at end of file 24AUDIO_ENABLE = no # Audio output
diff --git a/keyboards/matrix/m20add/rules.mk b/keyboards/matrix/m20add/rules.mk
index 6dba15393..fb97c1d3c 100644
--- a/keyboards/matrix/m20add/rules.mk
+++ b/keyboards/matrix/m20add/rules.mk
@@ -1,38 +1,15 @@
1## chip/board settings 1# MCU name
2# - the next two should match the directories in 2MCU = STM32F411
3# <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
4MCU_FAMILY = STM32
5MCU_SERIES = STM32F4xx
6 3
7# Linker script to use 4# Linker script to use
8# - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ 5# - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
9# or <this_dir>/ld/ 6# or <this_dir>/ld/
10MCU_LDSCRIPT = m20add_boot 7MCU_LDSCRIPT = m20add_boot
11 8
12# Startup code to use
13# - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/
14MCU_STARTUP = stm32f4xx
15
16# Board: it should exist either in <chibios>/os/hal/boards/ 9# Board: it should exist either in <chibios>/os/hal/boards/
17# or <this_dir>/boards 10# or <this_dir>/boards
18BOARD = m20add_bd 11BOARD = m20add_bd
19 12
20# Cortex version
21MCU = cortex-m4
22
23# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
24ARMV = 7
25
26USE_FPU = yes
27
28# Vector table for application
29# 0x00000000-0x00001000 area is occupied by bootlaoder.*/
30OPT_DEFS =
31
32# Options to pass to dfu-util when flashing
33#DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave
34#DFU_SUFFIX_ARGS = -p DF11 -v 0483
35
36# Build Options 13# Build Options
37# comment out to disable the options. 14# comment out to disable the options.
38# 15#
diff --git a/keyboards/matrix/noah/rules.mk b/keyboards/matrix/noah/rules.mk
index 094364e11..19e432d2a 100644
--- a/keyboards/matrix/noah/rules.mk
+++ b/keyboards/matrix/noah/rules.mk
@@ -1,38 +1,15 @@
1## chip/board settings 1# MCU name
2# - the next two should match the directories in 2MCU = STM32F411
3# <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
4MCU_FAMILY = STM32
5MCU_SERIES = STM32F4xx
6 3
7# Linker script to use 4# Linker script to use
8# - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ 5# - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
9# or <this_dir>/ld/ 6# or <this_dir>/ld/
10MCU_LDSCRIPT = noah_boot 7MCU_LDSCRIPT = noah_boot
11 8
12# Startup code to use
13# - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/
14MCU_STARTUP = stm32f4xx
15
16# Board: it should exist either in <chibios>/os/hal/boards/ 9# Board: it should exist either in <chibios>/os/hal/boards/
17# or <this_dir>/boards 10# or <this_dir>/boards
18BOARD = noah_bd 11BOARD = noah_bd
19 12
20# Cortex version
21MCU = cortex-m4
22
23# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
24ARMV = 7
25
26USE_FPU = yes
27
28# Vector table for application
29# 0x00000000-0x00001000 area is occupied by bootlaoder.*/
30OPT_DEFS =
31
32# Options to pass to dfu-util when flashing
33#DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave
34#DFU_SUFFIX_ARGS = -p DF11 -v 0483
35
36# Build Options 13# Build Options
37# comment out to disable the options. 14# comment out to disable the options.
38# 15#
diff --git a/keyboards/phoenix/rules.mk b/keyboards/phoenix/rules.mk
index 6c6c8446a..968c6548c 100644
--- a/keyboards/phoenix/rules.mk
+++ b/keyboards/phoenix/rules.mk
@@ -1,3 +1,9 @@
1# MCU name
2MCU = STM32F401
3
4# Address of the bootloader in system memory
5STM32_BOOTLOADER_ADDRESS = 0x1FFF0000
6
1# Build Options 7# Build Options
2# change yes to no to disable 8# change yes to no to disable
3# 9#
@@ -17,32 +23,4 @@ SPLIT_KEYBOARD = yes
17SERIAL_DRIVER = usart 23SERIAL_DRIVER = usart
18KEYBOARD_SHARED_EP = yes 24KEYBOARD_SHARED_EP = yes
19 25
20## chip/board settings
21# the next two should match the directories in
22# <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
23MCU_FAMILY = STM32
24MCU_SERIES = STM32F4xx
25# linker script to use
26# it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
27# or <this_dir>/ld/
28MCU_LDSCRIPT = STM32F401xC
29# startup code to use
30# is should exist in <chibios>/os/common/ports/ARMCMx/compilers/GCC/mk/
31MCU_STARTUP = stm32f4xx
32# it should exist either in <chibios>/os/hal/boards/
33# or <this_dir>/boards
34BOARD = BLACKPILL_STM32_F401
35# Cortex version
36# Teensy LC is cortex-m0; Teensy 3.x are cortex-m4
37MCU = cortex-m4
38# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
39ARMV = 7
40USE_FPU = yes
41# Address of the booloader in system memory
42STM32_BOOTLOADER_ADDRESS = 0x1FFF0000
43
44# Options to pass to dfu-util when flashing
45DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave
46DFU_SUFFIX_ARGS = -v 0483 -p df11
47
48OPT_DEFS += -DSTM32_DMA_REQUIRED=TRUE 26OPT_DEFS += -DSTM32_DMA_REQUIRED=TRUE
diff --git a/keyboards/tkw/stoutgat/v2/f411/rules.mk b/keyboards/tkw/stoutgat/v2/f411/rules.mk
index 61add3aed..4f7f52e62 100644
--- a/keyboards/tkw/stoutgat/v2/f411/rules.mk
+++ b/keyboards/tkw/stoutgat/v2/f411/rules.mk
@@ -1,27 +1,5 @@
1## chip/board settings 1# MCU name
2# the next two should match the directories in 2MCU = STM32F411
3# <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
4MCU_FAMILY = STM32
5MCU_SERIES = STM32F4xx
6# linker script to use
7# it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
8# or <this_dir>/ld/
9MCU_LDSCRIPT = STM32F411xE
10# startup code to use
11# is should exist in <chibios>/os/common/ports/ARMCMx/compilers/GCC/mk/
12MCU_STARTUP = stm32f4xx
13# it should exist either in <chibios>/os/hal/boards/
14# or <this_dir>/boards
15BOARD = BLACKPILL_STM32_F411
16# Cortex version
17# Teensy LC is cortex-m0; Teensy 3.x are cortex-m4
18MCU = cortex-m4
19# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
20ARMV = 7
21USE_FPU = yes
22# Address of the booloader in system memory
23STM32_BOOTLOADER_ADDRESS = 0x1FFF0000
24 3
25# Options to pass to dfu-util when flashing 4# Address of the bootloader in system memory
26DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave 5STM32_BOOTLOADER_ADDRESS = 0x1FFF0000
27DFU_SUFFIX_ARGS = -v 0483 -p df11
diff --git a/keyboards/zvecr/zv48/f401/rules.mk b/keyboards/zvecr/zv48/f401/rules.mk
index e41d5ef7a..950442af9 100644
--- a/keyboards/zvecr/zv48/f401/rules.mk
+++ b/keyboards/zvecr/zv48/f401/rules.mk
@@ -1,27 +1,5 @@
1## chip/board settings 1# MCU name
2# the next two should match the directories in 2MCU = STM32F401
3# <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
4MCU_FAMILY = STM32
5MCU_SERIES = STM32F4xx
6# linker script to use
7# it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
8# or <this_dir>/ld/
9MCU_LDSCRIPT = STM32F401xC
10# startup code to use
11# is should exist in <chibios>/os/common/ports/ARMCMx/compilers/GCC/mk/
12MCU_STARTUP = stm32f4xx
13# it should exist either in <chibios>/os/hal/boards/
14# or <this_dir>/boards
15BOARD = BLACKPILL_STM32_F401
16# Cortex version
17# Teensy LC is cortex-m0; Teensy 3.x are cortex-m4
18MCU = cortex-m4
19# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
20ARMV = 7
21USE_FPU = yes
22# Address of the booloader in system memory
23STM32_BOOTLOADER_ADDRESS = 0x1FFF0000
24 3
25# Options to pass to dfu-util when flashing 4# Address of the bootloader in system memory
26DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave 5STM32_BOOTLOADER_ADDRESS = 0x1FFF0000
27DFU_SUFFIX_ARGS = -v 0483 -p df11
diff --git a/keyboards/zvecr/zv48/f411/rules.mk b/keyboards/zvecr/zv48/f411/rules.mk
index 61add3aed..4f7f52e62 100644
--- a/keyboards/zvecr/zv48/f411/rules.mk
+++ b/keyboards/zvecr/zv48/f411/rules.mk
@@ -1,27 +1,5 @@
1## chip/board settings 1# MCU name
2# the next two should match the directories in 2MCU = STM32F411
3# <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
4MCU_FAMILY = STM32
5MCU_SERIES = STM32F4xx
6# linker script to use
7# it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
8# or <this_dir>/ld/
9MCU_LDSCRIPT = STM32F411xE
10# startup code to use
11# is should exist in <chibios>/os/common/ports/ARMCMx/compilers/GCC/mk/
12MCU_STARTUP = stm32f4xx
13# it should exist either in <chibios>/os/hal/boards/
14# or <this_dir>/boards
15BOARD = BLACKPILL_STM32_F411
16# Cortex version
17# Teensy LC is cortex-m0; Teensy 3.x are cortex-m4
18MCU = cortex-m4
19# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
20ARMV = 7
21USE_FPU = yes
22# Address of the booloader in system memory
23STM32_BOOTLOADER_ADDRESS = 0x1FFF0000
24 3
25# Options to pass to dfu-util when flashing 4# Address of the bootloader in system memory
26DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave 5STM32_BOOTLOADER_ADDRESS = 0x1FFF0000
27DFU_SUFFIX_ARGS = -v 0483 -p df11