configs/stm32f4discovery/pm: Configuration converted to use the kconfig-frontends tools
This commit is contained in:
parent
a637978a1b
commit
c99476c950
32
arch/Kconfig
32
arch/Kconfig
@ -170,6 +170,38 @@ config ENDIAN_BIG
|
||||
---help---
|
||||
Select if architecture operates using big-endian byte ordering.
|
||||
|
||||
config ARCH_IDLE_CUSTOM
|
||||
bool "Custom IDLE loop"
|
||||
default n
|
||||
---help---
|
||||
Each architecture provides a "default" IDLE loop that exits when the
|
||||
MCU has nothing else to do. This default IDLE loop can be replaced
|
||||
by a custom, board-specific IDLE loop by setting this option. Such
|
||||
a custom IDLE loop may do things like a continuous built-in test or
|
||||
perhaps or IDLE low power operations.
|
||||
|
||||
NOTE: As of this writing, this capability is only supported by the
|
||||
STM32. However, the implementation is trivial: If CONFIG_ARCH_IDLE_CUSTOM,
|
||||
then the default IDLE loop file is not included in the MCU-specific
|
||||
Make.defs file.
|
||||
|
||||
config ARCH_CUSTOM_PMINIT
|
||||
bool "Custom PM initialization"
|
||||
default n
|
||||
depends on PM
|
||||
---help---
|
||||
Each architecture provides default power management (PM)
|
||||
initialization that is called automatically when the system is
|
||||
started. This default PM initialization can be replaced by custom,
|
||||
board-specific PM initialization by setting this option. Such a
|
||||
custom initialization may do additional PM-related initialization
|
||||
that is unique to the board power management requirements.
|
||||
|
||||
NOTE: As of this writing, this capability is only supported by the
|
||||
STM32. However, the implementation is trivial: If CONFIG_ARCH_CUSTOM_PMINIT,
|
||||
then the default PM initialization is not included in the MCU-specific
|
||||
Make.defs file.
|
||||
|
||||
config ARCH_HAVE_RAMFUNCS
|
||||
bool
|
||||
default n
|
||||
|
@ -91,7 +91,7 @@ ifeq ($(CONFIG_NUTTX_KERNEL),y)
|
||||
CHIP_CSRCS += lpc43_userspace.c lpc43_mpuinit.c
|
||||
endif
|
||||
|
||||
ifneq ($(CONFIG_IDLE_CUSTOM),y)
|
||||
ifneq ($(CONFIG_ARCH_IDLE_CUSTOM),y)
|
||||
CHIP_CSRCS += lpc43_idle.c
|
||||
endif
|
||||
|
||||
|
@ -132,13 +132,13 @@ CHIP_CSRCS += stm32_otgfshost.c
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(CONFIG_IDLE_CUSTOM),y)
|
||||
ifneq ($(CONFIG_ARCH_IDLE_CUSTOM),y)
|
||||
CHIP_CSRCS += stm32_idle.c
|
||||
endif
|
||||
|
||||
CHIP_CSRCS += stm32_pmstop.c stm32_pmstandby.c stm32_pmsleep.c
|
||||
|
||||
ifneq ($(CONFIG_PM_CUSTOMINIT),y)
|
||||
ifneq ($(CONFIG_ARCH_CUSTOM_PMINIT),y)
|
||||
CHIP_CSRCS += stm32_pminitialize.c
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user