mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/arm7_common: model Kconfig
This commit is contained in:
parent
2cf0fca4e2
commit
81d646ea03
@ -12,6 +12,8 @@ config CPU_ARCH_ARMV4T
|
||||
select HAS_CPP
|
||||
select HAS_LIBSTDCPP
|
||||
select MODULE_MALLOC_THREAD_SAFE if TEST_KCONFIG
|
||||
select MODULE_PERIPH if TEST_KCONFIG
|
||||
imply MODULE_NEWLIB_NANO
|
||||
|
||||
config CPU_CORE_ARM7TDMI_S
|
||||
bool
|
||||
@ -35,3 +37,19 @@ config CPU_ARCH
|
||||
|
||||
config CPU_CORE
|
||||
default "arm7tdmi_s" if CPU_CORE_ARM7TDMI_S
|
||||
|
||||
config MODULE_ARM7_COMMON
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
depends on MODULE_NEWLIB || MODULE_PICOLIBC
|
||||
depends on HAS_ARCH_ARM7
|
||||
default y
|
||||
help
|
||||
Common arm7 code.
|
||||
|
||||
rsource "periph/Kconfig"
|
||||
|
||||
choice LIBC_IMPLEMENTATION
|
||||
default MODULE_NEWLIB
|
||||
default MODULE_PICOLIBC
|
||||
endchoice
|
||||
|
14
cpu/arm7_common/periph/Kconfig
Normal file
14
cpu/arm7_common/periph/Kconfig
Normal file
@ -0,0 +1,14 @@
|
||||
# Copyright (c) 2021 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 MODULE_ARM7_COMMON_PERIPH
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
depends on HAS_ARCH_ARM7
|
||||
default y
|
||||
help
|
||||
Common arm7 peripheral code.
|
Loading…
Reference in New Issue
Block a user