* Remove CORTEX_ENABLE_WFI_IDLE from the codebase. * Turn on CORTEX_ENABLE_WFI_IDLE by default.pull/21360/head
@ -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 | BOOTMAGIC_ENABLE = yes |
@ -1,7 +1,3 @@ | |||||
# Wildcard to allow APM32 MCU | # Wildcard to allow APM32 MCU | ||||
DFU_SUFFIX_ARGS = -v FFFF -p FFFF | 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 |
@ -1,5 +1,3 @@ | |||||
# Wildcard to allow APM32 MCU | # Wildcard to allow APM32 MCU | ||||
DFU_SUFFIX_ARGS = -v FFFF -p FFFF | 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 |
@ -1,5 +1,3 @@ | |||||
# Wildcard to allow APM32 MCU | # Wildcard to allow APM32 MCU | ||||
DFU_SUFFIX_ARGS = -v FFFF -p FFFF | 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 |
@ -1,5 +1,3 @@ | |||||
# Wildcard to allow APM32 MCU | # Wildcard to allow APM32 MCU | ||||
DFU_SUFFIX_ARGS = -v FFFF -p FFFF | 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 |
@ -1,5 +1,3 @@ | |||||
# Wildcard to allow APM32 MCU | # Wildcard to allow APM32 MCU | ||||
DFU_SUFFIX_ARGS = -v FFFF -p FFFF | 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 |
@ -1,5 +1,3 @@ | |||||
# Wildcard to allow APM32 MCU | # Wildcard to allow APM32 MCU | ||||
DFU_SUFFIX_ARGS = -v FFFF -p FFFF | 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 |
@ -1,5 +1,3 @@ | |||||
# Wildcard to allow APM32 MCU | # Wildcard to allow APM32 MCU | ||||
DFU_SUFFIX_ARGS = -v FFFF -p FFFF | 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 |
@ -1,2 +0,0 @@ | |||||
# Enter lower-power sleep mode when on the ChibiOS idle thread | |||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
@ -1,4 +1,2 @@ | |||||
USE_CHIBIOS_CONTRIB = yes | USE_CHIBIOS_CONTRIB = yes | ||||
# Enter lower-power sleep mode when on the ChibiOS idle thread | |||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
@ -1,4 +1,2 @@ | |||||
USE_CHIBIOS_CONTRIB = yes | USE_CHIBIOS_CONTRIB = yes | ||||
# Enter lower-power sleep mode when on the ChibiOS idle thread | |||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |