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