rules.mk 432 B

1234567891011121314
  1. ENCODER_ENABLE = yes
  2. OLED_DRIVER_ENABLE = no
  3. OLED_ROTATE90 = yes
  4. # Setup so that OLED and 90 degree rotation can be turned on/off easily
  5. # with "OLED_DRIVER_ENABLE = yes" or "OLED_ROTATE90 = no" in user's rules.mk file
  6. ifeq ($(strip $(OLED_DRIVER_ENABLE)), yes)
  7. # Custom local font file
  8. OPT_DEFS += -DOLED_FONT_H=\"common/glcdfont.c\"
  9. ifeq ($(strip $(OLED_DRIVER_ENABLE)), yes)
  10. OPT_DEFS += -DOLED_ROTATE90
  11. endif
  12. endif