Skip to content

Commit

Permalink
Remove CORTEX_ENABLE_WFI_IDLE from keyboards. (qmk#21353)
Browse files Browse the repository at this point in the history
* Remove CORTEX_ENABLE_WFI_IDLE from the codebase.

* Turn on CORTEX_ENABLE_WFI_IDLE by default.
  • Loading branch information
tzarc committed Jun 23, 2023
1 parent 173f54c commit 416af01
Show file tree
Hide file tree
Showing 311 changed files with 29 additions and 755 deletions.
2 changes: 0 additions & 2 deletions keyboards/4pplet/aekiso60/rev_b/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/4pplet/eagle_viper_rep/rev_a/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/4pplet/eagle_viper_rep/rev_b/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/4pplet/perk60_iso/rev_a/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/4pplet/steezy60/rev_b/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/4pplet/unextended_std/rev_a/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/4pplet/waffling60/rev_d/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/4pplet/waffling60/rev_d_ansi/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/4pplet/waffling60/rev_d_iso/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/4pplet/waffling80/rev_b/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/4pplet/yakiimo/rev_a/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/acheron/apollo/87h/delta/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/acheron/apollo/87h/gamma/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/acheron/apollo/87htsc/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/acheron/apollo/88htsc/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/acheron/arctic/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/acheron/athena/alpha/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/acheron/athena/beta/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/acheron/austin/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/acheron/elongate/delta/rules.mk
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/acheron/keebspcb/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/acheron/lasgweloth/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/acheron/shark/beta/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/aeboards/ext65/rev2/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/ai03/andromeda/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/ai03/vega/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/akegata_denki/device_one/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 0 additions & 5 deletions keyboards/alas/rules.mk
100755 → 100644
Original file line number Diff line number Diff line change
@@ -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
#
Expand Down
2 changes: 0 additions & 2 deletions keyboards/alpine65/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/at_at/660m/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/atreus/f103/rules.mk
Original file line number Diff line number Diff line change
@@ -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
5 changes: 0 additions & 5 deletions keyboards/aurora65/rules.mk
Original file line number Diff line number Diff line change
@@ -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
#
Expand Down
5 changes: 0 additions & 5 deletions keyboards/baion_808/rules.mk
100755 → 100644
Original file line number Diff line number Diff line change
@@ -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
#
Expand Down
2 changes: 0 additions & 2 deletions keyboards/binepad/bnr1/v2/rules.mk
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/boston/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/box75/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/bt66tech/bt66tech60/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 0 additions & 4 deletions keyboards/cablecardesigns/phoenix/rules.mk
100755 → 100644
Original file line number Diff line number Diff line change
@@ -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
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/aella/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/an_c/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/bakeneko60_iso_hs/rules.mk
Original file line number Diff line number Diff line change
@@ -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
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/bakeneko65_iso_hs/rules.mk
Original file line number Diff line number Diff line change
@@ -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
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/balance/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/brutalv2_65/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/chimera65/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/chimera65_hs/rules.mk
Original file line number Diff line number Diff line change
@@ -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
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/cloudline/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/crin/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/db60/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/devastatingtkl/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/gentoo/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/gentoo_hs/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/instant60/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/instant65/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/iron165/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/leviatan/rules.mk
Original file line number Diff line number Diff line change
@@ -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
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/malicious_ergo/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/obliterated75/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/onyx/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/ortho48/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/ortho60/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/ortho75/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/practice60/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading

0 comments on commit 416af01

Please sign in to comment.