[Keyboard] Update rocketboard_16 with *most* of its final features (#12537)

This commit is contained in:
Seth
2021-09-11 00:32:29 -07:00
committed by GitHub
parent 5f94191075
commit 35bff470f7
7 changed files with 1359 additions and 68 deletions

View File

@@ -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