diff options
author | satt99 <[email protected]> | 2018-12-31 01:34:06 +0900 |
---|---|---|
committer | Drashna Jaelre <[email protected]> | 2018-12-30 08:34:06 -0800 |
commit | 46b4b4407ff6e23d0799b0f902e61f1fe3645a9a (patch) | |
tree | de3fe1ee10e65c08549cc20230f9f822954a8fee /keyboards/comet46/rules.mk | |
parent | c2390bf32156884d6825686c7f13f9c621bab366 (diff) | |
download | qmk_firmware-46b4b4407ff6e23d0799b0f902e61f1fe3645a9a.tar.gz qmk_firmware-46b4b4407ff6e23d0799b0f902e61f1fe3645a9a.zip |
Comet46 add support for OLED (#4745)
* Add OLED support for Comet46
* fix length of char "name" of keylogger.c
* update ssd1306
* fix rules.mk
* update led-receiver keymap
* Update OLED related code
* add mod_state_reader & modify led_state_reader
* Update OLED related files
* Update kemaps
* Update readme
* change default-oled-display to default
* Add OSM compatibility to mod_state_reader
* Code formatting
* Use PROGMEM to store code_to_name
* Clean up satt keymap
* Rename default-led keymap to defult-rgbled
Diffstat (limited to 'keyboards/comet46/rules.mk')
-rw-r--r-- | keyboards/comet46/rules.mk | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/keyboards/comet46/rules.mk b/keyboards/comet46/rules.mk index 648b8b2008..897cc9b8c6 100644 --- a/keyboards/comet46/rules.mk +++ b/keyboards/comet46/rules.mk @@ -1,12 +1,8 @@ - -OPT_DEFS += -DCOMET46_ORTHO_===PROMICRO -COMET46_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done; \ - avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB) - # # project specific files -SRC = matrix.c - - +SRC += matrix.c \ + i2c.c \ + ssd1306.c + # MCU name #MCU = at90usb1287 MCU = atmega32u4 @@ -24,8 +20,6 @@ MCU = atmega32u4 # software delays. F_CPU = 16000000 - -# # LUFA specific # # Target architecture (see library "Board Types" documentation). @@ -48,7 +42,7 @@ F_USB = $(F_CPU) # This definition is optional, and if your keyboard supports multiple bootloaders of # different sizes, comment this out, and the correct address will be loaded # automatically (+60). See bootloader.mk for all options. -BOOTLOADER = caterina +# BOOTLOADER = caterina # Interrupt driven control endpoint task(+60) OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT |