forked from mirrors/qmk_userspace
Remove CORTEX_ENABLE_WFI_IDLE from keyboards. (#21353)
* Remove CORTEX_ENABLE_WFI_IDLE from the codebase. * Turn on CORTEX_ENABLE_WFI_IDLE by default.
This commit is contained in:
parent
173f54cf1f
commit
416af0171c
311 changed files with 29 additions and 755 deletions
7
platforms/chibios/config.h
Normal file
7
platforms/chibios/config.h
Normal file
|
@ -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
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue