diff options
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 000000000..1a0cd63b0 --- /dev/null +++ b/keyboards/system76/launch_1/rules.mk | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # CPU frequency divided by two since AVR is at 3.3 V | ||
| 5 | F_CPU = 8000000 | ||
| 6 | |||
| 7 | # External oscillator is 16 MHz | ||
| 8 | F_USB = 16000000 | ||
| 9 | |||
| 10 | # Bootloader selection | ||
| 11 | BOOTLOADER = atmel-dfu | ||
| 12 | |||
| 13 | # Build options | ||
| 14 | # change yes to no to disable | ||
| 15 | BOOTMAGIC_ENABLE = no # Bootmagic Lite | ||
| 16 | MOUSEKEY_ENABLE = no # Mouse keys | ||
| 17 | EXTRAKEY_ENABLE = yes # Audio control and system control | ||
| 18 | CONSOLE_ENABLE = no # Console for debug | ||
| 19 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 20 | DYNAMIC_KEYMAP_ENABLE = yes # Reconfigurable keyboard without flashing firmware | ||
| 21 | NKRO_ENABLE = yes # USB N-key rollover | ||
| 22 | RAW_ENABLE = yes # Raw HID commands (used by Keyboard Configurator) | ||
| 23 | BACKLIGHT_ENABLE = no # RGB backlight (conflicts with RGB matrix) | ||
| 24 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 25 | RGB_MATRIX_ENABLE = yes # RGB matrix | ||
| 26 | RGB_MATRIX_DRIVER = WS2812 | ||
| 27 | RGB_MATRIX_CUSTOM_KB = yes # Custom keyboard effects | ||
| 28 | AUDIO_ENABLE = no # Audio output | ||
| 29 | LTO_ENABLE = yes # Link-time optimization for smaller binary | ||
| 30 | |||
| 31 | # Add System76 EC command interface as well as I2C and USB mux drivers | ||
| 32 | SRC += system76_ec.c usb_mux.c | ||
| 33 | QUANTUM_LIB_SRC += i2c_master.c | ||
