1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #18011 from aabadie/pr/pkg/cryptoauthlib_kconfig

pkg/cryptoauthlib: model in kconfig
This commit is contained in:
Kevin "Tristate Tom" Weiss 2022-05-04 10:05:39 +02:00 committed by GitHub
commit 126ed47a94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 55 additions and 0 deletions

View File

@ -14,6 +14,7 @@ rsource "cmsis-dsp/Kconfig"
rsource "cmsis-nn/Kconfig"
rsource "cn-cbor/Kconfig"
rsource "corejson/Kconfig"
rsource "cryptoauthlib/Kconfig"
rsource "driver_atwinc15x0/Kconfig"
rsource "driver_bme680/Kconfig"
rsource "driver_sx126x/Kconfig"

39
pkg/cryptoauthlib/Kconfig Normal file
View File

@ -0,0 +1,39 @@
# Copyright (c) 2022 Inria
#
# 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.
#
menuconfig PACKAGE_CRYPTOAUTHLIB
bool "Microchip CryptoAuthentication Library package"
depends on TEST_KCONFIG
depends on !HAS_ARCH_EFM32
select MODULE_AUTO_INIT_SECURITY
select MODULE_CRYPTOAUTHLIB_CONTRIB
if PACKAGE_CRYPTOAUTHLIB
config MODULE_CRYPTOAUTHLIB_CONTRIB
bool
select ZTIMER_USEC
select MODULE_PERIPH_I2C
select MODULE_PERIPH_I2C_RECONFIGURE if HAS_PERIPH_I2C_RECONFIGURE
config MODULE_CRYPTOAUTHLIB_TEST
bool "Module for cryptoauthlib tests"
depends on TEST_KCONFIG
select MODULE_CRYPTOAUTHLIB_TEST_JWT
select MODULE_CRYPTOAUTHLIB_TEST_TNG
select MODULE_CRYPTOAUTHLIB_TEST_ATCACERT
config MODULE_CRYPTOAUTHLIB_TEST_JWT
bool
config MODULE_CRYPTOAUTHLIB_TEST_TNG
bool
config MODULE_CRYPTOAUTHLIB_TEST_ATCACERT
bool
endif

View File

@ -21,6 +21,7 @@ config AUTO_INIT_ENABLE_DEBUG
default n
rsource "screen/Kconfig"
rsource "security/Kconfig"
rsource "multimedia/Kconfig"
endif # MODULE_AUTO_INIT

View File

@ -0,0 +1,10 @@
# Copyright (c) 2022 Inria
#
# 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_AUTO_INIT_SECURITY
bool "Security auto initialization module"
depends on TEST_KCONFIG

View File

@ -0,0 +1,2 @@
CONFIG_PACKAGE_CRYPTOAUTHLIB=y
CONFIG_MODULE_HASHES=y

View File

@ -0,0 +1,2 @@
CONFIG_PACKAGE_CRYPTOAUTHLIB=y
CONFIG_MODULE_CRYPTOAUTHLIB_TEST=y