1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-28 23:09:46 +01:00

sys/ecc: model in Kconfig

This commit is contained in:
Alexandre Abadie 2023-05-20 15:51:36 +02:00
parent 40d0f64a04
commit 7eb50c5f05
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
2 changed files with 36 additions and 0 deletions

View File

@ -74,6 +74,7 @@ choice LOG
endchoice
rsource "coding/Kconfig"
rsource "ecc/Kconfig"
rsource "log_color/Kconfig"
rsource "log_printfnoformat/Kconfig"
rsource "luid/Kconfig"

35
sys/ecc/Kconfig Normal file
View File

@ -0,0 +1,35 @@
# Copyright (c) 2023 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 MODULE_ECC
bool "Error Correction Code (ECC) algorithms"
depends on TEST_KCONFIG
help
Provides Golay1412, Hamming256 and Repetition algorithms.
if MODULE_ECC
menu "ECC algorithms"
config MODULE_ECC_GOLAY1412
bool "Golay1412 Error Correction Code (ECC) algorithm"
help
Provides Golay1412 ECC algorithm.
config MODULE_ECC_HAMMING256
bool "Hamming256 Error Correction Code (ECC) algorithm"
help
Provides Hamming256 ECC algorithm.
config MODULE_ECC_REPETITION
bool "Repetition Error Correction Code (ECC) algorithm"
help
Provides Repetition ECC algorithm.
endmenu # ECC algorithms
endif