diff options
| author | Ryan <fauxpark@gmail.com> | 2020-09-19 13:00:18 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-18 20:00:18 -0700 |
| commit | 0140baf7e0b041df841f8782743344a4ebe4ebe1 (patch) | |
| tree | 91d933bc255432b751e8535dff501bbb0206d7a3 /keyboards | |
| parent | b0024470ed347271e29b2de4d0442f855a26345c (diff) | |
| download | qmk_firmware-0140baf7e0b041df841f8782743344a4ebe4ebe1.tar.gz qmk_firmware-0140baf7e0b041df841f8782743344a4ebe4ebe1.zip | |
Add STM32F401/F411 to mcu_selection.mk (#10278)
* Reorder STM32 MCUs
* Add STM32F4xx to mcu_selection.mk
* Set MCU for phoenix and tkw/stoutgat/v2/f411
Diffstat (limited to 'keyboards')
| -rw-r--r-- | keyboards/handwired/onekey/blackpill_f401/rules.mk | 30 | ||||
| -rw-r--r-- | keyboards/handwired/onekey/blackpill_f411/rules.mk | 30 | ||||
| -rw-r--r-- | keyboards/handwired/riblee_f401/rules.mk | 32 | ||||
| -rw-r--r-- | keyboards/matrix/m20add/rules.mk | 27 | ||||
| -rw-r--r-- | keyboards/matrix/noah/rules.mk | 27 | ||||
| -rw-r--r-- | keyboards/phoenix/rules.mk | 34 | ||||
| -rw-r--r-- | keyboards/tkw/stoutgat/v2/f411/rules.mk | 30 | ||||
| -rw-r--r-- | keyboards/zvecr/zv48/f401/rules.mk | 30 | ||||
| -rw-r--r-- | keyboards/zvecr/zv48/f411/rules.mk | 30 |
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 | 2 | MCU = STM32F401 |
| 3 | # <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES) | ||
| 4 | MCU_FAMILY = STM32 | ||
| 5 | MCU_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/ | ||
| 9 | MCU_LDSCRIPT = STM32F401xC | ||
| 10 | # startup code to use | ||
| 11 | # is should exist in <chibios>/os/common/ports/ARMCMx/compilers/GCC/mk/ | ||
| 12 | MCU_STARTUP = stm32f4xx | ||
| 13 | # it should exist either in <chibios>/os/hal/boards/ | ||
| 14 | # or <this_dir>/boards | ||
| 15 | BOARD = BLACKPILL_STM32_F401 | ||
| 16 | # Cortex version | ||
| 17 | # Teensy LC is cortex-m0; Teensy 3.x are cortex-m4 | ||
| 18 | MCU = cortex-m4 | ||
| 19 | # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7 | ||
| 20 | ARMV = 7 | ||
| 21 | USE_FPU = yes | ||
| 22 | # Address of the booloader in system memory | ||
| 23 | STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 | ||
| 24 | 3 | ||
| 25 | # Options to pass to dfu-util when flashing | 4 | # Address of the bootloader in system memory |
| 26 | DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave | 5 | STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 |
| 27 | DFU_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 | 2 | MCU = STM32F411 |
| 3 | # <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES) | ||
| 4 | MCU_FAMILY = STM32 | ||
| 5 | MCU_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/ | ||
| 9 | MCU_LDSCRIPT = STM32F411xE | ||
| 10 | # startup code to use | ||
| 11 | # is should exist in <chibios>/os/common/ports/ARMCMx/compilers/GCC/mk/ | ||
| 12 | MCU_STARTUP = stm32f4xx | ||
| 13 | # it should exist either in <chibios>/os/hal/boards/ | ||
| 14 | # or <this_dir>/boards | ||
| 15 | BOARD = BLACKPILL_STM32_F411 | ||
| 16 | # Cortex version | ||
| 17 | # Teensy LC is cortex-m0; Teensy 3.x are cortex-m4 | ||
| 18 | MCU = cortex-m4 | ||
| 19 | # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7 | ||
| 20 | ARMV = 7 | ||
| 21 | USE_FPU = yes | ||
| 22 | # Address of the booloader in system memory | ||
| 23 | STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 | ||
| 24 | 3 | ||
| 25 | # Options to pass to dfu-util when flashing | 4 | # Address of the bootloader in system memory |
| 26 | DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave | 5 | STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 |
| 27 | DFU_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 | 2 | MCU = STM32F401 |
| 3 | # <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES) | ||
| 4 | MCU_FAMILY = STM32 | ||
| 5 | MCU_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/ | ||
| 9 | MCU_LDSCRIPT = STM32F401xC | ||
| 10 | # startup code to use | ||
| 11 | # is should exist in <chibios>/os/common/ports/ARMCMx/compilers/GCC/mk/ | ||
| 12 | MCU_STARTUP = stm32f4xx | ||
| 13 | # it should exist either in <chibios>/os/hal/boards/ | ||
| 14 | # or <this_dir>/boards | ||
| 15 | BOARD = BLACKPILL_STM32_F401 | ||
| 16 | # Cortex version | ||
| 17 | # Teensy LC is cortex-m0; Teensy 3.x are cortex-m4 | ||
| 18 | MCU = cortex-m4 | ||
| 19 | # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7 | ||
| 20 | ARMV = 7 | ||
| 21 | USE_FPU = yes | ||
| 22 | # Address of the booloader in system memory | ||
| 23 | STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 | ||
| 24 | 3 | ||
| 25 | # Options to pass to dfu-util when flashing | 4 | # Address of the bootloader in system memory |
| 26 | DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave | 5 | STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 |
| 27 | DFU_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 | |||
| 43 | BACKLIGHT_DRIVER = software | 21 | BACKLIGHT_DRIVER = software |
| 44 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | 22 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow |
| 45 | BLUETOOTH_ENABLE = no # Enable Bluetooth | 23 | BLUETOOTH_ENABLE = no # Enable Bluetooth |
| 46 | AUDIO_ENABLE = no # Audio output \ No newline at end of file | 24 | AUDIO_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 | 2 | MCU = STM32F411 |
| 3 | # <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES) | ||
| 4 | MCU_FAMILY = STM32 | ||
| 5 | MCU_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/ |
| 10 | MCU_LDSCRIPT = m20add_boot | 7 | MCU_LDSCRIPT = m20add_boot |
| 11 | 8 | ||
| 12 | # Startup code to use | ||
| 13 | # - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/ | ||
| 14 | MCU_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 |
| 18 | BOARD = m20add_bd | 11 | BOARD = m20add_bd |
| 19 | 12 | ||
| 20 | # Cortex version | ||
| 21 | MCU = cortex-m4 | ||
| 22 | |||
| 23 | # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7 | ||
| 24 | ARMV = 7 | ||
| 25 | |||
| 26 | USE_FPU = yes | ||
| 27 | |||
| 28 | # Vector table for application | ||
| 29 | # 0x00000000-0x00001000 area is occupied by bootlaoder.*/ | ||
| 30 | OPT_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 | 2 | MCU = STM32F411 |
| 3 | # <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES) | ||
| 4 | MCU_FAMILY = STM32 | ||
| 5 | MCU_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/ |
| 10 | MCU_LDSCRIPT = noah_boot | 7 | MCU_LDSCRIPT = noah_boot |
| 11 | 8 | ||
| 12 | # Startup code to use | ||
| 13 | # - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/ | ||
| 14 | MCU_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 |
| 18 | BOARD = noah_bd | 11 | BOARD = noah_bd |
| 19 | 12 | ||
| 20 | # Cortex version | ||
| 21 | MCU = cortex-m4 | ||
| 22 | |||
| 23 | # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7 | ||
| 24 | ARMV = 7 | ||
| 25 | |||
| 26 | USE_FPU = yes | ||
| 27 | |||
| 28 | # Vector table for application | ||
| 29 | # 0x00000000-0x00001000 area is occupied by bootlaoder.*/ | ||
| 30 | OPT_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 | ||
| 2 | MCU = STM32F401 | ||
| 3 | |||
| 4 | # Address of the bootloader in system memory | ||
| 5 | STM32_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 | |||
| 17 | SERIAL_DRIVER = usart | 23 | SERIAL_DRIVER = usart |
| 18 | KEYBOARD_SHARED_EP = yes | 24 | KEYBOARD_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) | ||
| 23 | MCU_FAMILY = STM32 | ||
| 24 | MCU_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/ | ||
| 28 | MCU_LDSCRIPT = STM32F401xC | ||
| 29 | # startup code to use | ||
| 30 | # is should exist in <chibios>/os/common/ports/ARMCMx/compilers/GCC/mk/ | ||
| 31 | MCU_STARTUP = stm32f4xx | ||
| 32 | # it should exist either in <chibios>/os/hal/boards/ | ||
| 33 | # or <this_dir>/boards | ||
| 34 | BOARD = BLACKPILL_STM32_F401 | ||
| 35 | # Cortex version | ||
| 36 | # Teensy LC is cortex-m0; Teensy 3.x are cortex-m4 | ||
| 37 | MCU = cortex-m4 | ||
| 38 | # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7 | ||
| 39 | ARMV = 7 | ||
| 40 | USE_FPU = yes | ||
| 41 | # Address of the booloader in system memory | ||
| 42 | STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 | ||
| 43 | |||
| 44 | # Options to pass to dfu-util when flashing | ||
| 45 | DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave | ||
| 46 | DFU_SUFFIX_ARGS = -v 0483 -p df11 | ||
| 47 | |||
| 48 | OPT_DEFS += -DSTM32_DMA_REQUIRED=TRUE | 26 | OPT_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 | 2 | MCU = STM32F411 |
| 3 | # <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES) | ||
| 4 | MCU_FAMILY = STM32 | ||
| 5 | MCU_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/ | ||
| 9 | MCU_LDSCRIPT = STM32F411xE | ||
| 10 | # startup code to use | ||
| 11 | # is should exist in <chibios>/os/common/ports/ARMCMx/compilers/GCC/mk/ | ||
| 12 | MCU_STARTUP = stm32f4xx | ||
| 13 | # it should exist either in <chibios>/os/hal/boards/ | ||
| 14 | # or <this_dir>/boards | ||
| 15 | BOARD = BLACKPILL_STM32_F411 | ||
| 16 | # Cortex version | ||
| 17 | # Teensy LC is cortex-m0; Teensy 3.x are cortex-m4 | ||
| 18 | MCU = cortex-m4 | ||
| 19 | # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7 | ||
| 20 | ARMV = 7 | ||
| 21 | USE_FPU = yes | ||
| 22 | # Address of the booloader in system memory | ||
| 23 | STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 | ||
| 24 | 3 | ||
| 25 | # Options to pass to dfu-util when flashing | 4 | # Address of the bootloader in system memory |
| 26 | DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave | 5 | STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 |
| 27 | DFU_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 | 2 | MCU = STM32F401 |
| 3 | # <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES) | ||
| 4 | MCU_FAMILY = STM32 | ||
| 5 | MCU_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/ | ||
| 9 | MCU_LDSCRIPT = STM32F401xC | ||
| 10 | # startup code to use | ||
| 11 | # is should exist in <chibios>/os/common/ports/ARMCMx/compilers/GCC/mk/ | ||
| 12 | MCU_STARTUP = stm32f4xx | ||
| 13 | # it should exist either in <chibios>/os/hal/boards/ | ||
| 14 | # or <this_dir>/boards | ||
| 15 | BOARD = BLACKPILL_STM32_F401 | ||
| 16 | # Cortex version | ||
| 17 | # Teensy LC is cortex-m0; Teensy 3.x are cortex-m4 | ||
| 18 | MCU = cortex-m4 | ||
| 19 | # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7 | ||
| 20 | ARMV = 7 | ||
| 21 | USE_FPU = yes | ||
| 22 | # Address of the booloader in system memory | ||
| 23 | STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 | ||
| 24 | 3 | ||
| 25 | # Options to pass to dfu-util when flashing | 4 | # Address of the bootloader in system memory |
| 26 | DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave | 5 | STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 |
| 27 | DFU_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 | 2 | MCU = STM32F411 |
| 3 | # <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES) | ||
| 4 | MCU_FAMILY = STM32 | ||
| 5 | MCU_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/ | ||
| 9 | MCU_LDSCRIPT = STM32F411xE | ||
| 10 | # startup code to use | ||
| 11 | # is should exist in <chibios>/os/common/ports/ARMCMx/compilers/GCC/mk/ | ||
| 12 | MCU_STARTUP = stm32f4xx | ||
| 13 | # it should exist either in <chibios>/os/hal/boards/ | ||
| 14 | # or <this_dir>/boards | ||
| 15 | BOARD = BLACKPILL_STM32_F411 | ||
| 16 | # Cortex version | ||
| 17 | # Teensy LC is cortex-m0; Teensy 3.x are cortex-m4 | ||
| 18 | MCU = cortex-m4 | ||
| 19 | # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7 | ||
| 20 | ARMV = 7 | ||
| 21 | USE_FPU = yes | ||
| 22 | # Address of the booloader in system memory | ||
| 23 | STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 | ||
| 24 | 3 | ||
| 25 | # Options to pass to dfu-util when flashing | 4 | # Address of the bootloader in system memory |
| 26 | DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave | 5 | STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 |
| 27 | DFU_SUFFIX_ARGS = -v 0483 -p df11 | ||
