summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorCole Markham <github@ccmcomputing.net>2017-12-09 01:25:32 -0600
committerJack Humbert <jack.humb@gmail.com>2017-12-14 00:13:42 -0500
commit5fe0fe37562635caef2e6c0d9fb40832e2c332d1 (patch)
tree0ff7d613a7faf89093cd170eaf6b1e750bcb3b7b /keyboards
parentcc0d4b65134d7e2878d9028e1fabe6d3d646eeff (diff)
downloadqmk_firmware-5fe0fe37562635caef2e6c0d9fb40832e2c332d1.tar.gz
qmk_firmware-5fe0fe37562635caef2e6c0d9fb40832e2c332d1.zip
Fix keyboard not working if I2C pullups not enabled.
Disable backlighting by default.
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/meira/featherble/rules.mk2
-rw-r--r--keyboards/meira/meira.c3
-rw-r--r--keyboards/meira/promicro/rules.mk2
-rw-r--r--keyboards/meira/rules.mk6
4 files changed, 7 insertions, 6 deletions
diff --git a/keyboards/meira/featherble/rules.mk b/keyboards/meira/featherble/rules.mk
index 47d0e5b892..3913643222 100644
--- a/keyboards/meira/featherble/rules.mk
+++ b/keyboards/meira/featherble/rules.mk
@@ -1,4 +1,4 @@
BLUETOOTH_ENABLE = yes
-BACKLIGHT_ENABLE = yes
+BACKLIGHT_ENABLE = no
F_CPU = 8000000
diff --git a/keyboards/meira/meira.c b/keyboards/meira/meira.c
index cd6bf5580b..2ae53e00a3 100644
--- a/keyboards/meira/meira.c
+++ b/keyboards/meira/meira.c
@@ -20,6 +20,8 @@
#include "quantum.h"
#define BACKLIGHT_BREATHING
+extern void backlight_set(uint8_t level);
+
#ifdef AUDIO_ENABLE
float tone_startup[][2] = SONG(STARTUP_SOUND);
float tone_goodbye[][2] = SONG(GOODBYE_SOUND);
@@ -55,7 +57,6 @@ void matrix_init_kb(void)
wdt_enable(WDTO_500MS);
#endif
-
// put your keyboard start-up code here
// runs once when the firmware starts up
matrix_init_user();
diff --git a/keyboards/meira/promicro/rules.mk b/keyboards/meira/promicro/rules.mk
index 8d6c4e168f..529e3147ee 100644
--- a/keyboards/meira/promicro/rules.mk
+++ b/keyboards/meira/promicro/rules.mk
@@ -1,2 +1,2 @@
BLUETOOTH_ENABLE = no
-BACKLIGHT_ENABLE = yes
+BACKLIGHT_ENABLE = no
diff --git a/keyboards/meira/rules.mk b/keyboards/meira/rules.mk
index 9f1d2fbaee..3c69cb60a0 100644
--- a/keyboards/meira/rules.mk
+++ b/keyboards/meira/rules.mk
@@ -47,7 +47,7 @@ OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
# Atmel DFU loader 4096
# LUFA bootloader 4096
# USBaspLoader 2048
-OPT_DEFS += -DBOOTLOADER_SIZE=512
+OPT_DEFS += -DBOOTLOADER_SIZE=4096
# Build Options
@@ -62,7 +62,7 @@ COMMAND_ENABLE ?= yes # Commands for debug and configuration
SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
NKRO_ENABLE ?= no # USB Nkey Rollover
-BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality on B7 by default
+BACKLIGHT_ENABLE ?= no # Enable keyboard backlight functionality on B7 by default
MIDI_ENABLE ?= no # MIDI support (+2400 to 4200, depending on config)
UNICODE_ENABLE ?= no # Unicode
BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID
@@ -70,7 +70,7 @@ AUDIO_ENABLE ?= no # Audio output on port C6
RGBLIGHT_ENABLE ?= no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time.
FAUXCLICKY_ENABLE ?= no # Use buzzer to emulate clicky switches
-ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled
+ISSI_ENABLE ?= no # If the I2C pullup resistors aren't install this must be disabled
#WATCHDOG_ENABLE = yes # Resets keyboard if matrix_scan isn't run every 250ms
CUSTOM_MATRIX = yes