2020-07-09 09:47:27 +02:00
|
|
|
# Copyright (c) 2020 HAW Hamburg
|
|
|
|
#
|
|
|
|
# This file is subject to the terms and conditions of the GNU Lesser
|
|
|
|
# General Public License v2.1. See the file LICENSE in the top level
|
|
|
|
# directory for more details.
|
|
|
|
#
|
|
|
|
|
|
|
|
config CPU_FAM_LPC23XX
|
|
|
|
bool
|
|
|
|
select CPU_CORE_ARM7TDMI_S
|
|
|
|
select HAS_BACKUP_RAM
|
|
|
|
select HAS_CPU_LPC23XX
|
|
|
|
select HAS_PERIPH_DAC
|
2020-11-27 13:55:49 +01:00
|
|
|
select HAS_PERIPH_FLASHPAGE
|
2020-07-09 09:47:27 +02:00
|
|
|
select HAS_PERIPH_GPIO
|
|
|
|
select HAS_PERIPH_GPIO_IRQ
|
|
|
|
select HAS_PERIPH_TIMER_PERIODIC
|
2021-05-03 00:34:10 +02:00
|
|
|
select HAS_PERIPH_RTC_MS
|
2020-07-09 09:47:27 +02:00
|
|
|
|
2021-11-26 15:03:56 +01:00
|
|
|
select MODULE_BITFIELD if TEST_KCONFIG
|
|
|
|
|
2020-07-09 09:47:27 +02:00
|
|
|
## CPU Models
|
|
|
|
config CPU_MODEL_LPC2387
|
|
|
|
bool
|
|
|
|
select CPU_FAM_LPC23XX
|
|
|
|
|
|
|
|
config CPU_MODEL_LPC2388
|
|
|
|
bool
|
|
|
|
select CPU_FAM_LPC23XX
|
|
|
|
|
|
|
|
## Declaration of specific features
|
|
|
|
config HAS_CPU_LPC23XX
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Indicates that an 'lpc23xx' cpu is being used.
|
|
|
|
|
|
|
|
## Common CPU symbols
|
|
|
|
config CPU_FAM
|
|
|
|
default "lpc23xx" if CPU_FAM_LPC23XX
|
|
|
|
|
|
|
|
config CPU_MODEL
|
|
|
|
default "lpc2387" if CPU_MODEL_LPC2387
|
|
|
|
default "lpc2388" if CPU_MODEL_LPC2388
|
|
|
|
|
|
|
|
config CPU
|
|
|
|
default "lpc23xx" if CPU_FAM_LPC23XX
|
|
|
|
|
2020-12-09 16:30:49 +01:00
|
|
|
rsource "mci/Kconfig"
|
2020-07-09 09:47:27 +02:00
|
|
|
source "$(RIOTCPU)/arm7_common/Kconfig"
|