diff options
author | QMK Bot <hello@qmk.fm> | 2022-01-11 01:39:46 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2022-01-11 01:39:46 +0000 |
commit | 9b07108fbf1334512ed738893bb27b77b9cc5330 (patch) | |
tree | 0e27bc84a60f8f0849e186d7118912592e8c3929 /keyboards/system76/launch_1/rules.mk | |
parent | 8e1269617ac64cd581b437c44e3dab54589a6624 (diff) | |
parent | 8920db2b57b616e162e2d3162577db6f021e7658 (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/system76/launch_1/rules.mk')
-rw-r--r-- | keyboards/system76/launch_1/rules.mk | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/keyboards/system76/launch_1/rules.mk b/keyboards/system76/launch_1/rules.mk new file mode 100644 index 0000000000..1a0cd63b0d --- /dev/null +++ b/keyboards/system76/launch_1/rules.mk @@ -0,0 +1,33 @@ +# MCU name +MCU = atmega32u4 + +# CPU frequency divided by two since AVR is at 3.3 V +F_CPU = 8000000 + +# External oscillator is 16 MHz +F_USB = 16000000 + +# Bootloader selection +BOOTLOADER = atmel-dfu + +# Build options +# change yes to no to disable +BOOTMAGIC_ENABLE = no # Bootmagic Lite +MOUSEKEY_ENABLE = no # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and system control +CONSOLE_ENABLE = no # Console for debug +COMMAND_ENABLE = no # Commands for debug and configuration +DYNAMIC_KEYMAP_ENABLE = yes # Reconfigurable keyboard without flashing firmware +NKRO_ENABLE = yes # USB N-key rollover +RAW_ENABLE = yes # Raw HID commands (used by Keyboard Configurator) +BACKLIGHT_ENABLE = no # RGB backlight (conflicts with RGB matrix) +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow +RGB_MATRIX_ENABLE = yes # RGB matrix +RGB_MATRIX_DRIVER = WS2812 +RGB_MATRIX_CUSTOM_KB = yes # Custom keyboard effects +AUDIO_ENABLE = no # Audio output +LTO_ENABLE = yes # Link-time optimization for smaller binary + +# Add System76 EC command interface as well as I2C and USB mux drivers +SRC += system76_ec.c usb_mux.c +QUANTUM_LIB_SRC += i2c_master.c |