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:
commit
126ed47a94
@ -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
39
pkg/cryptoauthlib/Kconfig
Normal 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
|
@ -21,6 +21,7 @@ config AUTO_INIT_ENABLE_DEBUG
|
||||
default n
|
||||
|
||||
rsource "screen/Kconfig"
|
||||
rsource "security/Kconfig"
|
||||
rsource "multimedia/Kconfig"
|
||||
|
||||
endif # MODULE_AUTO_INIT
|
||||
|
10
sys/auto_init/security/Kconfig
Normal file
10
sys/auto_init/security/Kconfig
Normal 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
|
2
tests/pkg_cryptoauthlib_compare_sha256/app.config.test
Normal file
2
tests/pkg_cryptoauthlib_compare_sha256/app.config.test
Normal file
@ -0,0 +1,2 @@
|
||||
CONFIG_PACKAGE_CRYPTOAUTHLIB=y
|
||||
CONFIG_MODULE_HASHES=y
|
2
tests/pkg_cryptoauthlib_internal-tests/app.config.test
Normal file
2
tests/pkg_cryptoauthlib_internal-tests/app.config.test
Normal file
@ -0,0 +1,2 @@
|
||||
CONFIG_PACKAGE_CRYPTOAUTHLIB=y
|
||||
CONFIG_MODULE_CRYPTOAUTHLIB_TEST=y
|
Loading…
Reference in New Issue
Block a user