1
0
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:
Leandro Lanzieri 2021-11-26 15:03:56 +01:00
parent 81d646ea03
commit 5054bdc786
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
4 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -0,0 +1 @@
CONFIG_MODULE_PM_LAYERED=y

View File

@ -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