Move CORTEX_ENABLE_WFI_IDLE=TRUE to rules.mk files.
parent
92c62352cf
commit
4d06d2835c
|
@ -105,10 +105,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -17,3 +17,6 @@ CUSTOM_MATRIX = no # Custom matrix file
|
||||||
# RGBLIGHT_ENABLE = yes
|
# RGBLIGHT_ENABLE = yes
|
||||||
NO_USB_STARTUP_CHECK = yes # Workaround for issue 6369
|
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
|
||||||
|
|
|
@ -105,10 +105,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -18,3 +18,7 @@ NKRO_ENABLE = yes # USB Nkey Rollover
|
||||||
AUDIO_ENABLE = no
|
AUDIO_ENABLE = no
|
||||||
RGBLIGHT_ENABLE = no
|
RGBLIGHT_ENABLE = no
|
||||||
SERIAL_LINK_ENABLE = no
|
SERIAL_LINK_ENABLE = no
|
||||||
|
|
||||||
|
|
||||||
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||||
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||||
|
|
|
@ -105,10 +105,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -22,3 +22,7 @@ CUSTOM_MATRIX = no # Custom matrix file
|
||||||
RGBLIGHT_ENABLE = yes
|
RGBLIGHT_ENABLE = yes
|
||||||
|
|
||||||
LAYOUTS = 60_ansi 60_tsangan_hhkb
|
LAYOUTS = 60_ansi 60_tsangan_hhkb
|
||||||
|
|
||||||
|
|
||||||
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||||
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||||
|
|
|
@ -105,10 +105,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -20,3 +20,7 @@ NKRO_ENABLE = yes # USB Nkey Rollover
|
||||||
CUSTOM_MATRIX = no # Custom matrix file
|
CUSTOM_MATRIX = no # Custom matrix file
|
||||||
# BACKLIGHT_ENABLE = yes # This is broken on 072 for some reason
|
# BACKLIGHT_ENABLE = yes # This is broken on 072 for some reason
|
||||||
RGBLIGHT_ENABLE = no
|
RGBLIGHT_ENABLE = no
|
||||||
|
|
||||||
|
|
||||||
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||||
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||||
|
|
|
@ -105,10 +105,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -22,3 +22,7 @@ CUSTOM_MATRIX = no # Custom matrix file
|
||||||
RGBLIGHT_ENABLE = yes
|
RGBLIGHT_ENABLE = yes
|
||||||
|
|
||||||
LAYOUTS = 60_ansi 60_tsangan_hhkb
|
LAYOUTS = 60_ansi 60_tsangan_hhkb
|
||||||
|
|
||||||
|
|
||||||
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||||
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||||
|
|
|
@ -105,10 +105,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -20,3 +20,7 @@ NKRO_ENABLE = yes # USB Nkey Rollover
|
||||||
CUSTOM_MATRIX = no # Custom matrix file
|
CUSTOM_MATRIX = no # Custom matrix file
|
||||||
# BACKLIGHT_ENABLE = yes # This is broken on 072 for some reason
|
# BACKLIGHT_ENABLE = yes # This is broken on 072 for some reason
|
||||||
RGBLIGHT_ENABLE = no
|
RGBLIGHT_ENABLE = no
|
||||||
|
|
||||||
|
|
||||||
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||||
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||||
|
|
|
@ -105,10 +105,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -26,3 +26,7 @@ BACKLIGHT_DRIVER = custom
|
||||||
RGBLIGHT_ENABLE = yes
|
RGBLIGHT_ENABLE = yes
|
||||||
|
|
||||||
LAYOUTS = ortho_4x12
|
LAYOUTS = ortho_4x12
|
||||||
|
|
||||||
|
|
||||||
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||||
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||||
|
|
|
@ -105,10 +105,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -26,3 +26,7 @@ BACKLIGHT_DRIVER = custom
|
||||||
RGBLIGHT_ENABLE = yes
|
RGBLIGHT_ENABLE = yes
|
||||||
|
|
||||||
LAYOUTS = ortho_5x12
|
LAYOUTS = ortho_5x12
|
||||||
|
|
||||||
|
|
||||||
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||||
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||||
|
|
|
@ -105,10 +105,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -27,3 +27,7 @@ RGBLIGHT_ENABLE = yes
|
||||||
ENCODER_ENABLE = yes
|
ENCODER_ENABLE = yes
|
||||||
|
|
||||||
LAYOUTS = ortho_5x15
|
LAYOUTS = ortho_5x15
|
||||||
|
|
||||||
|
|
||||||
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||||
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||||
|
|
|
@ -105,10 +105,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -28,3 +28,7 @@ RGBLIGHT_ENABLE = yes
|
||||||
LAYOUTS = 60_ansi
|
LAYOUTS = 60_ansi
|
||||||
|
|
||||||
DEFAULT_FOLDER = cannonkeys/practice60
|
DEFAULT_FOLDER = cannonkeys/practice60
|
||||||
|
|
||||||
|
|
||||||
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||||
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||||
|
|
|
@ -105,10 +105,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -24,3 +24,7 @@ NKRO_ENABLE = yes # USB Nkey Rollover
|
||||||
BACKLIGHT_ENABLE = yes
|
BACKLIGHT_ENABLE = yes
|
||||||
BACKLIGHT_DRIVER = custom
|
BACKLIGHT_DRIVER = custom
|
||||||
RGBLIGHT_ENABLE = yes
|
RGBLIGHT_ENABLE = yes
|
||||||
|
|
||||||
|
|
||||||
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||||
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||||
|
|
|
@ -105,10 +105,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -22,3 +22,7 @@ QWIIC_ENABLE += MICRO_OLED
|
||||||
#BACKLIGHT_ENABLE = yes
|
#BACKLIGHT_ENABLE = yes
|
||||||
|
|
||||||
DEFAULT_FOLDER = cannonkeys/satisfaction75/rev1
|
DEFAULT_FOLDER = cannonkeys/satisfaction75/rev1
|
||||||
|
|
||||||
|
|
||||||
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||||
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||||
|
|
|
@ -105,10 +105,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -21,3 +21,6 @@ CUSTOM_MATRIX = no # Custom matrix file
|
||||||
# BACKLIGHT_ENABLE = yes # This is broken on 072 for some reason
|
# BACKLIGHT_ENABLE = yes # This is broken on 072 for some reason
|
||||||
RGBLIGHT_ENABLE = yes
|
RGBLIGHT_ENABLE = yes
|
||||||
|
|
||||||
|
|
||||||
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||||
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||||
|
|
|
@ -105,10 +105,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -21,3 +21,6 @@ CUSTOM_MATRIX = no # Custom matrix file
|
||||||
# BACKLIGHT_ENABLE = yes # This is broken on 072 right now
|
# BACKLIGHT_ENABLE = yes # This is broken on 072 right now
|
||||||
RGBLIGHT_ENABLE = yes
|
RGBLIGHT_ENABLE = yes
|
||||||
|
|
||||||
|
|
||||||
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||||
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||||
|
|
|
@ -105,10 +105,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -22,3 +22,6 @@ BACKLIGHT_ENABLE = no
|
||||||
RGBLIGHT_ENABLE = no
|
RGBLIGHT_ENABLE = no
|
||||||
CUSTOM_MATRIX = yes
|
CUSTOM_MATRIX = yes
|
||||||
|
|
||||||
|
|
||||||
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||||
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||||
|
|
|
@ -105,10 +105,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -30,3 +30,7 @@ NKRO_ENABLE = yes # USB Nkey Rollover
|
||||||
CUSTOM_MATRIX = yes # Custom matrix file
|
CUSTOM_MATRIX = yes # Custom matrix file
|
||||||
NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||||
UNICODE_ENABLE = yes # Unicode
|
UNICODE_ENABLE = yes # Unicode
|
||||||
|
|
||||||
|
|
||||||
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||||
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||||
|
|
|
@ -105,10 +105,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -44,4 +44,8 @@ ARMV = 7
|
||||||
# http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf
|
# http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf
|
||||||
# This also requires a patch to chibios:
|
# This also requires a patch to chibios:
|
||||||
# <tmk_dir>/tmk_core/tool/chibios/ch-bootloader-jump.patch
|
# <tmk_dir>/tmk_core/tool/chibios/ch-bootloader-jump.patch
|
||||||
#STM32_BOOTLOADER_ADDRESS = 0x1FFFC800
|
#STM32_BOOTLOADER_ADDRESS = 0x1FFFC800
|
||||||
|
|
||||||
|
|
||||||
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||||
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||||
|
|
|
@ -105,10 +105,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -15,3 +15,7 @@ NKRO_ENABLE = yes # USB Nkey Rollover
|
||||||
CUSTOM_MATRIX = no # Custom matrix file
|
CUSTOM_MATRIX = no # Custom matrix file
|
||||||
|
|
||||||
DEFAULT_FOLDER = handwired/ck4x4
|
DEFAULT_FOLDER = handwired/ck4x4
|
||||||
|
|
||||||
|
|
||||||
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||||
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||||
|
|
|
@ -105,10 +105,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -8,3 +8,7 @@ BOARD = STM32_F103_STM32DUINO
|
||||||
|
|
||||||
DFU_ARGS = -d 1eaf:0003 -a2 -R
|
DFU_ARGS = -d 1eaf:0003 -a2 -R
|
||||||
DFU_SUFFIX_ARGS = -v 1eaf -p 0003
|
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
|
||||||
|
|
|
@ -105,10 +105,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -1,2 +1,6 @@
|
||||||
# MCU name
|
# MCU name
|
||||||
MCU = STM32F072
|
MCU = STM32F072
|
||||||
|
|
||||||
|
|
||||||
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||||
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||||
|
|
|
@ -105,10 +105,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -39,3 +39,7 @@ MCU = cortex-m4
|
||||||
# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
|
# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
|
||||||
# I.e. 6 for Teensy LC; 7 for Teensy 3.x
|
# I.e. 6 for Teensy LC; 7 for Teensy 3.x
|
||||||
ARMV = 7
|
ARMV = 7
|
||||||
|
|
||||||
|
|
||||||
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||||
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||||
|
|
|
@ -105,10 +105,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -39,3 +39,7 @@ MCU = cortex-m0plus
|
||||||
# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
|
# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
|
||||||
# I.e. 6 for Teensy LC; 7 for Teensy 3.x
|
# I.e. 6 for Teensy LC; 7 for Teensy 3.x
|
||||||
ARMV = 6
|
ARMV = 6
|
||||||
|
|
||||||
|
|
||||||
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||||
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||||
|
|
|
@ -105,10 +105,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -73,3 +73,7 @@ NKRO_ENABLE = yes # USB Nkey Rollover
|
||||||
CUSTOM_MATRIX = yes # Custom matrix file
|
CUSTOM_MATRIX = yes # Custom matrix file
|
||||||
|
|
||||||
LAYOUTS = 60_ansi_split_bs_rshift
|
LAYOUTS = 60_ansi_split_bs_rshift
|
||||||
|
|
||||||
|
|
||||||
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||||
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||||
|
|
|
@ -105,10 +105,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -34,7 +34,7 @@ ARMV = 7
|
||||||
# 0x00000000-0x00001000 area is occupied by bootlaoder.*/
|
# 0x00000000-0x00001000 area is occupied by bootlaoder.*/
|
||||||
# The CORTEX_VTOR... is needed only for MCHCK/Infinity KB
|
# The CORTEX_VTOR... is needed only for MCHCK/Infinity KB
|
||||||
#OPT_DEFS = -DCORTEX_VTOR_INIT=0x00001000
|
#OPT_DEFS = -DCORTEX_VTOR_INIT=0x00001000
|
||||||
OPT_DEFS =
|
OPT_DEFS =
|
||||||
|
|
||||||
# Build Options
|
# Build Options
|
||||||
# comment out to disable the options.
|
# comment out to disable the options.
|
||||||
|
@ -52,5 +52,9 @@ BACKLIGHT_ENABLE = no
|
||||||
VISUALIZER_ENABLE = no
|
VISUALIZER_ENABLE = no
|
||||||
|
|
||||||
#LED_DRIVER = is31fl3731c
|
#LED_DRIVER = is31fl3731c
|
||||||
#LED_WIDTH = 16
|
#LED_WIDTH = 16
|
||||||
#LED_HEIGHT = 5
|
#LED_HEIGHT = 5
|
||||||
|
|
||||||
|
|
||||||
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||||
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||||
|
|
|
@ -105,10 +105,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -74,3 +74,7 @@ SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
|
||||||
NKRO_ENABLE = yes # USB Nkey Rollover
|
NKRO_ENABLE = yes # USB Nkey Rollover
|
||||||
CUSTOM_MATRIX = yes # Custom matrix file
|
CUSTOM_MATRIX = yes # Custom matrix file
|
||||||
DEBUG_ENABLE = yes
|
DEBUG_ENABLE = yes
|
||||||
|
|
||||||
|
|
||||||
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||||
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||||
|
|
|
@ -102,10 +102,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
@ -518,4 +514,4 @@
|
||||||
|
|
||||||
#endif /* CHCONF_H */
|
#endif /* CHCONF_H */
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
|
@ -12,3 +12,7 @@ CONSOLE_ENABLE = no # Console for debug
|
||||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||||
NKRO_ENABLE = yes # USB Nkey Rollover
|
NKRO_ENABLE = yes # USB Nkey Rollover
|
||||||
NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in
|
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
|
||||||
|
|
|
@ -105,10 +105,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -23,3 +23,7 @@ RGBLIGHT_ENABLE = yes
|
||||||
|
|
||||||
# RAW_ENABLE = yes
|
# RAW_ENABLE = yes
|
||||||
# DYNAMIC_KEYMAP_ENABLE = yes
|
# DYNAMIC_KEYMAP_ENABLE = yes
|
||||||
|
|
||||||
|
|
||||||
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||||
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||||
|
|
|
@ -102,10 +102,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
@ -518,4 +514,4 @@
|
||||||
|
|
||||||
#endif /* CHCONF_H */
|
#endif /* CHCONF_H */
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
|
@ -13,4 +13,8 @@ COMMAND_ENABLE = no # Commands for debug and configuration
|
||||||
NKRO_ENABLE = yes # USB Nkey Rollover
|
NKRO_ENABLE = yes # USB Nkey Rollover
|
||||||
NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in
|
NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in
|
||||||
|
|
||||||
LAYOUTS = 65_ansi_blocker
|
LAYOUTS = 65_ansi_blocker
|
||||||
|
|
||||||
|
|
||||||
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||||
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||||
|
|
|
@ -105,10 +105,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
|
|
||||||
/* Use __WFI in the idle thread for waiting. Does lower the power
|
|
||||||
* consumption. */
|
|
||||||
#define CORTEX_ENABLE_WFI_IDLE TRUE
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -78,3 +78,7 @@ VISUALIZER_ENABLE = yes
|
||||||
LED_DRIVER = is31fl3731c
|
LED_DRIVER = is31fl3731c
|
||||||
LED_WIDTH = 16
|
LED_WIDTH = 16
|
||||||
LED_HEIGHT = 5
|
LED_HEIGHT = 5
|
||||||
|
|
||||||
|
|
||||||
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||||
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||||
|
|
Loading…
Reference in New Issue