You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

132 lines
4.3 KiB

Remove Full Bootmagic (#13846) * disambiguate Bootmagic rules in keymaps The files edited by this commit were added at a point in time where `BOOTMAGIC_ENABLE = yes` enabled full Bootmagic. This commit edits the files to specify that full Bootmagic is intended. * remove BOOTMAGIC_ENABLE=full setting * unify commented BOOTMAGIC_ENABLE rules in keyboards Explicitly sets `BOOTMAGIC_ENABLE = no` in keyboards where the rule was commented out. Command: ``` find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;#[ \t]*\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-zA-Z]\+\).*;\1 = no # Virtual DIP switch configuration;g' {} + ``` * remove commented Bootmagic rules from keymap/user level Command: ``` find keyboards/ layouts/ users/ -type f -name 'rules.mk' -exec sed -i -e '/#.*\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*/d' {} + ``` * update keyboard BOOTMAGIC_ENABLE rule formatting Sets the formatting of BOOTMAGIC_ENABLE rules to `BOOTMAGIC_ENABLE = [value]`, without the inline comments (which will be replaced later). Command: ``` find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*;\1 = \2;g' '{}' + ``` * update keyboards' BOOTMAGIC_ENABLE settings Updates keyboard `rules.mk` files to use `BOOTMAGIC_ENABLE = lite` where `BOOTMAGIC_ENABLE = full` was being used. Command: ``` find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = \)full;\1lite;g' '{}' + ``` * update keymap/user BOOTMAGIC_ENABLE settings Updates keymap/user `rules.mk` files to use `BOOTMAGIC_ENABLE = lite` where `BOOTMAGIC_ENABLE = full` was being used. Commands: ``` find keyboards/ -type f -name 'rules.mk' -and -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE[ \t=]\+\)full;\1lite;g' '{}' + find layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE[ \t=]\+\)full;\1lite;g' '{}' + ``` * remove and replace inline comments in keyboards and keymap/user files Removes and replaces the inline comments, which have been updated to read `Enable Bootmagic Lite`. Commands: ``` find keyboards/ -type f -name 'rules.mk' -and -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*;\1 = \2;g' '{}' + find layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*;\1 = \2;g' '{}' + find keyboards/ layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = lite\);\1 # Enable Bootmagic Lite;g' '{}' + find keyboards/ layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = yes\);\1 # Enable Bootmagic Lite;g' '{}' + find keyboards/ layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = no\);\1 # Enable Bootmagic Lite;g' '{}' + ``` * rename improperly named makefiles Some files intended to be used as makefiles had improper names causing them to not be used as intended when building. This commit corrects the filenames of the affected files. * update renamed file with new rule formatting * update QMK's template files Updates QMK's `rules.mk` templates to use the new inline comment. * update QMK Docs - remove documentation of full Bootmagic - update links to Bootmagic Lite doc - add doc for Magic Keycodes * rules.mk patch for coarse/ixora and coarse/vinta
2 years ago
2020 November 28 Breaking Changes Update (#11053) * Branch point for 2020 November 28 Breaking Change * Remove matrix_col_t to allow MATRIX_ROWS > 32 (#10183) * Add support for soft serial to ATmega32U2 (#10204) * Change MIDI velocity implementation to allow direct control of velocity value (#9940) * Add ability to build a subset of all keyboards based on platform. * Actually use eeprom_driver_init(). * Make bootloader_jump weak for ChibiOS. (#10417) * Joystick 16-bit support (#10439) * Per-encoder resolutions (#10259) * Share button state from mousekey to pointing_device (#10179) * Add hotfix for chibios keyboards not wake (#10088) * Add advanced/efficient RGB Matrix Indicators (#8564) * Naming change. * Support for STM32 GPIOF,G,H,I,J,K (#10206) * Add milc as a dependency and remove the installed milc (#10563) * ChibiOS upgrade: early init conversions (#10214) * ChibiOS upgrade: configuration file migrator (#9952) * Haptic and solenoid cleanup (#9700) * XD75 cleanup (#10524) * OLED display update interval support (#10388) * Add definition based on currently-selected serial driver. (#10716) * New feature: Retro Tapping per key (#10622) * Allow for modification of output RGB values when using rgblight/rgb_matrix. (#10638) * Add housekeeping task callbacks so that keyboards/keymaps are capable of executing code for each main loop iteration. (#10530) * Rescale both ChibiOS and AVR backlighting. * Reduce Helix keyboard build variation (#8669) * Minor change to behavior allowing display updates to continue between task ticks (#10750) * Some GPIO manipulations in matrix.c change to atomic. (#10491) * qmk cformat (#10767) * [Keyboard] Update the Speedo firmware for v3.0 (#10657) * Maartenwut/Maarten namechange to evyd13/Evy (#10274) * [quantum] combine repeated lines of code (#10837) * Add step sequencer feature (#9703) * aeboards/ext65 refactor (#10820) * Refactor xelus/dawn60 for Rev2 later (#10584) * add DEBUG_MATRIX_SCAN_RATE_ENABLE to common_features.mk (#10824) * [Core] Added `add_oneshot_mods` & `del_oneshot_mods` (#10549) * update chibios os usb for the otg driver (#8893) * Remove HD44780 References, Part 4 (#10735) * [Keyboard] Add Valor FRL TKL (+refactor) (#10512) * Fix cursor position bug in oled_write_raw functions (#10800) * Fixup version.h writing when using SKIP_VERSION=yes (#10972) * Allow for certain code in the codebase assuming length of string. (#10974) * Add AT90USB support for serial.c (#10706) * Auto shift: support repeats and early registration (#9826) * Rename ledmatrix.h to match .c file (#7949) * Split RGB_MATRIX_ENABLE into _ENABLE and _DRIVER (#10231) * Split LED_MATRIX_ENABLE into _ENABLE and _DRIVER (#10840) * Merge point for 2020 Nov 28 Breaking Change
3 years ago
  1. # 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. BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
  6. MOUSEKEY_ENABLE = no # Mouse keys
  7. EXTRAKEY_ENABLE = yes # Audio control and System control
  8. CONSOLE_ENABLE = no # Console for debug
  9. COMMAND_ENABLE = no # Commands for debug and configuration
  10. NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  11. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
  12. MIDI_ENABLE = no # MIDI controls
  13. AUDIO_ENABLE = no # Audio output on port C6
  14. UNICODE_ENABLE = no # Unicode
  15. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  16. RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time.
  17. SWAP_HANDS_ENABLE = no # Enable one-hand typing
  18. LTO_ENABLE = no # if firmware size over limit, try this option
  19. define ZINC_CUSTOMISE_MSG
  20. $(info Zinc customize)
  21. $(info - LED_BACK_ENABLE=$(LED_BACK_ENABLE))
  22. $(info - LED_UNDERGLOW_ENABLE=$(LED_UNDERGLOW_ENABLE))
  23. $(info - LED_BOTH_ENABLE=$(LED_BOTH_ENABLE))
  24. $(info - LED_RGB_CONT=$(LED_RGB_CONT))
  25. $(info - RGB_MATRIX=$(RGB_MATRIX))
  26. $(info - LED_ANIMATION=$(LED_ANIMATIONS))
  27. $(info - IOS_DEVICE_ENABLE=$(IOS_DEVICE_ENABLE))
  28. endef
  29. # Zinc keyboard customize
  30. LED_BACK_ENABLE = no # LED backlight (Enable SK6812mini backlight)
  31. LED_UNDERGLOW_ENABLE = no # LED underglow (Enable WS2812 RGB underlight)
  32. LED_BOTH_ENABLE = no # LED backlight and underglow
  33. LED_RGB_CONT = no # LED continuous backlight or/and underglow between left Zinc and right Zinc
  34. RGB_MATRIX = no # RGB LED Matrix
  35. RGB_MATRIX_SPLIT_RIGHT = no # RGB Matrix for RIGHT Hand
  36. LED_ANIMATIONS = yes # LED animations
  37. IOS_DEVICE_ENABLE = no # connect to IOS device (iPad,iPhone)
  38. #### LED_BACK_ENABLE and LED_UNDERGLOW_ENABLE.
  39. #### Do not enable these with audio at the same time.
  40. ### Zinc keyboard 'default' keymap: convenient command line option
  41. ## make ZINC=<options> zinc:defualt
  42. ## option= back | under | both | cont | matrix | na | ios
  43. ## ex.
  44. ## make ZINC=under zinc:defualt
  45. ## make ZINC=under,ios zinc:defualt
  46. ## make ZINC=back zinc:default
  47. ## make ZINC=back,na zinc:default
  48. ## make ZINC=back,ios zinc:default
  49. ifneq ($(strip $(ZINC)),)
  50. ifeq ($(findstring back,$(ZINC)), back)
  51. LED_BACK_ENABLE = yes
  52. endif
  53. ifeq ($(findstring under,$(ZINC)), under)
  54. LED_UNDERGLOW_ENABLE = yes
  55. endif
  56. ifeq ($(findstring both,$(ZINC)), both)
  57. LED_BOTH_ENABLE = yes
  58. endif
  59. ifeq ($(findstring cont,$(ZINC)), cont)
  60. LED_RGB_CONT = yes
  61. endif
  62. ifeq ($(findstring matrix,$(ZINC)), matrix)
  63. RGB_MATRIX = yes
  64. endif
  65. ifeq ($(findstring right,$(ZINC)), right)
  66. RGB_MATRIX_SPLIT_RIGHT = yes
  67. endif
  68. ifeq ($(findstring na,$(ZINC)), na)
  69. LED_ANIMATIONS = no
  70. endif
  71. ifeq ($(findstring ios,$(ZINC)), ios)
  72. IOS_DEVICE_ENABLE = yes
  73. endif
  74. $(eval $(call ZINC_CUSTOMISE_MSG))
  75. $(info )
  76. endif
  77. ifeq ($(strip $(LED_BACK_ENABLE)), yes)
  78. RGBLIGHT_ENABLE = yes
  79. ifeq ($(strip $(LED_UNDERGLOW_ENABLE)), yes)
  80. OPT_DEFS += -DRGBLED_BOTH
  81. $(info LED_BOTH_ENABLE option is enabled instead of LED_BACK_ENABLE and LED_UNDERGLOW_ENABLE)
  82. else
  83. OPT_DEFS += -DRGBLED_BACK
  84. endif
  85. else ifeq ($(strip $(LED_UNDERGLOW_ENABLE)), yes)
  86. RGBLIGHT_ENABLE = yes
  87. else
  88. RGBLIGHT_ENABLE = no
  89. endif
  90. ifeq ($(strip $(LED_BOTH_ENABLE)), yes)
  91. RGBLIGHT_ENABLE = yes
  92. OPT_DEFS += -DRGBLED_BOTH
  93. endif
  94. ifeq ($(strip $(LED_RGB_CONT)), yes)
  95. OPT_DEFS += -DRGBLED_CONT
  96. endif
  97. ifeq ($(strip $(RGB_MATRIX)), yes)
  98. RGBLIGHT_ENABLE = no
  99. RGB_MATRIX_ENABLE = yes
  100. endif
  101. ifeq ($(strip $(IOS_DEVICE_ENABLE)), yes)
  102. OPT_DEFS += -DIOS_DEVICE_ENABLE
  103. endif
  104. ifeq ($(strip $(LED_ANIMATIONS)), yes)
  105. # OPT_DEFS += -DRGBLIGHT_ANIMATIONS
  106. OPT_DEFS += -DLED_ANIMATIONS
  107. endif
  108. ifeq ($(strip $(RGB_MATRIX_SPLIT_RIGHT)), yes)
  109. OPT_DEFS += -DRGB_MATRIX_SPLIT_RIGHT
  110. endif
  111. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  112. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  113. # Uncomment these for debugging
  114. # $(info -- RGBLIGHT_ENABLE=$(RGBLIGHT_ENABLE))
  115. # $(info -- OPT_DEFS=$(OPT_DEFS))
  116. # $(info )