diff options
author | Seth <fl3tching101@gmail.com> | 2021-09-11 00:32:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-11 00:32:29 -0700 |
commit | 35bff470f73e5041f4e969f5dae5f60d4c1ea3e0 (patch) | |
tree | f70195740edde70fe714102fa81398d390ab22a2 /keyboards/rocketboard_16/rules.mk | |
parent | 5f941910755907ea300a526634c1269823477e7b (diff) |
[Keyboard] Update rocketboard_16 with *most* of its final features (#12537)
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 |