diff --git a/sys/Kconfig b/sys/Kconfig index 6a505b70e9..5482c5d60e 100644 --- a/sys/Kconfig +++ b/sys/Kconfig @@ -74,6 +74,7 @@ choice LOG endchoice rsource "coding/Kconfig" +rsource "ecc/Kconfig" rsource "log_color/Kconfig" rsource "log_printfnoformat/Kconfig" rsource "luid/Kconfig" diff --git a/sys/ecc/Kconfig b/sys/ecc/Kconfig new file mode 100644 index 0000000000..3e257fa863 --- /dev/null +++ b/sys/ecc/Kconfig @@ -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