mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/ecc: model in Kconfig
This commit is contained in:
parent
40d0f64a04
commit
7eb50c5f05
@ -74,6 +74,7 @@ choice LOG
|
|||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
rsource "coding/Kconfig"
|
rsource "coding/Kconfig"
|
||||||
|
rsource "ecc/Kconfig"
|
||||||
rsource "log_color/Kconfig"
|
rsource "log_color/Kconfig"
|
||||||
rsource "log_printfnoformat/Kconfig"
|
rsource "log_printfnoformat/Kconfig"
|
||||||
rsource "luid/Kconfig"
|
rsource "luid/Kconfig"
|
||||||
|
35
sys/ecc/Kconfig
Normal file
35
sys/ecc/Kconfig
Normal 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
|
Loading…
Reference in New Issue
Block a user