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

View File

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

View 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.