39aa2ad719
Add two new functions: crc4 for generic calculations of CRC4, and crc4_ti which use look-up table for faster calculations of CRC4 algortihms that base on 0x03 polynomial. Signed-off-by: Michal Morsisko <morsisko@gmail.com>
12 lines
202 B
CMake
12 lines
202 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_sources_ifdef(CONFIG_CRC
|
|
crc32c_sw.c
|
|
crc32_sw.c
|
|
crc16_sw.c
|
|
crc8_sw.c
|
|
crc7_sw.c
|
|
crc4_sw.c
|
|
)
|
|
zephyr_sources_ifdef(CONFIG_CRC_SHELL crc_shell.c)
|