rules.mk 1.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # QMK Standard Build Options
  2. # change to "no" to disable the options, or define them in the Makefile in
  3. # the appropriate keymap folder that will get included automatically
  4. #
  5. # See TOP/keyboards/helix/rules.mk for a list of options that can be set.
  6. # See TOP/docs/config_options.md for more information.
  7. #
  8. LTO_ENABLE = yes # if firmware size over limit, try this option
  9. # Helix Spacific Build Options
  10. # you can uncomment and edit follows 7 Variables
  11. # jp: 以下の7つの変数を必要に応じて編集し、コメントアウトをはずします。
  12. # HELIX_ROWS = 5 # Helix Rows is 4 or 5
  13. # OLED_ENABLE = no # OLED_ENABLE
  14. # LOCAL_GLCDFONT = no # use each keymaps "helixfont.h" insted of "common/glcdfont.c"
  15. # LED_BACK_ENABLE = no # LED backlight (Enable WS2812 RGB underlight.)
  16. # LED_UNDERGLOW_ENABLE = no # LED underglow (Enable WS2812 RGB underlight.)
  17. # LED_ANIMATIONS = yes # LED animations
  18. # IOS_DEVICE_ENABLE = no # connect to IOS device (iPad,iPhone)
  19. # OLED_ENABLE が yes のとき
  20. # OLED_SELECT が core ならば QMK 標準の oled_dirver.c を使用します。
  21. # OLED_SELECT が core 以外ならば従来どおり helix/local_drivers/ssd1306.c を使用します。
  22. # If OLED_ENABLE is 'yes'
  23. # If OLED_SELECT is 'core', use QMK standard oled_dirver.c.
  24. # If OLED_SELECT is other than 'core', use helix/local_drivers/ssd1306.c.
  25. OLED_SELECT = core
  26. ifeq ($(strip $(OLED_ENABLE)), yes)
  27. SRC += oled_display.c
  28. endif
  29. # convert Helix-specific options (that represent combinations of standard options)
  30. # into QMK standard options.
  31. include $(strip $(KEYBOARD_LOCAL_FEATURES_MK))