lib: crc: move from lib/os to lib/crc

Move crc implementation to own directory and reduce clutter in lib/os.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2023-08-16 13:04:12 +00:00 committed by Johan Hedberg
commit e6885a4515
12 changed files with 29 additions and 22 deletions

10
lib/crc/CMakeLists.txt Normal file
View file

@ -0,0 +1,10 @@
# 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
)
zephyr_sources_ifdef(CONFIG_CRC_SHELL crc_shell.c)