mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/lpc23xx: model Kconfig
This commit is contained in:
parent
81d646ea03
commit
5054bdc786
@ -17,6 +17,8 @@ config CPU_FAM_LPC23XX
|
||||
select HAS_PERIPH_TIMER_PERIODIC
|
||||
select HAS_PERIPH_RTC_MS
|
||||
|
||||
select MODULE_BITFIELD if TEST_KCONFIG
|
||||
|
||||
## CPU Models
|
||||
config CPU_MODEL_LPC2387
|
||||
bool
|
||||
|
@ -7,3 +7,9 @@ FEATURES_PROVIDED += periph_timer_periodic
|
||||
FEATURES_PROVIDED += periph_rtc_ms
|
||||
|
||||
include $(RIOTCPU)/arm7_common/Makefile.features
|
||||
|
||||
# This configuration enables modules that are only available when using Kconfig
|
||||
# module modelling
|
||||
ifeq (1, $(TEST_KCONFIG))
|
||||
KCONFIG_ADD_CONFIG += $(RIOTCPU)/lpc23xx/lpc23xx.config
|
||||
endif
|
||||
|
1
cpu/lpc23xx/lpc23xx.config
Normal file
1
cpu/lpc23xx/lpc23xx.config
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_MODULE_PM_LAYERED=y
|
@ -9,3 +9,4 @@ config MODULE_MCI
|
||||
bool "LPC23XX Multimedia Card Interface (MCI) driver"
|
||||
depends on CPU_FAM_LPC23XX
|
||||
depends on TEST_KCONFIG
|
||||
select MODULE_XTIMER
|
||||
|
Loading…
Reference in New Issue
Block a user