~ruther/qmk_firmware

416af0171c6433a7ecb198386dd2c3ac70d4cbd2 — Nick Brassel 2 years ago 173f54c
Remove CORTEX_ENABLE_WFI_IDLE from keyboards. (#21353)

* Remove CORTEX_ENABLE_WFI_IDLE from the codebase.

* Turn on CORTEX_ENABLE_WFI_IDLE by default.
311 files changed, 29 insertions(+), 755 deletions(-)

M keyboards/4pplet/aekiso60/rev_b/rules.mk
M keyboards/4pplet/eagle_viper_rep/rev_a/rules.mk
M keyboards/4pplet/eagle_viper_rep/rev_b/rules.mk
M keyboards/4pplet/perk60_iso/rev_a/rules.mk
M keyboards/4pplet/steezy60/rev_b/rules.mk
M keyboards/4pplet/unextended_std/rev_a/rules.mk
M keyboards/4pplet/waffling60/rev_d/rules.mk
M keyboards/4pplet/waffling60/rev_d_ansi/rules.mk
M keyboards/4pplet/waffling60/rev_d_iso/rules.mk
M keyboards/4pplet/waffling80/rev_b/rules.mk
M keyboards/4pplet/yakiimo/rev_a/rules.mk
M keyboards/acheron/apollo/87h/delta/rules.mk
M keyboards/acheron/apollo/87h/gamma/rules.mk
M keyboards/acheron/apollo/87htsc/rules.mk
M keyboards/acheron/apollo/88htsc/rules.mk
M keyboards/acheron/arctic/rules.mk
M keyboards/acheron/athena/alpha/rules.mk
M keyboards/acheron/athena/beta/rules.mk
M keyboards/acheron/austin/rules.mk
M keyboards/acheron/elongate/delta/rules.mk -rwxr-xr-x => -rw-r--r--
M keyboards/acheron/keebspcb/rules.mk
M keyboards/acheron/lasgweloth/rules.mk
M keyboards/acheron/shark/beta/rules.mk
M keyboards/aeboards/ext65/rev2/rules.mk
M keyboards/ai03/andromeda/rules.mk
M keyboards/ai03/vega/rules.mk
M keyboards/akegata_denki/device_one/rules.mk
M keyboards/alas/rules.mk -rwxr-xr-x => -rw-r--r--
M keyboards/alpine65/rules.mk
M keyboards/at_at/660m/rules.mk
M keyboards/atreus/f103/rules.mk
M keyboards/aurora65/rules.mk
M keyboards/baion_808/rules.mk -rwxr-xr-x => -rw-r--r--
M keyboards/binepad/bnr1/v2/rules.mk -rwxr-xr-x => -rw-r--r--
M keyboards/boston/rules.mk
M keyboards/box75/rules.mk
M keyboards/bt66tech/bt66tech60/rules.mk
M keyboards/cablecardesigns/phoenix/rules.mk -rwxr-xr-x => -rw-r--r--
M keyboards/cannonkeys/aella/rules.mk
M keyboards/cannonkeys/an_c/rules.mk
M keyboards/cannonkeys/bakeneko60_iso_hs/rules.mk
M keyboards/cannonkeys/bakeneko65_iso_hs/rules.mk
M keyboards/cannonkeys/balance/rules.mk
M keyboards/cannonkeys/brutalv2_65/rules.mk
M keyboards/cannonkeys/chimera65/rules.mk
M keyboards/cannonkeys/chimera65_hs/rules.mk
M keyboards/cannonkeys/cloudline/rules.mk
M keyboards/cannonkeys/crin/rules.mk
M keyboards/cannonkeys/db60/rules.mk
M keyboards/cannonkeys/devastatingtkl/rules.mk
M keyboards/cannonkeys/gentoo/rules.mk
M keyboards/cannonkeys/gentoo_hs/rules.mk
M keyboards/cannonkeys/instant60/rules.mk
M keyboards/cannonkeys/instant65/rules.mk
M keyboards/cannonkeys/iron165/rules.mk
M keyboards/cannonkeys/leviatan/rules.mk
M keyboards/cannonkeys/malicious_ergo/rules.mk
M keyboards/cannonkeys/obliterated75/rules.mk
M keyboards/cannonkeys/onyx/rules.mk
M keyboards/cannonkeys/ortho48/rules.mk
M keyboards/cannonkeys/ortho60/rules.mk
M keyboards/cannonkeys/ortho75/rules.mk
M keyboards/cannonkeys/practice60/rules.mk
M keyboards/cannonkeys/practice65/rules.mk
M keyboards/cannonkeys/rekt1800/rules.mk
M keyboards/cannonkeys/ripple/rules.mk
M keyboards/cannonkeys/ripple_hs/rules.mk
M keyboards/cannonkeys/sagittarius/rules.mk
M keyboards/cannonkeys/satisfaction75/rules.mk
M keyboards/cannonkeys/savage65/rules.mk
M keyboards/cannonkeys/tmov2/rules.mk
M keyboards/cannonkeys/tsukuyomi/rules.mk
M keyboards/cannonkeys/vicious40/rules.mk
M keyboards/carbo65/rules.mk
M keyboards/charue/sunsetter/rules.mk
M keyboards/citrus/erdnuss65/rules.mk
M keyboards/ck60i/rules.mk
M keyboards/coarse/cordillera/rules.mk
M keyboards/coarse/ixora/rules.mk
M keyboards/coarse/vinta/rules.mk
M keyboards/converter/siemens_tastatur/rules.mk
M keyboards/crin/rules.mk
M keyboards/crypt_macro/rules.mk
M keyboards/daji/seis_cinco/rules.mk
M keyboards/deng/thirty/rules.mk
M keyboards/dinofizz/fnrow/v1/rules.mk
M keyboards/doio/kb30/rules.mk
M keyboards/ducky/one2mini/1861st/rules.mk
M keyboards/ducky/one2sf/1967st/rules.mk
M keyboards/eason/aeroboard/rules.mk
M keyboards/ebastler/isometria_75/rev1/rules.mk
M keyboards/edi/hardlight/mk2/rules.mk
M keyboards/emery65/rules.mk
M keyboards/ergodox_stm32/rules.mk
M keyboards/evolv/rules.mk
M keyboards/ez_maker/directpins/teensy_32/rules.mk
M keyboards/ez_maker/directpins/teensy_lc/rules.mk
M keyboards/geekboards/macropad_v2/rules.mk
M keyboards/geonworks/frogmini/fmh/rules.mk
M keyboards/geonworks/frogmini/fms/rules.mk
M keyboards/ghs/xls/rules.mk
M keyboards/gray_studio/aero75/rules.mk
M keyboards/gray_studio/space65r3/rules.mk
M keyboards/hand88/rules.mk -rwxr-xr-x => -rw-r--r--
M keyboards/handwired/ck4x4/rules.mk
M keyboards/handwired/cyberstar/rules.mk
M keyboards/handwired/ergocheap/rules.mk
M keyboards/handwired/onekey/bluepill/rules.mk
M keyboards/handwired/onekey/bluepill_f103c6/rules.mk
M keyboards/handwired/onekey/bluepill_uf2boot/rules.mk
M keyboards/handwired/onekey/stm32f0_disco/rules.mk
M keyboards/handwired/onekey/stm32f405_feather/rules.mk
M keyboards/handwired/onekey/teensy_32/rules.mk
M keyboards/handwired/onekey/teensy_35/rules.mk
M keyboards/handwired/onekey/teensy_lc/rules.mk
M keyboards/handwired/pill60/bluepill/rules.mk
M keyboards/handwired/sejin_eat1010r2/rules.mk
M keyboards/handwired/sono1/stm32f103/rules.mk
M keyboards/handwired/splittest/bluepill/rules.mk
M keyboards/handwired/t111/rules.mk
M keyboards/handwired/twadlee/tp69/rules.mk
M keyboards/handwired/z150/rules.mk
M keyboards/horrortroll/handwired_k552/rules.mk
M keyboards/hub20/rules.mk
M keyboards/input_club/infinity60/rules.mk
M keyboards/input_club/k_type/rules.mk
M keyboards/input_club/whitefox/rules.mk
M keyboards/iron180/rules.mk
M keyboards/jacky_studio/piggy60/rev2/rules.mk
M keyboards/jm60/rules.mk
M keyboards/kapcave/arya/rules.mk
M keyboards/kbdcraft/adam64/rules.mk
M keyboards/kbdfans/odin/rgb/rules.mk
M keyboards/kbdfans/odin/soldered/rules.mk
M keyboards/kbdfans/odin/v2/rules.mk
M keyboards/keebio/bdn9/rev2/rules.mk
M keyboards/keebio/choconum/rules.mk
M keyboards/keebsforall/coarse60/rules.mk
M keyboards/keychron/c1_pro/ansi/rgb/rules.mk
M keyboards/keychron/c1_pro/ansi/white/rules.mk
M keyboards/keychron/c2_pro/ansi/rgb/rules.mk
M keyboards/keychron/c2_pro/ansi/white/rules.mk
M keyboards/keychron/q0/rev_0130/rules.mk
M keyboards/keychron/q0/rev_0131/rules.mk
M keyboards/keychron/q10/ansi_encoder/rules.mk
M keyboards/keychron/q10/iso_encoder/rules.mk
M keyboards/keychron/q11/ansi_encoder/rules.mk -rwxr-xr-x => -rw-r--r--
M keyboards/keychron/q12/ansi_encoder/rules.mk
M keyboards/keychron/q12/iso_encoder/rules.mk
M keyboards/keychron/q2/ansi/rules.mk
M keyboards/keychron/q2/ansi_encoder/rules.mk
M keyboards/keychron/q2/iso/rules.mk
M keyboards/keychron/q2/iso_encoder/rules.mk
M keyboards/keychron/q2/jis/rules.mk
M keyboards/keychron/q2/jis_encoder/rules.mk
M keyboards/keychron/q3/ansi/rules.mk
M keyboards/keychron/q3/ansi_encoder/rules.mk
M keyboards/keychron/q3/iso/rules.mk
M keyboards/keychron/q3/iso_encoder/rules.mk
M keyboards/keychron/q3/jis/rules.mk
M keyboards/keychron/q3/jis_encoder/rules.mk
M keyboards/keychron/q4/ansi_v1/rules.mk
M keyboards/keychron/q4/ansi_v2/rules.mk
M keyboards/keychron/q4/iso/rules.mk
M keyboards/keychron/q5/ansi/rules.mk
M keyboards/keychron/q5/ansi_encoder/rules.mk
M keyboards/keychron/q5/iso/rules.mk
M keyboards/keychron/q5/iso_encoder/rules.mk
M keyboards/keychron/q6/ansi/rules.mk
M keyboards/keychron/q6/ansi_encoder/rules.mk
M keyboards/keychron/q6/iso/rules.mk
M keyboards/keychron/q6/iso_encoder/rules.mk
M keyboards/keychron/q60/ansi/rules.mk
M keyboards/keychron/q65/ansi_encoder/rules.mk
M keyboards/keychron/q7/ansi/rules.mk
M keyboards/keychron/q7/iso/rules.mk
M keyboards/keychron/q8/ansi/rules.mk
M keyboards/keychron/q8/ansi_encoder/rules.mk
M keyboards/keychron/q8/iso/rules.mk
M keyboards/keychron/q8/iso_encoder/rules.mk
M keyboards/keychron/q9/ansi/rules.mk
M keyboards/keychron/q9/ansi_encoder/rules.mk
M keyboards/keychron/q9/iso/rules.mk
M keyboards/keychron/q9/iso_encoder/rules.mk
M keyboards/keychron/s1/ansi/rgb/rules.mk
M keyboards/keychron/s1/ansi/white/rules.mk
M keyboards/keychron/v1/ansi/rules.mk
M keyboards/keychron/v1/ansi_encoder/rules.mk
M keyboards/keychron/v1/iso/rules.mk
M keyboards/keychron/v1/iso_encoder/rules.mk
M keyboards/keychron/v1/jis/rules.mk
M keyboards/keychron/v1/jis_encoder/rules.mk
M keyboards/keychron/v10/ansi_encoder/rules.mk
M keyboards/keychron/v10/iso_encoder/rules.mk
M keyboards/keychron/v2/ansi/rules.mk
M keyboards/keychron/v2/ansi_encoder/rules.mk
M keyboards/keychron/v2/iso/rules.mk
M keyboards/keychron/v2/iso_encoder/rules.mk
M keyboards/keychron/v2/jis/rules.mk
M keyboards/keychron/v2/jis_encoder/rules.mk
M keyboards/keychron/v3/ansi/rules.mk
M keyboards/keychron/v3/ansi_encoder/rules.mk
M keyboards/keychron/v3/iso/rules.mk
M keyboards/keychron/v3/iso_encoder/rules.mk
M keyboards/keychron/v3/jis/rules.mk
M keyboards/keychron/v3/jis_encoder/rules.mk
M keyboards/keychron/v4/ansi/rules.mk
M keyboards/keychron/v4/iso/rules.mk
M keyboards/keychron/v5/ansi/rules.mk
M keyboards/keychron/v5/ansi_encoder/rules.mk
M keyboards/keychron/v5/iso/rules.mk
M keyboards/keychron/v5/iso_encoder/rules.mk
M keyboards/keychron/v6/ansi/rules.mk
M keyboards/keychron/v6/ansi_encoder/rules.mk
M keyboards/keychron/v6/iso/rules.mk
M keyboards/keychron/v6/iso_encoder/rules.mk
M keyboards/keychron/v7/ansi/rules.mk
M keyboards/keychron/v7/iso/rules.mk
M keyboards/keychron/v8/ansi/rules.mk
M keyboards/keychron/v8/ansi_encoder/rules.mk
M keyboards/keychron/v8/iso/rules.mk
M keyboards/keychron/v8/iso_encoder/rules.mk
M keyboards/kin80/blackpill103/rules.mk
M keyboards/kopibeng/mnk65_stm32/rules.mk
M keyboards/kopibeng/mnk88/rules.mk
M keyboards/kopibeng/xt8x/rules.mk
M keyboards/linworks/fave104/rules.mk
M keyboards/linworks/whale75/rules.mk
M keyboards/loki65/rules.mk
M keyboards/mechlovin/adelais/rgb_led/rev3/rules.mk
M keyboards/mecxlabs/mp1/rules.mk
M keyboards/misterknife/knife66/rules.mk
M keyboards/misterknife/knife66_iso/rules.mk
M keyboards/mkh_studio/bully/rules.mk
M keyboards/mnk1800s/rules.mk -rwxr-xr-x => -rw-r--r--
M keyboards/mnk50/rules.mk -rwxr-xr-x => -rw-r--r--
M keyboards/mnk75/rules.mk -rwxr-xr-x => -rw-r--r--
M keyboards/mode/m65ha_alpha/rules.mk
M keyboards/mode/m65hi_alpha/rules.mk
M keyboards/mode/m65s/rules.mk
M keyboards/mode/m75h/rules.mk
M keyboards/mode/m75s/rules.mk
M keyboards/mode/m80v1/m80h/rules.mk
M keyboards/mode/m80v1/m80s/rules.mk
M keyboards/mode/m80v2/m80v2h/rules.mk
M keyboards/mode/m80v2/m80v2s/rules.mk
M keyboards/monarch/rules.mk
M keyboards/nasu/rules.mk
M keyboards/nemui/rules.mk
M keyboards/nibiria/stream15/rules.mk
M keyboards/novelkeys/nk20/rules.mk
M keyboards/novelkeys/nk65b/rules.mk -rwxr-xr-x => -rw-r--r--
M keyboards/novelkeys/nk87b/rules.mk
M keyboards/novelkeys/nk_plus/rules.mk
M keyboards/noxary/378/rules.mk
M keyboards/noxary/valhalla/rules.mk
M keyboards/phage_studio/pila87/rules.mk
M keyboards/phrygian/ph100/rules.mk
M keyboards/primekb/meridian/rules.mk
M keyboards/projectkb/alice/rev1/rules.mk
M keyboards/projectkb/alice/rev2/rules.mk
M keyboards/projectkb/signature65/rules.mk
M keyboards/projectkb/signature87/rules.mk
M keyboards/protozoa/cassini/rules.mk
M keyboards/protozoa/p01/rules.mk
M keyboards/rart/rartlice/rules.mk
M keyboards/rmi_kb/squishy65/rules.mk
M keyboards/rmi_kb/squishyfrl/rules.mk
M keyboards/rmi_kb/squishytkl/rules.mk
M keyboards/rmi_kb/wete/v1/rules.mk
M keyboards/rocketboard_16/rules.mk
M keyboards/satt/vision/rules.mk
M keyboards/sauce/mild/rules.mk
M keyboards/smithrune/iron160/iron160_h/rules.mk
M keyboards/smithrune/iron160/iron160_s/rules.mk
M keyboards/smithrune/iron165r2/f072/rules.mk
M keyboards/smithrune/iron165r2/f411/rules.mk
M keyboards/smithrune/iron180/rules.mk
M keyboards/soda/cherish/rules.mk
M keyboards/soda/pocket/rules.mk
M keyboards/sowbug/68keys/rules.mk
M keyboards/sowbug/ansi_tkl/rules.mk
M keyboards/suavity/ehan/rules.mk
M keyboards/technika/rules.mk
M keyboards/tkc/candybar/lefty/rules.mk
M keyboards/tkc/candybar/righty/rules.mk
M keyboards/tkc/godspeed75/rules.mk
M keyboards/tzarc/ghoul/rules.mk
M keyboards/vertex/angle65/rules.mk
M keyboards/vertex/arc60/rules.mk
M keyboards/vertex/arc60h/rules.mk
M keyboards/viendi8l/rules.mk
M keyboards/w1_at/rules.mk
M keyboards/westfoxtrot/prophet/rules.mk
M keyboards/wolfmarkclub/wm1/rules.mk
M keyboards/xelus/kangaroo/rev1/rules.mk
M keyboards/xelus/kangaroo/rev2/rules.mk
M keyboards/xelus/ninjin/rules.mk
M keyboards/xelus/pachi/rev1/rules.mk
M keyboards/xelus/rs108/rules.mk
M keyboards/xelus/rs60/rev2_0/rules.mk
M keyboards/xelus/rs60/rev2_1/rules.mk
M keyboards/xelus/trinityxttkl/rules.mk
M keyboards/xelus/valor_frl_tkl/rev1/rules.mk
M keyboards/xelus/valor_frl_tkl/rev2_0/rules.mk
M keyboards/xelus/valor_frl_tkl/rev2_1/rules.mk
M keyboards/xelus/xs108/rules.mk
M keyboards/ymdk/id75/rules.mk
M keyboards/zoo/wampus/rules.mk
A platforms/chibios/config.h
M platforms/chibios/platform.mk
M keyboards/4pplet/aekiso60/rev_b/rules.mk => keyboards/4pplet/aekiso60/rev_b/rules.mk +0 -2
@@ 14,5 14,3 @@ AUDIO_ENABLE = no           # Audio output
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -p FFFF -v FFFF

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/4pplet/eagle_viper_rep/rev_a/rules.mk => keyboards/4pplet/eagle_viper_rep/rev_a/rules.mk +0 -2
@@ 13,5 13,3 @@ RGBLIGHT_ENABLE = yes
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -p FFFF -v FFFF

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/4pplet/eagle_viper_rep/rev_b/rules.mk => keyboards/4pplet/eagle_viper_rep/rev_b/rules.mk +0 -2
@@ 13,5 13,3 @@ RGBLIGHT_ENABLE = yes
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -p FFFF -v FFFF

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/4pplet/perk60_iso/rev_a/rules.mk => keyboards/4pplet/perk60_iso/rev_a/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
RGB_MATRIX_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/4pplet/steezy60/rev_b/rules.mk => keyboards/4pplet/steezy60/rev_b/rules.mk +0 -2
@@ 6,5 6,3 @@ KEY_LOCK_ENABLE = yes
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -p FFFF -v FFFF

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/4pplet/unextended_std/rev_a/rules.mk => keyboards/4pplet/unextended_std/rev_a/rules.mk +0 -2
@@ 6,5 6,3 @@ KEY_LOCK_ENABLE = yes
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -p FFFF -v FFFF

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/4pplet/waffling60/rev_d/rules.mk => keyboards/4pplet/waffling60/rev_d/rules.mk +0 -2
@@ 14,5 14,3 @@ AUDIO_ENABLE = no           # Audio output
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -p FFFF -v FFFF

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/4pplet/waffling60/rev_d_ansi/rules.mk => keyboards/4pplet/waffling60/rev_d_ansi/rules.mk +0 -2
@@ 14,5 14,3 @@ AUDIO_ENABLE = no           # Audio output
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -p FFFF -v FFFF

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/4pplet/waffling60/rev_d_iso/rules.mk => keyboards/4pplet/waffling60/rev_d_iso/rules.mk +0 -2
@@ 14,5 14,3 @@ AUDIO_ENABLE = no           # Audio output
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -p FFFF -v FFFF

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/4pplet/waffling80/rev_b/rules.mk => keyboards/4pplet/waffling80/rev_b/rules.mk +0 -2
@@ 14,5 14,3 @@ AUDIO_ENABLE = no           # Audio output
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -p FFFF -v FFFF

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/4pplet/yakiimo/rev_a/rules.mk => keyboards/4pplet/yakiimo/rev_a/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/acheron/apollo/87h/delta/rules.mk => keyboards/acheron/apollo/87h/delta/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
RGB_MATRIX_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE -DDEBUG_EEPROM_OUTPUT=TRUE

M keyboards/acheron/apollo/87h/gamma/rules.mk => keyboards/acheron/apollo/87h/gamma/rules.mk +0 -2
@@ 13,5 13,3 @@ AUDIO_ENABLE = no           # Audio output
RGB_MATRIX_ENABLE = yes
KEYBOARD_SHARED_EP = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE -DDEBUG_EEPROM_OUTPUT=TRUE

M keyboards/acheron/apollo/87htsc/rules.mk => keyboards/acheron/apollo/87htsc/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
RGB_MATRIX_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE -DDEBUG_EEPROM_OUTPUT=TRUE

M keyboards/acheron/apollo/88htsc/rules.mk => keyboards/acheron/apollo/88htsc/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
RGB_MATRIX_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE -DDEBUG_EEPROM_OUTPUT=TRUE

M keyboards/acheron/arctic/rules.mk => keyboards/acheron/arctic/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/acheron/athena/alpha/rules.mk => keyboards/acheron/athena/alpha/rules.mk +0 -2
@@ 13,5 13,3 @@ AUDIO_ENABLE = no          # Audio output
LTO_ENABLE = yes
ENCODER_ENABLE = no

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/acheron/athena/beta/rules.mk => keyboards/acheron/athena/beta/rules.mk +0 -2
@@ 13,5 13,3 @@ AUDIO_ENABLE = no          # Audio output
LTO_ENABLE = yes
ENCODER_ENABLE = no

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/acheron/austin/rules.mk => keyboards/acheron/austin/rules.mk +0 -2
@@ 10,5 10,3 @@ NKRO_ENABLE = yes           # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes      # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/acheron/elongate/delta/rules.mk => keyboards/acheron/elongate/delta/rules.mk +0 -2
@@ 10,5 10,3 @@ NKRO_ENABLE = yes           # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes      # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/acheron/keebspcb/rules.mk => keyboards/acheron/keebspcb/rules.mk +0 -2
@@ 10,5 10,3 @@ NKRO_ENABLE = yes           # Enable N-Key Rollover
BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/acheron/lasgweloth/rules.mk => keyboards/acheron/lasgweloth/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
ENCODER_ENABLE = no

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/acheron/shark/beta/rules.mk => keyboards/acheron/shark/beta/rules.mk +0 -2
@@ 15,5 15,3 @@ ENCODER_ENABLE = yes

EEPROM_DRIVER = i2c

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/aeboards/ext65/rev2/rules.mk => keyboards/aeboards/ext65/rev2/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
SLEEP_LED_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/ai03/andromeda/rules.mk => keyboards/ai03/andromeda/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/ai03/vega/rules.mk => keyboards/ai03/vega/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/akegata_denki/device_one/rules.mk => keyboards/akegata_denki/device_one/rules.mk +0 -2
@@ 10,5 10,3 @@ COMMAND_ENABLE = no    			# Commands for debug and configuration
NKRO_ENABLE = yes           # Enable N-Key Rollover
NO_USB_STARTUP_CHECK = no   # Disable initialization only when usb is plugged in

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/alas/rules.mk => keyboards/alas/rules.mk +0 -5
@@ 1,11 1,6 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Do not put the microcontroller into power saving mode
# when we get USB suspend event. We want it to keep updating
# backlight effects.
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Build Options
#   change yes to no to disable
#

M keyboards/alpine65/rules.mk => keyboards/alpine65/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes        # Enable keyboard RGB underglow
ENCODER_ENABLE = no

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/at_at/660m/rules.mk => keyboards/at_at/660m/rules.mk +0 -2
@@ 12,5 12,3 @@ NKRO_ENABLE = yes           # Enable N-Key Rollover
NO_USB_STARTUP_CHECK = yes # Workaround for issue 6369


# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/atreus/f103/rules.mk => keyboards/atreus/f103/rules.mk +0 -2
@@ 1,4 1,2 @@
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

BOOTMAGIC_ENABLE = yes
\ No newline at end of file

M keyboards/aurora65/rules.mk => keyboards/aurora65/rules.mk +0 -5
@@ 1,11 1,6 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Do not put the microcontroller into power saving mode
# when we get USB suspend event. We want it to keep updating
# backlight effects.
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Build Options
#   change yes to no to disable
#

M keyboards/baion_808/rules.mk => keyboards/baion_808/rules.mk +0 -5
@@ 1,11 1,6 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Do not put the microcontroller into power saving mode
# when we get USB suspend event. We want it to keep updating
# backlight effects.
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Build Options
#   change yes to no to disable
#

M keyboards/binepad/bnr1/v2/rules.mk => keyboards/binepad/bnr1/v2/rules.mk +0 -2
@@ 3,5 3,3 @@
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/boston/rules.mk => keyboards/boston/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = yes      # Enable keyboard RGB underglow
AUDIO_ENABLE = no          # Audio output
ENCODER_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/box75/rules.mk => keyboards/box75/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
ENCODER_ENABLE = no

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/bt66tech/bt66tech60/rules.mk => keyboards/bt66tech/bt66tech60/rules.mk +0 -2
@@ 14,5 14,3 @@ SLEEP_LED_ENABLE = yes

DEFAULT_FOLDER = bt66tech/bt66tech60

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cablecardesigns/phoenix/rules.mk => keyboards/cablecardesigns/phoenix/rules.mk +0 -4
@@ 1,7 1,3 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Do not put the microcontroller into power saving mode
# when we get USB suspend event. We want it to keep updating
# backlight effects.
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/aella/rules.mk => keyboards/cannonkeys/aella/rules.mk +0 -2
@@ 14,5 14,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/an_c/rules.mk => keyboards/cannonkeys/an_c/rules.mk +0 -2
@@ 13,5 13,3 @@ NKRO_ENABLE = yes           # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/bakeneko60_iso_hs/rules.mk => keyboards/cannonkeys/bakeneko60_iso_hs/rules.mk +0 -2
@@ 1,5 1,3 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/bakeneko65_iso_hs/rules.mk => keyboards/cannonkeys/bakeneko65_iso_hs/rules.mk +0 -2
@@ 1,5 1,3 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/balance/rules.mk => keyboards/cannonkeys/balance/rules.mk +0 -2
@@ 15,5 15,3 @@ RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
ENCODER_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/brutalv2_65/rules.mk => keyboards/cannonkeys/brutalv2_65/rules.mk +0 -2
@@ 14,5 14,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/chimera65/rules.mk => keyboards/cannonkeys/chimera65/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = no


# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/chimera65_hs/rules.mk => keyboards/cannonkeys/chimera65_hs/rules.mk +0 -2
@@ 1,5 1,3 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/cloudline/rules.mk => keyboards/cannonkeys/cloudline/rules.mk +0 -2
@@ 14,5 14,3 @@ BACKLIGHT_ENABLE = yes      # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/crin/rules.mk => keyboards/cannonkeys/crin/rules.mk +0 -2
@@ 14,5 14,3 @@ BACKLIGHT_ENABLE = yes      # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/db60/rules.mk => keyboards/cannonkeys/db60/rules.mk +0 -2
@@ 15,5 15,3 @@ RGBLIGHT_ENABLE = yes

DEFAULT_FOLDER = cannonkeys/db60/rev2

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/devastatingtkl/rules.mk => keyboards/cannonkeys/devastatingtkl/rules.mk +0 -2
@@ 13,5 13,3 @@ NKRO_ENABLE = yes           # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/gentoo/rules.mk => keyboards/cannonkeys/gentoo/rules.mk +0 -2
@@ 14,5 14,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/gentoo_hs/rules.mk => keyboards/cannonkeys/gentoo_hs/rules.mk +0 -2
@@ 14,5 14,3 @@ BACKLIGHT_ENABLE = no      # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/instant60/rules.mk => keyboards/cannonkeys/instant60/rules.mk +0 -2
@@ 13,5 13,3 @@ NKRO_ENABLE = yes           # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/instant65/rules.mk => keyboards/cannonkeys/instant65/rules.mk +0 -2
@@ 14,5 14,3 @@ BACKLIGHT_ENABLE = yes      # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/iron165/rules.mk => keyboards/cannonkeys/iron165/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = no


# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/leviatan/rules.mk => keyboards/cannonkeys/leviatan/rules.mk +0 -2
@@ 1,5 1,3 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/malicious_ergo/rules.mk => keyboards/cannonkeys/malicious_ergo/rules.mk +0 -2
@@ 14,5 14,3 @@ BACKLIGHT_ENABLE = yes      # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/obliterated75/rules.mk => keyboards/cannonkeys/obliterated75/rules.mk +0 -2
@@ 14,5 14,3 @@ BACKLIGHT_ENABLE = yes      # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/onyx/rules.mk => keyboards/cannonkeys/onyx/rules.mk +0 -2
@@ 14,5 14,3 @@ BACKLIGHT_ENABLE = yes      # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/ortho48/rules.mk => keyboards/cannonkeys/ortho48/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes
SLEEP_LED_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/ortho60/rules.mk => keyboards/cannonkeys/ortho60/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes
SLEEP_LED_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/ortho75/rules.mk => keyboards/cannonkeys/ortho75/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = yes
SLEEP_LED_ENABLE = yes
ENCODER_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/practice60/rules.mk => keyboards/cannonkeys/practice60/rules.mk +0 -2
@@ 14,5 14,3 @@ SLEEP_LED_ENABLE = yes
DEFAULT_FOLDER = cannonkeys/practice60


# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/practice65/rules.mk => keyboards/cannonkeys/practice65/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes
SLEEP_LED_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/rekt1800/rules.mk => keyboards/cannonkeys/rekt1800/rules.mk +0 -2
@@ 13,5 13,3 @@ NKRO_ENABLE = yes           # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = no

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/ripple/rules.mk => keyboards/cannonkeys/ripple/rules.mk +0 -2
@@ 1,5 1,3 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/ripple_hs/rules.mk => keyboards/cannonkeys/ripple_hs/rules.mk +0 -2
@@ 1,5 1,3 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/sagittarius/rules.mk => keyboards/cannonkeys/sagittarius/rules.mk +0 -2
@@ 14,5 14,3 @@ BACKLIGHT_ENABLE = yes      # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/satisfaction75/rules.mk => keyboards/cannonkeys/satisfaction75/rules.mk +0 -2
@@ 21,5 21,3 @@ OLED_DRIVER = SSD1306

DEFAULT_FOLDER = cannonkeys/satisfaction75/rev1

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/savage65/rules.mk => keyboards/cannonkeys/savage65/rules.mk +0 -2
@@ 13,5 13,3 @@ NKRO_ENABLE = yes           # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/tmov2/rules.mk => keyboards/cannonkeys/tmov2/rules.mk +0 -2
@@ 13,5 13,3 @@ NKRO_ENABLE = yes           # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/tsukuyomi/rules.mk => keyboards/cannonkeys/tsukuyomi/rules.mk +0 -2
@@ 14,5 14,3 @@ BACKLIGHT_ENABLE = yes      # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/cannonkeys/vicious40/rules.mk => keyboards/cannonkeys/vicious40/rules.mk +0 -2
@@ 14,5 14,3 @@ BACKLIGHT_ENABLE = yes      # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/carbo65/rules.mk => keyboards/carbo65/rules.mk +0 -4
@@ 1,7 1,3 @@
# Do not put the microcontroller into power saving mode
# when we get USB suspend event. We want it to keep updating
# backlight effects.
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Build Options
#   change yes to no to disable

M keyboards/charue/sunsetter/rules.mk => keyboards/charue/sunsetter/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/citrus/erdnuss65/rules.mk => keyboards/citrus/erdnuss65/rules.mk +0 -2
@@ 1,2 0,0 @@
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
\ No newline at end of file

M keyboards/ck60i/rules.mk => keyboards/ck60i/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes        # Enable keyboard RGB underglow
ENCODER_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/coarse/cordillera/rules.mk => keyboards/coarse/cordillera/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = yes      # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/coarse/ixora/rules.mk => keyboards/coarse/ixora/rules.mk +0 -2
@@ 11,5 11,3 @@ NKRO_ENABLE = yes           # Enable N-Key Rollover
NO_USB_STARTUP_CHECK = no         	# Disable initialization only when usb is plugged in


# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/coarse/vinta/rules.mk => keyboards/coarse/vinta/rules.mk +0 -2
@@ 10,5 10,3 @@ COMMAND_ENABLE = no    				# Commands for debug and configuration
NKRO_ENABLE = yes           # Enable N-Key Rollover
NO_USB_STARTUP_CHECK = no         	# Disable initialization only when usb is plugged in

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/converter/siemens_tastatur/rules.mk => keyboards/converter/siemens_tastatur/rules.mk +0 -2
@@ 15,5 15,3 @@ SLEEP_LED_ENABLE = yes
CUSTOM_MATRIX = yes


# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/crin/rules.mk => keyboards/crin/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/crypt_macro/rules.mk => keyboards/crypt_macro/rules.mk +0 -5
@@ 1,11 1,6 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Do not put the microcontroller into power saving mode
# when we get USB suspend event. We want it to keep updating
# backlight effects.
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Build Options
#   change yes to no to disable
#

M keyboards/daji/seis_cinco/rules.mk => keyboards/daji/seis_cinco/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/deng/thirty/rules.mk => keyboards/deng/thirty/rules.mk +0 -2
@@ 1,5 1,3 @@
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -p FFFF -v FFFF

M keyboards/dinofizz/fnrow/v1/rules.mk => keyboards/dinofizz/fnrow/v1/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/doio/kb30/rules.mk => keyboards/doio/kb30/rules.mk +0 -2
@@ 15,5 15,3 @@ OLED_ENABLE = yes
OLED_DRIVER = SSD1306
ENCODER_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/ducky/one2mini/1861st/rules.mk => keyboards/ducky/one2mini/1861st/rules.mk +0 -2
@@ 30,5 30,3 @@ RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
DIP_SWITCH_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/ducky/one2sf/1967st/rules.mk => keyboards/ducky/one2sf/1967st/rules.mk +0 -2
@@ 30,5 30,3 @@ RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
DIP_SWITCH_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/eason/aeroboard/rules.mk => keyboards/eason/aeroboard/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no      # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
SLEEP_LED_ENABLE = yes
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/ebastler/isometria_75/rev1/rules.mk => keyboards/ebastler/isometria_75/rev1/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
ENCODER_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/edi/hardlight/mk2/rules.mk => keyboards/edi/hardlight/mk2/rules.mk +0 -2
@@ 16,5 16,3 @@ AUDIO_ENABLE = no           # Audio output
VELOCIKEY_ENABLE = yes
KEY_LOCK_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/emery65/rules.mk => keyboards/emery65/rules.mk +0 -5
@@ 1,11 1,6 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Do not put the microcontroller into power saving mode
# when we get USB suspend event. We want it to keep updating
# backlight effects.
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Build Options
#   change yes to no to disable
#

M keyboards/ergodox_stm32/rules.mk => keyboards/ergodox_stm32/rules.mk +0 -3
@@ 15,8 15,5 @@ NKRO_ENABLE = yes           # Enable N-Key Rollover
CUSTOM_MATRIX = yes # Custom matrix file
UNICODE_ENABLE   = yes # Unicode

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

SRC += matrix.c
QUANTUM_LIB_SRC += i2c_master.c

M keyboards/evolv/rules.mk => keyboards/evolv/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
ENCODER_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/ez_maker/directpins/teensy_32/rules.mk => keyboards/ez_maker/directpins/teensy_32/rules.mk +0 -2
@@ 1,4 1,2 @@
USE_CHIBIOS_CONTRIB = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/ez_maker/directpins/teensy_lc/rules.mk => keyboards/ez_maker/directpins/teensy_lc/rules.mk +0 -2
@@ 1,4 1,2 @@
USE_CHIBIOS_CONTRIB = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/geekboards/macropad_v2/rules.mk => keyboards/geekboards/macropad_v2/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
RGB_MATRIX_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/geonworks/frogmini/fmh/rules.mk => keyboards/geonworks/frogmini/fmh/rules.mk +0 -2
@@ 16,5 16,3 @@ BACKLIGHT_ENABLE = no      # Enable keyboard backlight functionality

EEPROM_DRIVER = i2c

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/geonworks/frogmini/fms/rules.mk => keyboards/geonworks/frogmini/fms/rules.mk +0 -2
@@ 16,5 16,3 @@ BACKLIGHT_ENABLE = yes     # Enable keyboard backlight functionality

EEPROM_DRIVER = i2c

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/ghs/xls/rules.mk => keyboards/ghs/xls/rules.mk +1 -2
@@ 1,2 1,1 @@
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/gray_studio/aero75/rules.mk => keyboards/gray_studio/aero75/rules.mk +0 -2
@@ 1,5 1,3 @@
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Build Options
#   change yes to no to disable

M keyboards/gray_studio/space65r3/rules.mk => keyboards/gray_studio/space65r3/rules.mk +0 -2
@@ 1,5 1,3 @@
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Build Options
#   change yes to no to disable

M keyboards/hand88/rules.mk => keyboards/hand88/rules.mk +0 -4
@@ 1,7 1,3 @@
# Do not put the microcontroller into power saving mode
# when we get USB suspend event. We want it to keep updating
# backlight effects.
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Build Options
#   change yes to no to disable

M keyboards/handwired/ck4x4/rules.mk => keyboards/handwired/ck4x4/rules.mk +0 -2
@@ 11,5 11,3 @@ NKRO_ENABLE = yes           # Enable N-Key Rollover
DEFAULT_FOLDER = handwired/ck4x4


# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/handwired/cyberstar/rules.mk => keyboards/handwired/cyberstar/rules.mk +0 -5
@@ 1,11 1,6 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Do not put the microcontroller into power saving mode
# when we get USB suspend event. We want it to keep updating
# backlight effects.
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Build Options
#   change yes to no to disable
#

M keyboards/handwired/ergocheap/rules.mk => keyboards/handwired/ergocheap/rules.mk +0 -2
@@ 1,5 1,3 @@
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Build Options
#   change yes to no to disable

M keyboards/handwired/onekey/bluepill/rules.mk => keyboards/handwired/onekey/bluepill/rules.mk +1 -2
@@ 1,2 1,1 @@
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/handwired/onekey/bluepill_f103c6/rules.mk => keyboards/handwired/onekey/bluepill_f103c6/rules.mk +0 -3
@@ 7,9 7,6 @@ BOOTLOADER_TYPE = stm32duino
DFU_ARGS = -d 1EAF:0003 -a 2 -R
DFU_SUFFIX_ARGS = -v 1EAF -p 0003

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# LTO is required to fit the firmware into the available 24K of flash
LTO_ENABLE = yes


M keyboards/handwired/onekey/bluepill_uf2boot/rules.mk => keyboards/handwired/onekey/bluepill_uf2boot/rules.mk +1 -2
@@ 1,2 1,1 @@
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/handwired/onekey/stm32f0_disco/rules.mk => keyboards/handwired/onekey/stm32f0_disco/rules.mk +1 -2
@@ 1,2 1,1 @@
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/handwired/onekey/stm32f405_feather/rules.mk => keyboards/handwired/onekey/stm32f405_feather/rules.mk +1 -2
@@ 1,2 1,1 @@
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/handwired/onekey/teensy_32/rules.mk => keyboards/handwired/onekey/teensy_32/rules.mk +1 -2
@@ 1,2 1,1 @@
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/handwired/onekey/teensy_35/rules.mk => keyboards/handwired/onekey/teensy_35/rules.mk +1 -2
@@ 1,2 1,1 @@
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/handwired/onekey/teensy_lc/rules.mk => keyboards/handwired/onekey/teensy_lc/rules.mk +0 -2
@@ 1,4 1,2 @@
USE_CHIBIOS_CONTRIB = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/handwired/pill60/bluepill/rules.mk => keyboards/handwired/pill60/bluepill/rules.mk +1 -2
@@ 1,2 1,1 @@
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/handwired/sejin_eat1010r2/rules.mk => keyboards/handwired/sejin_eat1010r2/rules.mk +1 -2
@@ 1,2 1,1 @@
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/handwired/sono1/stm32f103/rules.mk => keyboards/handwired/sono1/stm32f103/rules.mk +1 -2
@@ 1,2 1,1 @@
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/handwired/splittest/bluepill/rules.mk => keyboards/handwired/splittest/bluepill/rules.mk +1 -2
@@ 1,2 1,1 @@
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/handwired/t111/rules.mk => keyboards/handwired/t111/rules.mk +0 -2
@@ 1,5 1,3 @@
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Build Options
#   change yes to no to disable

M keyboards/handwired/twadlee/tp69/rules.mk => keyboards/handwired/twadlee/tp69/rules.mk +0 -2
@@ 14,5 14,3 @@ PS2_MOUSE_ENABLE = no

USE_CHIBIOS_CONTRIB = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/handwired/z150/rules.mk => keyboards/handwired/z150/rules.mk +0 -2
@@ 1,5 1,3 @@
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Build Options
#   change yes to no to disable

M keyboards/horrortroll/handwired_k552/rules.mk => keyboards/horrortroll/handwired_k552/rules.mk +0 -3
@@ 26,9 26,6 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# RGB Matrix enabled
RGB_MATRIX_ENABLE = yes


M keyboards/hub20/rules.mk => keyboards/hub20/rules.mk +0 -2
@@ 13,5 13,3 @@ AUDIO_ENABLE = no           # Audio output
RGB_MATRIX_ENABLE = yes
ENCODER_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/input_club/infinity60/rules.mk => keyboards/input_club/infinity60/rules.mk +0 -2
@@ 13,5 13,3 @@ AUDIO_ENABLE = no           # Audio output

DEFAULT_FOLDER = input_club/infinity60/led

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/input_club/k_type/rules.mk => keyboards/input_club/k_type/rules.mk +0 -2
@@ 18,5 18,3 @@ RGB_MATRIX_ENABLE = no
SRC += k_type-rgbdriver.c
QUANTUM_LIB_SRC += i2c_master.c is31fl3733-dual.c

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/input_club/whitefox/rules.mk => keyboards/input_club/whitefox/rules.mk +0 -2
@@ 12,5 12,3 @@ AUDIO_ENABLE = no           # Audio output

LED_MATRIX_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/iron180/rules.mk => keyboards/iron180/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
ENCODER_ENABLE = no

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/jacky_studio/piggy60/rev2/rules.mk => keyboards/jacky_studio/piggy60/rev2/rules.mk +0 -2
@@ 4,5 4,3 @@ MCU_LDSCRIPT = STM32F103xB
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -p FFFF -v FFFF

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/jm60/rules.mk => keyboards/jm60/rules.mk +0 -2
@@ 20,5 20,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/kapcave/arya/rules.mk => keyboards/kapcave/arya/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
ENCODER_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/kbdcraft/adam64/rules.mk => keyboards/kbdcraft/adam64/rules.mk +1 -2
@@ 1,2 1,1 @@
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE 


M keyboards/kbdfans/odin/rgb/rules.mk => keyboards/kbdfans/odin/rgb/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
RGB_MATRIX_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/kbdfans/odin/soldered/rules.mk => keyboards/kbdfans/odin/soldered/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/kbdfans/odin/v2/rules.mk => keyboards/kbdfans/odin/v2/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/keebio/bdn9/rev2/rules.mk => keyboards/keebio/bdn9/rev2/rules.mk +0 -2
@@ 13,5 13,3 @@ AUDIO_ENABLE = no           # Audio output
ENCODER_ENABLE = yes
RGB_MATRIX_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/keebio/choconum/rules.mk => keyboards/keebio/choconum/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/keebsforall/coarse60/rules.mk => keyboards/keebsforall/coarse60/rules.mk +0 -2
@@ 13,5 13,3 @@ AUDIO_ENABLE = no           # Audio output
ENCODER_ENABLE = yes


# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/keychron/c1_pro/ansi/rgb/rules.mk => keyboards/keychron/c1_pro/ansi/rgb/rules.mk +0 -2
@@ 1,3 1,1 @@
# Build Options
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/keychron/c1_pro/ansi/white/rules.mk => keyboards/keychron/c1_pro/ansi/white/rules.mk +0 -2
@@ 1,3 1,1 @@
# Build Options
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/keychron/c2_pro/ansi/rgb/rules.mk => keyboards/keychron/c2_pro/ansi/rgb/rules.mk +0 -3
@@ 1,5 1,2 @@
# Build Options
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

SRC += matrix.c

M keyboards/keychron/c2_pro/ansi/white/rules.mk => keyboards/keychron/c2_pro/ansi/white/rules.mk +0 -3
@@ 1,5 1,2 @@
# Build Options
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

SRC += matrix.c

M keyboards/keychron/q0/rev_0130/rules.mk => keyboards/keychron/q0/rev_0130/rules.mk +0 -2
@@ 1,5 1,3 @@
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/keychron/q0/rev_0131/rules.mk => keyboards/keychron/q0/rev_0131/rules.mk +0 -2
@@ 1,5 1,3 @@
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/keychron/q10/ansi_encoder/rules.mk => keyboards/keychron/q10/ansi_encoder/rules.mk +0 -3
@@ 16,9 16,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/q10/iso_encoder/rules.mk => keyboards/keychron/q10/iso_encoder/rules.mk +0 -3
@@ 16,9 16,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/q11/ansi_encoder/rules.mk => keyboards/keychron/q11/ansi_encoder/rules.mk +0 -2
@@ 5,5 5,3 @@ EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash
SERIAL_DRIVER = usart

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/keychron/q12/ansi_encoder/rules.mk => keyboards/keychron/q12/ansi_encoder/rules.mk +0 -3
@@ 16,9 16,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/q12/iso_encoder/rules.mk => keyboards/keychron/q12/iso_encoder/rules.mk +0 -3
@@ 16,9 16,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/q2/ansi/rules.mk => keyboards/keychron/q2/ansi/rules.mk +0 -2
@@ 16,5 16,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/keychron/q2/ansi_encoder/rules.mk => keyboards/keychron/q2/ansi_encoder/rules.mk +0 -2
@@ 16,5 16,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/keychron/q2/iso/rules.mk => keyboards/keychron/q2/iso/rules.mk +0 -2
@@ 16,5 16,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/keychron/q2/iso_encoder/rules.mk => keyboards/keychron/q2/iso_encoder/rules.mk +0 -2
@@ 16,5 16,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/keychron/q2/jis/rules.mk => keyboards/keychron/q2/jis/rules.mk +0 -3
@@ 15,6 15,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/q2/jis_encoder/rules.mk => keyboards/keychron/q2/jis_encoder/rules.mk +0 -3
@@ 16,6 16,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/q3/ansi/rules.mk => keyboards/keychron/q3/ansi/rules.mk +0 -2
@@ 16,5 16,3 @@ LTO_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/keychron/q3/ansi_encoder/rules.mk => keyboards/keychron/q3/ansi_encoder/rules.mk +0 -3
@@ 17,9 17,6 @@ LTO_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/q3/iso/rules.mk => keyboards/keychron/q3/iso/rules.mk +0 -2
@@ 16,5 16,3 @@ LTO_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/keychron/q3/iso_encoder/rules.mk => keyboards/keychron/q3/iso_encoder/rules.mk +0 -3
@@ 17,9 17,6 @@ LTO_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/q3/jis/rules.mk => keyboards/keychron/q3/jis/rules.mk +0 -2
@@ 16,5 16,3 @@ LTO_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/keychron/q3/jis_encoder/rules.mk => keyboards/keychron/q3/jis_encoder/rules.mk +0 -3
@@ 17,9 17,6 @@ LTO_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/q4/ansi_v1/rules.mk => keyboards/keychron/q4/ansi_v1/rules.mk +0 -3
@@ 16,6 16,3 @@ LTO_ENABLE = no
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/q4/ansi_v2/rules.mk => keyboards/keychron/q4/ansi_v2/rules.mk +0 -3
@@ 16,6 16,3 @@ LTO_ENABLE = no
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/q4/iso/rules.mk => keyboards/keychron/q4/iso/rules.mk +0 -3
@@ 16,6 16,3 @@ LTO_ENABLE = no
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/q5/ansi/rules.mk => keyboards/keychron/q5/ansi/rules.mk +0 -3
@@ 15,9 15,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/q5/ansi_encoder/rules.mk => keyboards/keychron/q5/ansi_encoder/rules.mk +0 -3
@@ 16,9 16,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/q5/iso/rules.mk => keyboards/keychron/q5/iso/rules.mk +0 -3
@@ 15,9 15,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/q5/iso_encoder/rules.mk => keyboards/keychron/q5/iso_encoder/rules.mk +0 -3
@@ 16,9 16,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/q6/ansi/rules.mk => keyboards/keychron/q6/ansi/rules.mk +0 -3
@@ 16,9 16,6 @@ LTO_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/q6/ansi_encoder/rules.mk => keyboards/keychron/q6/ansi_encoder/rules.mk +0 -3
@@ 17,9 17,6 @@ LTO_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/q6/iso/rules.mk => keyboards/keychron/q6/iso/rules.mk +0 -3
@@ 17,9 17,6 @@ LTO_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/q6/iso_encoder/rules.mk => keyboards/keychron/q6/iso_encoder/rules.mk +0 -3
@@ 18,9 18,6 @@ LTO_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/q60/ansi/rules.mk => keyboards/keychron/q60/ansi/rules.mk +0 -3
@@ 15,6 15,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/q65/ansi_encoder/rules.mk => keyboards/keychron/q65/ansi_encoder/rules.mk +0 -3
@@ 16,9 16,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/q7/ansi/rules.mk => keyboards/keychron/q7/ansi/rules.mk +0 -3
@@ 15,6 15,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/q7/iso/rules.mk => keyboards/keychron/q7/iso/rules.mk +0 -2
@@ 15,5 15,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/keychron/q8/ansi/rules.mk => keyboards/keychron/q8/ansi/rules.mk +0 -3
@@ 15,6 15,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/q8/ansi_encoder/rules.mk => keyboards/keychron/q8/ansi_encoder/rules.mk +0 -2
@@ 16,5 16,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/keychron/q8/iso/rules.mk => keyboards/keychron/q8/iso/rules.mk +0 -3
@@ 15,6 15,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/q8/iso_encoder/rules.mk => keyboards/keychron/q8/iso_encoder/rules.mk +0 -3
@@ 16,6 16,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/q9/ansi/rules.mk => keyboards/keychron/q9/ansi/rules.mk +0 -3
@@ 15,6 15,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/q9/ansi_encoder/rules.mk => keyboards/keychron/q9/ansi_encoder/rules.mk +0 -3
@@ 17,6 17,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/q9/iso/rules.mk => keyboards/keychron/q9/iso/rules.mk +0 -3
@@ 15,6 15,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/q9/iso_encoder/rules.mk => keyboards/keychron/q9/iso_encoder/rules.mk +0 -3
@@ 17,6 17,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/s1/ansi/rgb/rules.mk => keyboards/keychron/s1/ansi/rgb/rules.mk +0 -3
@@ 15,6 15,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/s1/ansi/white/rules.mk => keyboards/keychron/s1/ansi/white/rules.mk +0 -3
@@ 15,6 15,3 @@ LED_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/v1/ansi/rules.mk => keyboards/keychron/v1/ansi/rules.mk +0 -3
@@ 15,9 15,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/v1/ansi_encoder/rules.mk => keyboards/keychron/v1/ansi_encoder/rules.mk +0 -3
@@ 16,9 16,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/v1/iso/rules.mk => keyboards/keychron/v1/iso/rules.mk +0 -3
@@ 15,9 15,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/v1/iso_encoder/rules.mk => keyboards/keychron/v1/iso_encoder/rules.mk +0 -3
@@ 16,9 16,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/v1/jis/rules.mk => keyboards/keychron/v1/jis/rules.mk +0 -3
@@ 15,9 15,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/v1/jis_encoder/rules.mk => keyboards/keychron/v1/jis_encoder/rules.mk +0 -3
@@ 16,9 16,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/v10/ansi_encoder/rules.mk => keyboards/keychron/v10/ansi_encoder/rules.mk +0 -3
@@ 16,9 16,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/v10/iso_encoder/rules.mk => keyboards/keychron/v10/iso_encoder/rules.mk +0 -3
@@ 16,9 16,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/v2/ansi/rules.mk => keyboards/keychron/v2/ansi/rules.mk +0 -3
@@ 15,6 15,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/v2/ansi_encoder/rules.mk => keyboards/keychron/v2/ansi_encoder/rules.mk +0 -3
@@ 16,6 16,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/v2/iso/rules.mk => keyboards/keychron/v2/iso/rules.mk +0 -3
@@ 15,6 15,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/v2/iso_encoder/rules.mk => keyboards/keychron/v2/iso_encoder/rules.mk +0 -3
@@ 16,6 16,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/v2/jis/rules.mk => keyboards/keychron/v2/jis/rules.mk +0 -3
@@ 15,6 15,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/v2/jis_encoder/rules.mk => keyboards/keychron/v2/jis_encoder/rules.mk +0 -3
@@ 16,6 16,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/v3/ansi/rules.mk => keyboards/keychron/v3/ansi/rules.mk +0 -3
@@ 15,6 15,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/v3/ansi_encoder/rules.mk => keyboards/keychron/v3/ansi_encoder/rules.mk +0 -3
@@ 16,9 16,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/v3/iso/rules.mk => keyboards/keychron/v3/iso/rules.mk +0 -3
@@ 15,6 15,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/v3/iso_encoder/rules.mk => keyboards/keychron/v3/iso_encoder/rules.mk +0 -3
@@ 16,9 16,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/v3/jis/rules.mk => keyboards/keychron/v3/jis/rules.mk +0 -2
@@ 15,5 15,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/keychron/v3/jis_encoder/rules.mk => keyboards/keychron/v3/jis_encoder/rules.mk +0 -3
@@ 16,9 16,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/v4/ansi/rules.mk => keyboards/keychron/v4/ansi/rules.mk +0 -3
@@ 15,6 15,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/v4/iso/rules.mk => keyboards/keychron/v4/iso/rules.mk +0 -3
@@ 15,6 15,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/v5/ansi/rules.mk => keyboards/keychron/v5/ansi/rules.mk +0 -3
@@ 15,9 15,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/v5/ansi_encoder/rules.mk => keyboards/keychron/v5/ansi_encoder/rules.mk +0 -3
@@ 16,9 16,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/v5/iso/rules.mk => keyboards/keychron/v5/iso/rules.mk +0 -3
@@ 15,9 15,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/v5/iso_encoder/rules.mk => keyboards/keychron/v5/iso_encoder/rules.mk +0 -3
@@ 16,9 16,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/v6/ansi/rules.mk => keyboards/keychron/v6/ansi/rules.mk +0 -3
@@ 15,9 15,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/v6/ansi_encoder/rules.mk => keyboards/keychron/v6/ansi_encoder/rules.mk +0 -3
@@ 16,9 16,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/v6/iso/rules.mk => keyboards/keychron/v6/iso/rules.mk +0 -3
@@ 15,9 15,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/v6/iso_encoder/rules.mk => keyboards/keychron/v6/iso_encoder/rules.mk +0 -3
@@ 16,9 16,6 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# custom matrix setup
CUSTOM_MATRIX = lite


M keyboards/keychron/v7/ansi/rules.mk => keyboards/keychron/v7/ansi/rules.mk +0 -3
@@ 15,6 15,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/v7/iso/rules.mk => keyboards/keychron/v7/iso/rules.mk +0 -3
@@ 15,6 15,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/v8/ansi/rules.mk => keyboards/keychron/v8/ansi/rules.mk +0 -3
@@ 17,6 17,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/v8/ansi_encoder/rules.mk => keyboards/keychron/v8/ansi_encoder/rules.mk +0 -3
@@ 17,6 17,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/v8/iso/rules.mk => keyboards/keychron/v8/iso/rules.mk +0 -3
@@ 16,6 16,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/keychron/v8/iso_encoder/rules.mk => keyboards/keychron/v8/iso_encoder/rules.mk +0 -3
@@ 17,6 17,3 @@ RGB_MATRIX_ENABLE = yes
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/kin80/blackpill103/rules.mk => keyboards/kin80/blackpill103/rules.mk +1 -2
@@ 1,2 1,1 @@
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE


M keyboards/kopibeng/mnk65_stm32/rules.mk => keyboards/kopibeng/mnk65_stm32/rules.mk +0 -2
@@ 15,5 15,3 @@ RGBLIGHT_ENABLE = no       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
ENCODER_ENABLE = no			# Enable Encoder

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/kopibeng/mnk88/rules.mk => keyboards/kopibeng/mnk88/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
ENCODER_ENABLE = no			# Enable Encoder

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/kopibeng/xt8x/rules.mk => keyboards/kopibeng/xt8x/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
ENCODER_ENABLE = no			# Enable Encoder

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/linworks/fave104/rules.mk => keyboards/linworks/fave104/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
ENCODER_ENABLE = no

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/linworks/whale75/rules.mk => keyboards/linworks/whale75/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
ENCODER_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/loki65/rules.mk => keyboards/loki65/rules.mk +0 -5
@@ 1,11 1,6 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Do not put the microcontroller into power saving mode
# when we get USB suspend event. We want it to keep updating
# backlight effects.
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Build Options
#   change yes to no to disable
#

M keyboards/mechlovin/adelais/rgb_led/rev3/rules.mk => keyboards/mechlovin/adelais/rgb_led/rev3/rules.mk +0 -3
@@ 6,6 6,3 @@ RGBLIGHT_ENABLE = yes
ENCODER_ENABLE = yes
CONSOLE_ENABLE = no        # Console for debug
COMMAND_ENABLE = no        # Commands for debug and configuration

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
\ No newline at end of file

M keyboards/mecxlabs/mp1/rules.mk => keyboards/mecxlabs/mp1/rules.mk +0 -2
@@ 1,4 1,2 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/misterknife/knife66/rules.mk => keyboards/misterknife/knife66/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/misterknife/knife66_iso/rules.mk => keyboards/misterknife/knife66_iso/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/mkh_studio/bully/rules.mk => keyboards/mkh_studio/bully/rules.mk +0 -1
@@ 1,2 1,1 @@
DFU_SUFFIX_ARGS = -p FFFF -v FFFF # allow for APM32 MCU
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/mnk1800s/rules.mk => keyboards/mnk1800s/rules.mk +0 -5
@@ 1,11 1,6 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Do not put the microcontroller into power saving mode
# when we get USB suspend event. We want it to keep updating
# backlight effects.
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Build Options
#   change yes to no to disable
#

M keyboards/mnk50/rules.mk => keyboards/mnk50/rules.mk +0 -5
@@ 1,11 1,6 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Do not put the microcontroller into power saving mode
# when we get USB suspend event. We want it to keep updating
# backlight effects.
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Build Options
#   change yes to no to disable
#

M keyboards/mnk75/rules.mk => keyboards/mnk75/rules.mk +0 -5
@@ 1,11 1,6 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Do not put the microcontroller into power saving mode
# when we get USB suspend event. We want it to keep updating
# backlight effects.
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Build Options
#   change yes to no to disable
#

M keyboards/mode/m65ha_alpha/rules.mk => keyboards/mode/m65ha_alpha/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
EEPROM_DRIVER = i2c

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE -DDEBUG_EEPROM_OUTPUT=TRUE

M keyboards/mode/m65hi_alpha/rules.mk => keyboards/mode/m65hi_alpha/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
EEPROM_DRIVER = i2c

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE -DDEBUG_EEPROM_OUTPUT=TRUE

M keyboards/mode/m65s/rules.mk => keyboards/mode/m65s/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
EEPROM_DRIVER = i2c

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE -DDEBUG_EEPROM_OUTPUT=TRUE

M keyboards/mode/m75h/rules.mk => keyboards/mode/m75h/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = no       # Enable keyboard RGB underglow
AUDIO_ENABLE = no          # Audio output
LTO_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE -DDEBUG_EEPROM_OUTPUT=TRUE

M keyboards/mode/m75s/rules.mk => keyboards/mode/m75s/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
LTO_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE -DDEBUG_EEPROM_OUTPUT=TRUE

M keyboards/mode/m80v1/m80h/rules.mk => keyboards/mode/m80v1/m80h/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no      # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/mode/m80v1/m80s/rules.mk => keyboards/mode/m80v1/m80s/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no      # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/mode/m80v2/m80v2h/rules.mk => keyboards/mode/m80v2/m80v2h/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no      # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no       # Enable keyboard RGB underglow
AUDIO_ENABLE = no          # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE -DDEBUG_EEPROM_OUTPUT=TRUE

M keyboards/mode/m80v2/m80v2s/rules.mk => keyboards/mode/m80v2/m80v2s/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no      # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no       # Enable keyboard RGB underglow
AUDIO_ENABLE = no          # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE -DDEBUG_EEPROM_OUTPUT=TRUE

M keyboards/monarch/rules.mk => keyboards/monarch/rules.mk +0 -2
@@ 13,5 13,3 @@ AUDIO_ENABLE = no           # Audio output
SLEEP_LED_ENABLE = yes
ENCODER_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/nasu/rules.mk => keyboards/nasu/rules.mk +0 -5
@@ 1,11 1,6 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Do not put the microcontroller into power saving mode
# when we get USB suspend event. We want it to keep updating
# backlight effects.
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Build Options
#   change yes to no to disable
#

M keyboards/nemui/rules.mk => keyboards/nemui/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/nibiria/stream15/rules.mk => keyboards/nibiria/stream15/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/novelkeys/nk20/rules.mk => keyboards/novelkeys/nk20/rules.mk +0 -5
@@ 1,11 1,6 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Do not put the microcontroller into power saving mode
# when we get USB suspend event. We want it to keep updating
# backlight effects.
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Build Options
#   change yes to no to disable
#

M keyboards/novelkeys/nk65b/rules.mk => keyboards/novelkeys/nk65b/rules.mk +0 -5
@@ 1,11 1,6 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Do not put the microcontroller into power saving mode
# when we get USB suspend event. We want it to keep updating
# backlight effects.
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Build Options
#   change yes to no to disable
#

M keyboards/novelkeys/nk87b/rules.mk => keyboards/novelkeys/nk87b/rules.mk +0 -5
@@ 1,11 1,6 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Do not put the microcontroller into power saving mode
# when we get USB suspend event. We want it to keep updating
# backlight effects.
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Build Options
#   change yes to no to disable
#

M keyboards/novelkeys/nk_plus/rules.mk => keyboards/novelkeys/nk_plus/rules.mk +0 -5
@@ 1,11 1,6 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Do not put the microcontroller into power saving mode
# when we get USB suspend event. We want it to keep updating
# backlight effects.
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Build Options
#   change yes to no to disable
#

M keyboards/noxary/378/rules.mk => keyboards/noxary/378/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/noxary/valhalla/rules.mk => keyboards/noxary/valhalla/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/phage_studio/pila87/rules.mk => keyboards/phage_studio/pila87/rules.mk +0 -3
@@ 14,9 14,6 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# RGB Matrix enabled
RGB_MATRIX_ENABLE = yes


M keyboards/phrygian/ph100/rules.mk => keyboards/phrygian/ph100/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output


# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/primekb/meridian/rules.mk => keyboards/primekb/meridian/rules.mk +0 -3
@@ 11,7 11,4 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

DEFAULT_FOLDER = primekb/meridian/ktr1010

M keyboards/projectkb/alice/rev1/rules.mk => keyboards/projectkb/alice/rev1/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = yes      # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/projectkb/alice/rev2/rules.mk => keyboards/projectkb/alice/rev2/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = yes      # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/projectkb/signature65/rules.mk => keyboards/projectkb/signature65/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output


# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/projectkb/signature87/rules.mk => keyboards/projectkb/signature87/rules.mk +0 -2
@@ 9,5 9,3 @@ COMMAND_ENABLE = yes    # Commands for debug and configuration
NKRO_ENABLE = yes           # Enable N-Key Rollover
BACKLIGHT_ENABLE = no

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/protozoa/cassini/rules.mk => keyboards/protozoa/cassini/rules.mk +0 -5
@@ 1,11 1,6 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Do not put the microcontroller into power saving mode
# when we get USB suspend event. We want it to keep updating
# backlight effects.
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Build Options
#   change yes to no to disable
#

M keyboards/protozoa/p01/rules.mk => keyboards/protozoa/p01/rules.mk +0 -5
@@ 1,11 1,6 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Do not put the microcontroller into power saving mode
# when we get USB suspend event. We want it to keep updating
# backlight effects.
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Build Options
#   change yes to no to disable
#

M keyboards/rart/rartlice/rules.mk => keyboards/rart/rartlice/rules.mk +0 -2
@@ 14,5 14,3 @@ SLEEP_LED_ENABLE = yes
OLED_ENABLE = yes
OLED_DRIVER = SSD1306

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/rmi_kb/squishy65/rules.mk => keyboards/rmi_kb/squishy65/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/rmi_kb/squishyfrl/rules.mk => keyboards/rmi_kb/squishyfrl/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/rmi_kb/squishytkl/rules.mk => keyboards/rmi_kb/squishytkl/rules.mk +0 -3
@@ 11,6 11,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
ENCODER_ENABLE = yes 		# Enable rotary encoder fuctionality

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
\ No newline at end of file

M keyboards/rmi_kb/wete/v1/rules.mk => keyboards/rmi_kb/wete/v1/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
SLEEP_LED_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/rocketboard_16/rules.mk => keyboards/rocketboard_16/rules.mk +0 -3
@@ 22,7 22,4 @@ ENCODER_ENABLE = yes

RAW_ENABLE = yes            # Enables HID RAW communication between the board and the PC

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

LTO_ENABLE = yes

M keyboards/satt/vision/rules.mk => keyboards/satt/vision/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/sauce/mild/rules.mk => keyboards/sauce/mild/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no      # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/smithrune/iron160/iron160_h/rules.mk => keyboards/smithrune/iron160/iron160_h/rules.mk +0 -2
@@ 16,5 16,3 @@ LTO_ENABLE = no
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = legacy

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/smithrune/iron160/iron160_s/rules.mk => keyboards/smithrune/iron160/iron160_s/rules.mk +0 -2
@@ 16,5 16,3 @@ LTO_ENABLE = no
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = legacy

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/smithrune/iron165r2/f072/rules.mk => keyboards/smithrune/iron165r2/f072/rules.mk +0 -2
@@ 13,5 13,3 @@ LTO_ENABLE = no
ENCODER_ENABLE = no
BACKLIGHT_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/smithrune/iron165r2/f411/rules.mk => keyboards/smithrune/iron165r2/f411/rules.mk +0 -2
@@ 14,5 14,3 @@ ENCODER_ENABLE = no
EEPROM_DRIVER = i2c
BACKLIGHT_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/smithrune/iron180/rules.mk => keyboards/smithrune/iron180/rules.mk +0 -2
@@ 13,5 13,3 @@ AUDIO_ENABLE = no           # Audio output
ENCODER_ENABLE = no
LTO_ENABLE = no

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/soda/cherish/rules.mk => keyboards/soda/cherish/rules.mk +0 -2
@@ 14,5 14,3 @@ AUDIO_ENABLE = no           # Audio output
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -p FFFF -v FFFF

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/soda/pocket/rules.mk => keyboards/soda/pocket/rules.mk +0 -2
@@ 9,5 9,3 @@ NKRO_ENABLE = yes           # Enable N-Key Rollover
BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/sowbug/68keys/rules.mk => keyboards/sowbug/68keys/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
RGB_MATRIX_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/sowbug/ansi_tkl/rules.mk => keyboards/sowbug/ansi_tkl/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
RGB_MATRIX_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/suavity/ehan/rules.mk => keyboards/suavity/ehan/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no      # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output 

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/technika/rules.mk => keyboards/technika/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
ENCODER_ENABLE = no

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/tkc/candybar/lefty/rules.mk => keyboards/tkc/candybar/lefty/rules.mk +0 -2
@@ 13,5 13,3 @@ AUDIO_ENABLE = no
RGBLIGHT_ENABLE = no


# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/tkc/candybar/righty/rules.mk => keyboards/tkc/candybar/righty/rules.mk +0 -2
@@ 13,5 13,3 @@ AUDIO_ENABLE = no
RGBLIGHT_ENABLE = no


# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/tkc/godspeed75/rules.mk => keyboards/tkc/godspeed75/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/tzarc/ghoul/rules.mk => keyboards/tzarc/ghoul/rules.mk +0 -1
@@ 1,7 1,6 @@
CUSTOM_MATRIX = lite
EEPROM_DRIVER = spi
QUANTUM_PAINTER_DRIVERS = ssd1351_spi
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

DEFAULT_FOLDER = tzarc/ghoul/rev1/stm32


M keyboards/vertex/angle65/rules.mk => keyboards/vertex/angle65/rules.mk +0 -2
@@ 13,5 13,3 @@ AUDIO_ENABLE = no           # Audio output

HAPTIC_ENABLE = yes
HAPTIC_DRIVER += SOLENOID

OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/vertex/arc60/rules.mk => keyboards/vertex/arc60/rules.mk +0 -2
@@ 17,5 17,3 @@ DEFAULT_FOLDER = vertex/arc60



# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/vertex/arc60h/rules.mk => keyboards/vertex/arc60h/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
SLEEP_LED_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/viendi8l/rules.mk => keyboards/viendi8l/rules.mk +0 -2
@@ 15,5 15,3 @@ LTO_ENABLE = no

EEPROM_DRIVER = i2c

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE -DDEBUG_EEPROM_OUTPUT=TRUE

M keyboards/w1_at/rules.mk => keyboards/w1_at/rules.mk +0 -5
@@ 1,11 1,6 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Do not put the microcontroller into power saving mode
# when we get USB suspend event. We want it to keep updating
# backlight effects.
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Build Options
#   change yes to no to disable
#

M keyboards/westfoxtrot/prophet/rules.mk => keyboards/westfoxtrot/prophet/rules.mk +0 -2
@@ 11,5 11,3 @@ SLEEP_LED_ENABLE = yes
BACKLIGHT_ENABLE = no
RGBLIGHT_ENABLE = no

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/wolfmarkclub/wm1/rules.mk => keyboards/wolfmarkclub/wm1/rules.mk +0 -2
@@ 25,5 25,3 @@ AUDIO_ENABLE = no           # Audio output
SLEEP_LED_ENABLE = yes
LTO_ENABLE = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/xelus/kangaroo/rev1/rules.mk => keyboards/xelus/kangaroo/rev1/rules.mk +0 -2
@@ 11,5 11,3 @@ RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
EEPROM_DRIVER = i2c

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/xelus/kangaroo/rev2/rules.mk => keyboards/xelus/kangaroo/rev2/rules.mk +0 -2
@@ 14,5 14,3 @@ EEPROM_DRIVER = i2c
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/xelus/ninjin/rules.mk => keyboards/xelus/ninjin/rules.mk +0 -2
@@ 11,5 11,3 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/xelus/pachi/rev1/rules.mk => keyboards/xelus/pachi/rev1/rules.mk +0 -2
@@ 1,5 1,3 @@
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Build Options
#   change yes to no to disable

M keyboards/xelus/rs108/rules.mk => keyboards/xelus/rs108/rules.mk +0 -2
@@ 16,5 16,3 @@ EEPROM_DRIVER = i2c
# Save hid interface
KEYBOARD_SHARED_EP = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/xelus/rs60/rev2_0/rules.mk => keyboards/xelus/rs60/rev2_0/rules.mk +0 -2
@@ 15,5 15,3 @@ EEPROM_DRIVER = i2c
# Save hid interface
KEYBOARD_SHARED_EP = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/xelus/rs60/rev2_1/rules.mk => keyboards/xelus/rs60/rev2_1/rules.mk +0 -2
@@ 17,5 17,3 @@ WEAR_LEVELING_DRIVER = embedded_flash
# Save hid interface
KEYBOARD_SHARED_EP = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/xelus/trinityxttkl/rules.mk => keyboards/xelus/trinityxttkl/rules.mk +0 -2
@@ 14,5 14,3 @@ BACKLIGHT_ENABLE = no
RGBLIGHT_ENABLE = no


# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/xelus/valor_frl_tkl/rev1/rules.mk => keyboards/xelus/valor_frl_tkl/rev1/rules.mk +0 -2
@@ 13,5 13,3 @@ AUDIO_ENABLE = no           # Audio output

EEPROM_DRIVER = i2c

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/xelus/valor_frl_tkl/rev2_0/rules.mk => keyboards/xelus/valor_frl_tkl/rev2_0/rules.mk +0 -3
@@ 11,7 11,4 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

KEYBOARD_SHARED_EP = yes

M keyboards/xelus/valor_frl_tkl/rev2_1/rules.mk => keyboards/xelus/valor_frl_tkl/rev2_1/rules.mk +0 -3
@@ 11,7 11,4 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

KEYBOARD_SHARED_EP = yes

M keyboards/xelus/xs108/rules.mk => keyboards/xelus/xs108/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = no        # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
EEPROM_DRIVER = i2c

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/ymdk/id75/rules.mk => keyboards/ymdk/id75/rules.mk +0 -2
@@ 4,5 4,3 @@ MCU_LDSCRIPT = STM32F103xB
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -p FFFF -v FFFF

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

M keyboards/zoo/wampus/rules.mk => keyboards/zoo/wampus/rules.mk +0 -2
@@ 12,5 12,3 @@ RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
AUDIO_ENABLE = no           # Audio output
OLED_ENABLE = no     # Enables the use of OLED displays

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

A platforms/chibios/config.h => platforms/chibios/config.h +7 -0
@@ 0,0 1,7 @@
// Copyright 2023 Nick Brassel (@tzarc)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once

#ifndef CORTEX_ENABLE_WFI_IDLE
#    define CORTEX_ENABLE_WFI_IDLE TRUE
#endif // CORTEX_ENABLE_WFI_IDLE

M platforms/chibios/platform.mk => platforms/chibios/platform.mk +9 -0
@@ 432,6 432,15 @@ else
    endif
endif

# Extra config.h files for the platform
ifneq ("$(wildcard $(PLATFORM_COMMON_DIR)/vendors/$(MCU_FAMILY)/$(MCU_SERIES)/config.h)","")
    CONFIG_H += $(PLATFORM_COMMON_DIR)/vendors/$(MCU_FAMILY)/$(MCU_SERIES)/config.h
endif
ifneq ("$(wildcard $(PLATFORM_COMMON_DIR)/vendors/$(MCU_FAMILY)/config.h)","")
    CONFIG_H += $(PLATFORM_COMMON_DIR)/vendors/$(MCU_FAMILY)/config.h
endif
CONFIG_H += $(PLATFORM_COMMON_DIR)/config.h

# Assembler flags
ASFLAGS  += $(SHARED_ASFLAGS) $(TOOLCHAIN_ASFLAGS)


Do not follow this link