diff options
author | QMK Bot <hello@qmk.fm> | 2021-09-11 07:32:58 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2021-09-11 07:32:58 +0000 |
commit | e1540a41b7bc09f0bd5c1cd442ce3340540aaa76 (patch) | |
tree | 0680f5761ff2846974d6e9dfc50f7b251c18469c /keyboards/rocketboard_16/rules.mk | |
parent | a27df035eea6c551d6ebc4c533360acf7ff7b5be (diff) | |
parent | 35bff470f73e5041f4e969f5dae5f60d4c1ea3e0 (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/rocketboard_16/rules.mk')
-rw-r--r-- | keyboards/rocketboard_16/rules.mk | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/keyboards/rocketboard_16/rules.mk b/keyboards/rocketboard_16/rules.mk index b1450c7794..f8e2b217c2 100644 --- a/keyboards/rocketboard_16/rules.mk +++ b/keyboards/rocketboard_16/rules.mk @@ -2,7 +2,18 @@ MCU = STM32F103 # Bootloader selection -BOOTLOADER = stm32duino +# BOOTLOADER = stm32duino + +# Custom loader configuration +MCU_LDSCRIPT = STM32F103xB_stm32duino_bootloader +OPT_DEFS += -DBOOTLOADER_STM32DUINO +BOARD = STM32_F103_STM32DUINO +STM32_BOOTLOADER_ADDRESS = 0x80000000 +DFU_ARGS = -d 1EAF:0003 -a 2 -R +DFU_SUFFIX_ARGS = -v 1EAF -p 0003 + +# Extra include +SRC += keycode_lookup.c # Build Options # change yes to no to disable @@ -24,5 +35,9 @@ OLED_ENABLE = yes OLED_DRIVER = SSD1306 ENCODER_ENABLE = yes +RAW_ENABLE = yes # Enables HID RAW communication between the board and the PC + # Enter lower-power sleep mode when on the ChibiOS idle thread OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE + +LTO_ENABLE = yes |