From 6bd6091938cdf03c4145659e090739f33b921977 Mon Sep 17 00:00:00 2001 From: MrKevinWeiss Date: Wed, 31 Mar 2021 11:09:28 +0200 Subject: [PATCH] pkg/*/Kconfig: Add simple kconfig pkgs This adds many basic `PACKAGE_*` to Kconfig: - pkg/Kconfig - pkg/c25519/Kconfig - pkg/cayenne-lpp/Kconfig - pkg/cifra/Kconfig - pkg/cn-cbor/Kconfig - pkg/driver_atwinc15x0/Kconfig - pkg/driver_bme680/Kconfig - pkg/emlearn/Kconfig - pkg/gemmlowp/Kconfig - pkg/hacl/Kconfig - pkg/heatshrink/Kconfig - pkg/jsmn/Kconfig - pkg/libb2/Kconfig - pkg/libcose/Kconfig - pkg/libfixmath/Kconfig - pkg/libhydrogen/Kconfig - pkg/lora-serialization/Kconfig - pkg/micro-ecc/Kconfig - pkg/microcoap/Kconfig - pkg/minmea/Kconfig - pkg/monocypher/Kconfig - pkg/nanocbor/Kconfig - pkg/nanopb/Kconfig - pkg/qDSA/Kconfig - pkg/qcbor/Kconfig - pkg/relic/Kconfig - pkg/talking_leds/Kconfig - pkg/tiny-asn1/Kconfig - pkg/tinycbor/Kconfig - pkg/tinycrypt/Kconfig - pkg/tlsf/Kconfig - pkg/tweetnacl/Kconfig - pkg/u8g2/Kconfig - pkg/ubasic/Kconfig - pkg/ucglib/Kconfig - pkg/utensor/Kconfig - pkg/yxml/Kconfig --- pkg/Kconfig | 35 +++++++++++++++++++++++++++++++ pkg/c25519/Kconfig | 17 +++++++++++++++ pkg/cayenne-lpp/Kconfig | 13 ++++++++++++ pkg/cifra/Kconfig | 14 +++++++++++++ pkg/cn-cbor/Kconfig | 14 +++++++++++++ pkg/driver_atwinc15x0/Kconfig | 32 ++++++++++++++++++++++++++++ pkg/driver_bme680/Kconfig | 2 ++ pkg/emlearn/Kconfig | 18 ++++++++++++++++ pkg/gemmlowp/Kconfig | 17 +++++++++++++++ pkg/hacl/Kconfig | 12 +++++++++++ pkg/heatshrink/Kconfig | 13 ++++++++++++ pkg/jsmn/Kconfig | 10 +++++++++ pkg/libb2/Kconfig | 15 ++++++++++++++ pkg/libcose/Kconfig | 38 ++++++++++++++++++++++++++++++++++ pkg/libfixmath/Kconfig | 22 ++++++++++++++++++++ pkg/libhydrogen/Kconfig | 12 +++++++++++ pkg/lora-serialization/Kconfig | 10 +++++++++ pkg/micro-ecc/Kconfig | 17 +++++++++++++++ pkg/microcoap/Kconfig | 12 +++++++++++ pkg/minmea/Kconfig | 10 +++++++++ pkg/monocypher/Kconfig | 22 ++++++++++++++++++++ pkg/nanocbor/Kconfig | 11 ++++++++++ pkg/nanopb/Kconfig | 10 +++++++++ pkg/qDSA/Kconfig | 20 ++++++++++++++++++ pkg/qcbor/Kconfig | 11 ++++++++++ pkg/relic/Kconfig | 12 +++++++++++ pkg/talking_leds/Kconfig | 11 ++++++++++ pkg/tiny-asn1/Kconfig | 10 +++++++++ pkg/tinycbor/Kconfig | 19 +++++++++++++++++ pkg/tinycrypt/Kconfig | 11 ++++++++++ pkg/tlsf/Kconfig | 31 +++++++++++++++++++++++++++ pkg/tweetnacl/Kconfig | 16 ++++++++++++++ pkg/u8g2/Kconfig | 23 ++++++++++++++++++++ pkg/ubasic/Kconfig | 14 +++++++++++++ pkg/ucglib/Kconfig | 23 ++++++++++++++++++++ pkg/utensor/Kconfig | 22 ++++++++++++++++++++ pkg/yxml/Kconfig | 12 +++++++++++ 37 files changed, 611 insertions(+) create mode 100644 pkg/c25519/Kconfig create mode 100644 pkg/cayenne-lpp/Kconfig create mode 100644 pkg/cifra/Kconfig create mode 100644 pkg/cn-cbor/Kconfig create mode 100644 pkg/driver_atwinc15x0/Kconfig create mode 100644 pkg/emlearn/Kconfig create mode 100644 pkg/gemmlowp/Kconfig create mode 100644 pkg/hacl/Kconfig create mode 100644 pkg/heatshrink/Kconfig create mode 100644 pkg/jsmn/Kconfig create mode 100644 pkg/libb2/Kconfig create mode 100644 pkg/libcose/Kconfig create mode 100644 pkg/libfixmath/Kconfig create mode 100644 pkg/libhydrogen/Kconfig create mode 100644 pkg/lora-serialization/Kconfig create mode 100644 pkg/micro-ecc/Kconfig create mode 100644 pkg/microcoap/Kconfig create mode 100644 pkg/minmea/Kconfig create mode 100644 pkg/monocypher/Kconfig create mode 100644 pkg/nanocbor/Kconfig create mode 100644 pkg/nanopb/Kconfig create mode 100644 pkg/qDSA/Kconfig create mode 100644 pkg/qcbor/Kconfig create mode 100644 pkg/relic/Kconfig create mode 100644 pkg/talking_leds/Kconfig create mode 100644 pkg/tiny-asn1/Kconfig create mode 100644 pkg/tinycbor/Kconfig create mode 100644 pkg/tinycrypt/Kconfig create mode 100644 pkg/tlsf/Kconfig create mode 100644 pkg/tweetnacl/Kconfig create mode 100644 pkg/u8g2/Kconfig create mode 100644 pkg/ubasic/Kconfig create mode 100644 pkg/ucglib/Kconfig create mode 100644 pkg/utensor/Kconfig create mode 100644 pkg/yxml/Kconfig diff --git a/pkg/Kconfig b/pkg/Kconfig index 144ddfcf56..52fcc9a86c 100644 --- a/pkg/Kconfig +++ b/pkg/Kconfig @@ -6,11 +6,46 @@ # menu "Packages" +rsource "c25519/Kconfig" +rsource "cayenne-lpp/Kconfig" +rsource "cifra/Kconfig" +rsource "cn-cbor/Kconfig" +rsource "driver_atwinc15x0/Kconfig" rsource "driver_bme680/Kconfig" rsource "driver_sx126x/Kconfig" +rsource "emlearn/Kconfig" +rsource "gemmlowp/Kconfig" +rsource "hacl/Kconfig" +rsource "heatshrink/Kconfig" +rsource "jsmn/Kconfig" +rsource "libb2/Kconfig" +rsource "libcose/Kconfig" +rsource "libfixmath/Kconfig" +rsource "libhydrogen/Kconfig" +rsource "lora-serialization/Kconfig" +rsource "micro-ecc/Kconfig" +rsource "microcoap/Kconfig" +rsource "minmea/Kconfig" +rsource "monocypher/Kconfig" +rsource "nanocbor/Kconfig" +rsource "nanopb/Kconfig" +rsource "qcbor/Kconfig" +rsource "qDSA/Kconfig" +rsource "relic/Kconfig" rsource "semtech-loramac/Kconfig" +rsource "talking_leds/Kconfig" +rsource "tiny-asn1/Kconfig" +rsource "tinycbor/Kconfig" +rsource "tinycrypt/Kconfig" rsource "tinydtls/Kconfig" +rsource "tlsf/Kconfig" +rsource "tweetnacl/Kconfig" +rsource "u8g2/Kconfig" +rsource "ubasic/Kconfig" +rsource "ucglib/Kconfig" rsource "umorse/Kconfig" +rsource "utensor/Kconfig" rsource "wakaama/Kconfig" +rsource "yxml/Kconfig" endmenu # Packages diff --git a/pkg/c25519/Kconfig b/pkg/c25519/Kconfig new file mode 100644 index 0000000000..93f7582b02 --- /dev/null +++ b/pkg/c25519/Kconfig @@ -0,0 +1,17 @@ +# 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 PACKAGE_C25519 + bool "Curve255191 Diffie-Hellman function package" + depends on TEST_KCONFIG + help + This package contains portable public-domain implementations of + Daniel J. Bernstein's Curve255191 Diffie-Hellman function, and + of the Ed25519 signature system. The memory consumption is low + enough that they could be reasonably considered for most + microcontroller applications. In particular, Curve25519 scalar + multiplication uses less than half a kB of peak stack usage. diff --git a/pkg/cayenne-lpp/Kconfig b/pkg/cayenne-lpp/Kconfig new file mode 100644 index 0000000000..a5671b3003 --- /dev/null +++ b/pkg/cayenne-lpp/Kconfig @@ -0,0 +1,13 @@ +# 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 PACKAGE_CAYENNE-LPP + bool "Cayenne Low Power Payload package" + depends on TEST_KCONFIG + help + The Cayenne Low Power Payload (LPP) provides a convenient and + easy way to send data over LPWAN networks such as LoRaWAN. diff --git a/pkg/cifra/Kconfig b/pkg/cifra/Kconfig new file mode 100644 index 0000000000..7f1b4400de --- /dev/null +++ b/pkg/cifra/Kconfig @@ -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 PACKAGE_CIFRA + bool "Cifra cryptographic primitives" + depends on TEST_KCONFIG + depends on HAS_ARCH_32BIT + help + Cifra is a collection of cryptographic primitives targeted at + embedded use. diff --git a/pkg/cn-cbor/Kconfig b/pkg/cn-cbor/Kconfig new file mode 100644 index 0000000000..89d0c8af9b --- /dev/null +++ b/pkg/cn-cbor/Kconfig @@ -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 PACKAGE_CN-CBOR + bool "Constrained Node CBOR" + depends on TEST_KCONFIG + depends on HAS_ARCH_32BIT + select MODULE_POSIX_HEADERS + help + A constrained node implementation of CBOR in C. diff --git a/pkg/driver_atwinc15x0/Kconfig b/pkg/driver_atwinc15x0/Kconfig new file mode 100644 index 0000000000..e4ebe1e4fe --- /dev/null +++ b/pkg/driver_atwinc15x0/Kconfig @@ -0,0 +1,32 @@ +# 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 PACKAGE_DRIVER_ATWINC15X0 + bool "ATWINC15x0 WiFi driver package" + depends on TEST_KCONFIG + depends on HAS_PERIPH_SPI + depends on HAS_PERIPH_GPIO + depends on HAS_PERIPH_GPIO_IRQ + select MODULE_PERIPH_SPI + select MODULE_PERIPH_GPIO + select MODULE_PERIPH_GPIO_IRQ + select MODULE_DRIVER_ATWINC15X0 + select MODULE_DRIVER_ATWINC15X0_COMMON + select MODULE_DRIVER_ATWINC15X0_SPI_FLASH + help + ATWINC15x0 WiFi vendor driver from the Arduino WiFi101 library. + +config MODULE_DRIVER_ATWINC15X0 + bool + depends on TEST_KCONFIG + +config MODULE_DRIVER_ATWINC15X0_COMMON + bool + depends on TEST_KCONFIG + +config MODULE_DRIVER_ATWINC15X0_SPI_FLASH + bool diff --git a/pkg/driver_bme680/Kconfig b/pkg/driver_bme680/Kconfig index f2a97c9198..d3e5d9b212 100644 --- a/pkg/driver_bme680/Kconfig +++ b/pkg/driver_bme680/Kconfig @@ -7,9 +7,11 @@ config PACKAGE_DRIVER_BME680 bool "BME680 sensor driver package" + depends on TEST_KCONFIG select MODULE_DRIVER_BME680_CONTRIB config MODULE_DRIVER_BME680_CONTRIB bool + depends on TEST_KCONFIG help RIOT integration code for the BME680 package. diff --git a/pkg/emlearn/Kconfig b/pkg/emlearn/Kconfig new file mode 100644 index 0000000000..26ac1236b3 --- /dev/null +++ b/pkg/emlearn/Kconfig @@ -0,0 +1,18 @@ +# 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 PACKAGE_EMLEARN + bool "Machine Learning inference engine package" + depends on TEST_KCONFIG + depends on !HAS_ARCH_MSP430 + select MODULE_EMLEARN + help + A header only Machine Learning inference engine package. + +config MODULE_EMLEARN + bool + depends on TEST_KCONFIG diff --git a/pkg/gemmlowp/Kconfig b/pkg/gemmlowp/Kconfig new file mode 100644 index 0000000000..377c441a62 --- /dev/null +++ b/pkg/gemmlowp/Kconfig @@ -0,0 +1,17 @@ +# 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 PACKAGE_GEMMLOWP + bool "General Matrix Multiplication package" + depends on TEST_KCONFIG + select MODULE_GEMMLOWP + help + A small self-contained low-precision GEMM library. + +config MODULE_GEMMLOWP + bool + depends on TEST_KCONFIG diff --git a/pkg/hacl/Kconfig b/pkg/hacl/Kconfig new file mode 100644 index 0000000000..162edb9b8c --- /dev/null +++ b/pkg/hacl/Kconfig @@ -0,0 +1,12 @@ +# 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 PACKAGE_HACL + bool "High Assurance Cryptographic Library package" + depends on TEST_KCONFIG + depends on MODULE_RANDOM + depends on HAS_ARCH_32BIT diff --git a/pkg/heatshrink/Kconfig b/pkg/heatshrink/Kconfig new file mode 100644 index 0000000000..4e04a16a8c --- /dev/null +++ b/pkg/heatshrink/Kconfig @@ -0,0 +1,13 @@ +# 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 PACKAGE_HEATSHRINK + bool "Lightweight Compression package" + depends on TEST_KCONFIG + help + This package provides a compression library specifically + developed for memory-constrained devices. diff --git a/pkg/jsmn/Kconfig b/pkg/jsmn/Kconfig new file mode 100644 index 0000000000..e4f5a95fae --- /dev/null +++ b/pkg/jsmn/Kconfig @@ -0,0 +1,10 @@ +# 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 PACKAGE_JSMN + bool "JSMN JSON Parser package" + depends on TEST_KCONFIG diff --git a/pkg/libb2/Kconfig b/pkg/libb2/Kconfig new file mode 100644 index 0000000000..edc69fbc1b --- /dev/null +++ b/pkg/libb2/Kconfig @@ -0,0 +1,15 @@ +# 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 PACKAGE_LIBB2 + bool "BLAKE2 cryptographic hash function package" + depends on TEST_KCONFIG + depends on !HAS_ARCH_8BIT + help + BLAKE2 is a cryptographic hash function specified in RFC 7693. + It claims to be faster than MD5, SHA-1, SHA-2, and SHA-3, yet at + least as secure as the latest standard SHA-3. diff --git a/pkg/libcose/Kconfig b/pkg/libcose/Kconfig new file mode 100644 index 0000000000..48e80253b0 --- /dev/null +++ b/pkg/libcose/Kconfig @@ -0,0 +1,38 @@ +# 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. +# + +menuconfig PACKAGE_LIBCOSE + bool "LibCose CBOR Object Signing and Encryption package" + depends on TEST_KCONFIG + depends on MODULE_RANDOM + select PACKAGE_NANOCBOR + select MODULE_LIBCOSE_CRYPT + help + CBOR Object Signing and Encryption package based on RFC8613. + +if PACKAGE_LIBCOSE + +config MODULE_LIBCOSE_CRYPT_C25519 + bool "COSE use C25519 backend" + depends on TEST_KCONFIG + depends on PACKAGE_C25519 + +config MODULE_LIBCOSE_CRYPT_HACL + bool "COSE use HACL backend" + depends on TEST_KCONFIG + depends on PACKAGE_HACL + +config MODULE_LIBCOSE_CRYPT_MONOCYPHER + bool "COSE use MONOCYPHER backend" + depends on TEST_KCONFIG + depends on PACKAGE_MONOCYPHER + +endif # PACKAGE_LIBCOSE + +config MODULE_LIBCOSE_CRYPT + bool + depends on TEST_KCONFIG diff --git a/pkg/libfixmath/Kconfig b/pkg/libfixmath/Kconfig new file mode 100644 index 0000000000..48eb8b0abe --- /dev/null +++ b/pkg/libfixmath/Kconfig @@ -0,0 +1,22 @@ +# 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. +# + +menuconfig PACKAGE_LIBFIXMATH + bool "Fixed Point Math package" + depends on TEST_KCONFIG + +if PACKAGE_LIBFIXMATH + +config MODULE_LIBFIXMATH + bool "Fixed Point Math module" + +config MODULE_LIBFIXMATH_UNITTESTS + bool "Fixed Point Math unittests" + depends on !HAS_ARCH_8BIT + depends on !HAS_MSP430 + +endif # PACKAGE_LIBFIXMATH diff --git a/pkg/libhydrogen/Kconfig b/pkg/libhydrogen/Kconfig new file mode 100644 index 0000000000..5bace30062 --- /dev/null +++ b/pkg/libhydrogen/Kconfig @@ -0,0 +1,12 @@ +# 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 PACKAGE_LIBHYDROGEN + bool "LibHydrogen Crypto Library package" + depends on TEST_KCONFIG + depends on MODULE_RANDOM + depends on HAS_ARCH_32BIT diff --git a/pkg/lora-serialization/Kconfig b/pkg/lora-serialization/Kconfig new file mode 100644 index 0000000000..1b6a6ebb40 --- /dev/null +++ b/pkg/lora-serialization/Kconfig @@ -0,0 +1,10 @@ +# 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 PACKAGE_LORA-SERIALIZATION + bool "LoRa Serialization package" + depends on TEST_KCONFIG diff --git a/pkg/micro-ecc/Kconfig b/pkg/micro-ecc/Kconfig new file mode 100644 index 0000000000..318d4ee1e6 --- /dev/null +++ b/pkg/micro-ecc/Kconfig @@ -0,0 +1,17 @@ +# 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 PACKAGE_MICRO-ECC + bool "Micro-ECC package" + depends on TEST_KCONFIG + depends on MODULE_RANDOM + depends on !HAS_ARCH_16BIT + help + Micro-ECC is based on the Micro-ECC + https://github.com/kmackay/micro-ecc and adds `hwrng_read` as + the default RNG function if it is available on the target + platform. diff --git a/pkg/microcoap/Kconfig b/pkg/microcoap/Kconfig new file mode 100644 index 0000000000..6a3f100f49 --- /dev/null +++ b/pkg/microcoap/Kconfig @@ -0,0 +1,12 @@ +# 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 PACKAGE_MICRO_COAP + bool "Micro CoAP package" + depends on TEST_KCONFIG + help + A tiny CoAP server for microcontrollers diff --git a/pkg/minmea/Kconfig b/pkg/minmea/Kconfig new file mode 100644 index 0000000000..69aa658e50 --- /dev/null +++ b/pkg/minmea/Kconfig @@ -0,0 +1,10 @@ +# 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 PACKAGE_MINMEA + bool "Minmea GPS Parser package" + depends on TEST_KCONFIG diff --git a/pkg/monocypher/Kconfig b/pkg/monocypher/Kconfig new file mode 100644 index 0000000000..689fbe732f --- /dev/null +++ b/pkg/monocypher/Kconfig @@ -0,0 +1,22 @@ +# 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 PACKAGE_MONOCYPHER + bool "Monocypher high performance cryptographic library package" + depends on TEST_KCONFIG + depends on HAS_ARCH_32BIT + select MODULE_MONOCYPHER_OPTIONAL + help + Provides functions for authenticated encryption, hashing, + password key derivation, key exchange, and public key + signatures. + +config MODULE_MONOCYPHER_OPTIONAL + bool + depends on TEST_KCONFIG + help + SHA-512 & ED25519 diff --git a/pkg/nanocbor/Kconfig b/pkg/nanocbor/Kconfig new file mode 100644 index 0000000000..2c7d7aceb6 --- /dev/null +++ b/pkg/nanocbor/Kconfig @@ -0,0 +1,11 @@ +# 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 PACKAGE_NANOCBOR + bool "NANOCBOR encoder and decoder library package" + depends on TEST_KCONFIG + depends on HAS_ARCH_32BIT diff --git a/pkg/nanopb/Kconfig b/pkg/nanopb/Kconfig new file mode 100644 index 0000000000..c1c8d6667a --- /dev/null +++ b/pkg/nanopb/Kconfig @@ -0,0 +1,10 @@ +# 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 PACKAGE_NANOPB + bool "NANOPB Protocol Buffer library package" + depends on TEST_KCONFIG diff --git a/pkg/qDSA/Kconfig b/pkg/qDSA/Kconfig new file mode 100644 index 0000000000..2f4ad5864d --- /dev/null +++ b/pkg/qDSA/Kconfig @@ -0,0 +1,20 @@ +# 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 PACKAGE_QDSA + bool "qDSA Digital Signatures package" + depends on TEST_KCONFIG + depends on !HAS_ARCH_16BIT + select MODULE_QDSA_ASM if HAS_ARCH_AVR8 || CPU_CORE_CORTEX_M23 + select MODULE_QDSA_ASM if CPU_CORE_CORTEX_M0 || CPU_CORE_CORTEX_M0PLUS + help + Small and Secure Digital Signatures with Curve-based + Diffie-Hellman Key Pairs. + +config MODULE_QDSA_ASM + bool + depends on TEST_KCONFIG diff --git a/pkg/qcbor/Kconfig b/pkg/qcbor/Kconfig new file mode 100644 index 0000000000..016dbb9264 --- /dev/null +++ b/pkg/qcbor/Kconfig @@ -0,0 +1,11 @@ +# 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 PACKAGE_QCBOR + bool "QCBOR CBOR encoder/decoder" + depends on TEST_KCONFIG + depends on HAS_ARCH_32BIT diff --git a/pkg/relic/Kconfig b/pkg/relic/Kconfig new file mode 100644 index 0000000000..f770e76a6f --- /dev/null +++ b/pkg/relic/Kconfig @@ -0,0 +1,12 @@ +# 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 PACKAGE_RELIC + bool "Relic cryptographic toolkit package" + depends on TEST_KCONFIG + depends on MODULE_RANDOM + depends on MODULE_PRNG_XORSHIFT diff --git a/pkg/talking_leds/Kconfig b/pkg/talking_leds/Kconfig new file mode 100644 index 0000000000..690ea8bbce --- /dev/null +++ b/pkg/talking_leds/Kconfig @@ -0,0 +1,11 @@ +# 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 PACKAGE_TALKING_LEDS + bool "Talking LEDs package" + depends on TEST_KCONFIG + depends on MODULE_ARDUINO diff --git a/pkg/tiny-asn1/Kconfig b/pkg/tiny-asn1/Kconfig new file mode 100644 index 0000000000..702fdb4ff3 --- /dev/null +++ b/pkg/tiny-asn1/Kconfig @@ -0,0 +1,10 @@ +# 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 PACKAGE_TINY-ASN1 + bool "ASN.1 decoding/encoding package" + depends on TEST_KCONFIG diff --git a/pkg/tinycbor/Kconfig b/pkg/tinycbor/Kconfig new file mode 100644 index 0000000000..b63d52e830 --- /dev/null +++ b/pkg/tinycbor/Kconfig @@ -0,0 +1,19 @@ +# 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. +# + +menuconfig PACKAGE_TINYCBOR + bool "Tiny CBOR encode/decoder package" + depends on TEST_KCONFIG + depends on HAS_ARCH_32BIT + help + TinyCBOR is a CBOR encoder and decoder with a very small + footprint, optimized for very fast operation. + +config MODULE_TINYCBOR_FLOAT + bool "Float support for Tiny CBOR" + depends on TEST_KCONFIG + depends on PACKAGE_TINYCBOR diff --git a/pkg/tinycrypt/Kconfig b/pkg/tinycrypt/Kconfig new file mode 100644 index 0000000000..afbaf3c560 --- /dev/null +++ b/pkg/tinycrypt/Kconfig @@ -0,0 +1,11 @@ +# 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 PACKAGE_TINYCRYPT + bool "TinyCrypt crypto library package" + depends on TEST_KCONFIG + depends on HAS_ARCH_32BIT diff --git a/pkg/tlsf/Kconfig b/pkg/tlsf/Kconfig new file mode 100644 index 0000000000..56392395c2 --- /dev/null +++ b/pkg/tlsf/Kconfig @@ -0,0 +1,31 @@ +# 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. +# + +menuconfig PACKAGE_TLSF + bool "TLFS malloc/realloc/free/etc package" + depends on TEST_KCONFIG + depends on HAS_ARCH_32BIT + help + TLSF provides an implementation of malloc/realloc/free/etc. + +if PACKAGE_TLSF + +config MODULE_TLSF_MALLOC + bool "TLSF malloc" + depends on MODULE_NEWLIB || BOARD_NATIVE + select MODULE_TLSF_MALLOC_NEWLIB if MODULE_NEWLIB + select MODULE_TLSF_MALLOC_NATIVE if BOARD_NATIVE + +config MODULE_TLSF_MALLOC_NEWLIB + bool + depends on TEST_KCONFIG + +config MODULE_TLSF_MALLOC_NATIVE + bool + depends on TEST_KCONFIG + +endif # PACKAGE_TLSF diff --git a/pkg/tweetnacl/Kconfig b/pkg/tweetnacl/Kconfig new file mode 100644 index 0000000000..2020f66b57 --- /dev/null +++ b/pkg/tweetnacl/Kconfig @@ -0,0 +1,16 @@ +# 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 PACKAGE_TWEETNACL + bool "TweetNaCl cryptographic library package" + depends on TEST_KCONFIG + depends on MODULE_RANDOM + depends on !HAS_ARCH_MSP430 + help + TweetNaCl is the world's first auditable high-security + cryptographic library. TweetNaCl fits into just 100 tweets while + supporting all 25 of the C NaCl functions used by applications. diff --git a/pkg/u8g2/Kconfig b/pkg/u8g2/Kconfig new file mode 100644 index 0000000000..27cfebe8e5 --- /dev/null +++ b/pkg/u8g2/Kconfig @@ -0,0 +1,23 @@ +# 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 PACKAGE_U8G2 + bool "U8g2 monochrome graphics library for LCDs" + depends on TEST_KCONFIG + depends on HAS_PERIPH_GPIO + select MODULE_PERIPH_GPIO + select MODULE_XTIMER + select MODULE_U8G2_RIOT + select MODULE_U8G2_CSRC + +config MODULE_U8G2_RIOT + bool + depends on TEST_KCONFIG + +config MODULE_U8G2_CSRC + bool + depends on TEST_KCONFIG diff --git a/pkg/ubasic/Kconfig b/pkg/ubasic/Kconfig new file mode 100644 index 0000000000..c505af52e4 --- /dev/null +++ b/pkg/ubasic/Kconfig @@ -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 PACKAGE_UBASIC + bool "UBasic Basic interpreter package" + depends on TEST_KCONFIG + depends on !HAS_ARCH_AVR8 + depends on !HAS_ARCH_MSP430 + depends on !HAS_ARCH_MIPS32R2 + depends on !HAS_ARCH_RISCV diff --git a/pkg/ucglib/Kconfig b/pkg/ucglib/Kconfig new file mode 100644 index 0000000000..168d425d24 --- /dev/null +++ b/pkg/ucglib/Kconfig @@ -0,0 +1,23 @@ +# 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 PACKAGE_UCGLIB + bool "UcgLib color graphics library for OLED and LCD displays" + depends on TEST_KCONFIG + depends on HAS_PERIPH_GPIO + select MODULE_PERIPH_GPIO + select MODULE_XTIMER + select MODULE_UCGLIB_RIOT + select MODULE_UCGLIB_CSRC + +config MODULE_UCGLIB_RIOT + bool + depends on TEST_KCONFIG + +config MODULE_UCGLIB_CSRC + bool + depends on TEST_KCONFIG diff --git a/pkg/utensor/Kconfig b/pkg/utensor/Kconfig new file mode 100644 index 0000000000..7ba68a952e --- /dev/null +++ b/pkg/utensor/Kconfig @@ -0,0 +1,22 @@ +# 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 PACKAGE_UTENSOR + bool "uTensor AI inference based on TensorFlow" + depends on TEST_KCONFIG + depends on HAS_LIBSTDCPP + depends on HAS_CPP + select MODULE_UTENSOR_OPS + select MODULE_UTENSOR_UTIL + +config MODULE_UTENSOR_OPS + bool + depends on TEST_KCONFIG + +config MODULE_UTENSOR_UTIL + bool + depends on TEST_KCONFIG diff --git a/pkg/yxml/Kconfig b/pkg/yxml/Kconfig new file mode 100644 index 0000000000..c809c9ab07 --- /dev/null +++ b/pkg/yxml/Kconfig @@ -0,0 +1,12 @@ +# 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 PACKAGE_YXML + bool "yXML parser library" + depends on TEST_KCONFIG + depends on !HAS_ARCH_16BIT + depends on !HAS_ARCH_8BIT