rules.mk 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # Copyright 2017 Luiz Ribeiro <luizribeiro@gmail.com>
  2. #
  3. # This program is free software: you can redistribute it and/or modify
  4. # it under the terms of the GNU General Public License as published by
  5. # the Free Software Foundation, either version 2 of the License, or
  6. # (at your option) any later version.
  7. #
  8. # This program is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. # GNU General Public License for more details.
  12. #
  13. # You should have received a copy of the GNU General Public License
  14. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. # MCU name
  16. MCU = atmega32a
  17. # Bootloader selection
  18. # Teensy halfkay
  19. # Pro Micro caterina
  20. # Atmel DFU atmel-dfu
  21. # LUFA DFU lufa-dfu
  22. # QMK DFU qmk-dfu
  23. # ATmega32A bootloadHID
  24. # ATmega328P USBasp
  25. BOOTLOADER = bootloadHID
  26. # build options
  27. BOOTMAGIC_ENABLE = no
  28. MOUSEKEY_ENABLE = no
  29. EXTRAKEY_ENABLE = yes
  30. CONSOLE_ENABLE = no
  31. COMMAND_ENABLE = no
  32. BACKLIGHT_ENABLE = yes
  33. BACKLIGHT_CUSTOM_DRIVER = yes
  34. RGBLIGHT_ENABLE = yes
  35. RGBLIGHT_CUSTOM_DRIVER = yes
  36. KEY_LOCK_ENABLE = yes
  37. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  38. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  39. OPT_DEFS = -DDEBUG_LEVEL=0
  40. # custom matrix setup
  41. CUSTOM_MATRIX = yes
  42. SRC = matrix.c i2c.c backlight.c