diff options
Diffstat (limited to 'keyboards/sowbug/ansi_tkl/rules.mk')
| -rw-r--r-- | keyboards/sowbug/ansi_tkl/rules.mk | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/keyboards/sowbug/ansi_tkl/rules.mk b/keyboards/sowbug/ansi_tkl/rules.mk new file mode 100644 index 000000000..414140c5e --- /dev/null +++ b/keyboards/sowbug/ansi_tkl/rules.mk | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = STM32F103 | ||
| 3 | |||
| 4 | # GENERIC STM32F103C8T6 board - stm32duino bootloader | ||
| 5 | OPT_DEFS = -DCORTEX_VTOR_INIT=0x2000 | ||
| 6 | MCU_LDSCRIPT = STM32F103x8_stm32duino_bootloader | ||
| 7 | BOARD = STM32_F103_STM32DUINO | ||
| 8 | |||
| 9 | DFU_ARGS = -d 1eaf:0003 -a2 -R | ||
| 10 | DFU_SUFFIX_ARGS = -v 1eaf -p 0003 | ||
| 11 | |||
| 12 | # Build Options | ||
| 13 | # comment out to disable the options. | ||
| 14 | # | ||
| 15 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration | ||
| 16 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 17 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 18 | CONSOLE_ENABLE = no | ||
| 19 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 20 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 21 | NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 22 | AUDIO_ENABLE = no | ||
| 23 | RGB_MATRIX_ENABLE = yes | ||
| 24 | RGB_MATRIX_DRIVER = WS2812 | ||
| 25 | |||
| 26 | # Want backlighting and RGB Matrix patterns? See the note in the readme, | ||
| 27 | # apply the patches, and then uncomment the lines below as well as the one in | ||
| 28 | # config.h. | ||
| 29 | # | ||
| 30 | # BACKLIGHT_ENABLE = yes | ||
| 31 | # BACKLIGHT_DRIVER = rgb_matrix | ||
| 32 | |||
| 33 | # Enter lower-power sleep mode when on the ChibiOS idle thread | ||
| 34 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | ||
