diff options
Diffstat (limited to 'bootloader.mk')
| -rw-r--r-- | bootloader.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bootloader.mk b/bootloader.mk index a7e596e47..ab1ced0ea 100644 --- a/bootloader.mk +++ b/bootloader.mk | |||
| @@ -28,6 +28,7 @@ | |||
| 28 | # bootloadHID HIDBootFlash compatible (ATmega32A) | 28 | # bootloadHID HIDBootFlash compatible (ATmega32A) |
| 29 | # USBasp USBaspLoader (ATmega328P) | 29 | # USBasp USBaspLoader (ATmega328P) |
| 30 | # kiibohd Input:Club Kiibohd bootloader (only used on their boards) | 30 | # kiibohd Input:Club Kiibohd bootloader (only used on their boards) |
| 31 | # stm32duino STM32Duino (STM32F103x8) | ||
| 31 | # | 32 | # |
| 32 | # BOOTLOADER_SIZE can still be defined manually, but it's recommended | 33 | # BOOTLOADER_SIZE can still be defined manually, but it's recommended |
| 33 | # you add any possible configuration to this list | 34 | # you add any possible configuration to this list |
| @@ -106,3 +107,14 @@ ifeq ($(strip $(BOOTLOADER)), kiibohd) | |||
| 106 | DFU_ARGS = -d 1C11:B007 | 107 | DFU_ARGS = -d 1C11:B007 |
| 107 | DFU_SUFFIX_ARGS = -v 1C11 -p B007 | 108 | DFU_SUFFIX_ARGS = -v 1C11 -p B007 |
| 108 | endif | 109 | endif |
| 110 | |||
| 111 | ifeq ($(strip $(BOOTLOADER)), stm32duino) | ||
| 112 | OPT_DEFS += -DBOOTLOADER_STM32DUINO | ||
| 113 | MCU_LDSCRIPT ?= STM32F103x8_stm32duino_bootloader | ||
| 114 | BOARD = STM32_F103_STM32DUINO | ||
| 115 | # STM32F103 does NOT have an USB bootloader in ROM (only serial), so setting anything here does not make much sense | ||
| 116 | STM32_BOOTLOADER_ADDRESS = 0x80000000 | ||
| 117 | |||
| 118 | DFU_ARGS = -d 1EAF:0003 -a2 -R | ||
| 119 | DFU_SUFFIX_ARGS = -v 1EAF -p 0003 | ||
| 120 | endif | ||
