Skip to content

Commit 6daf046

Browse files
nashifAnas Nashif
authored and
Anas Nashif
committed
lib: move crc from drivers to lib/
Signed-off-by: Anas Nashif <[email protected]>
1 parent eace9ed commit 6daf046

File tree

7 files changed

+3
-5
lines changed

7 files changed

+3
-5
lines changed

drivers/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
add_subdirectory(console)
2-
add_subdirectory(crc)
32
add_subdirectory(display)
43
add_subdirectory(interrupt_controller)
54

lib/CMakeLists.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
add_subdirectory(libc)
1+
add_subdirectory(crc)
22
add_subdirectory_ifdef(CONFIG_JSON_LIBRARY json)
3+
add_subdirectory(libc)
File renamed without changes.
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
list(APPEND INCLUDE subsys)
2-
31
include($ENV{ZEPHYR_BASE}/tests/unit/unittest.cmake)
42
project(none)
53

tests/unit/drivers/crc/main.c renamed to tests/unit/lib/crc/main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#include <ztest.h>
88

9-
#include <drivers/crc/crc16_sw.c>
9+
#include <lib/crc/crc16_sw.c>
1010

1111
void test_crc16(void)
1212
{

0 commit comments

Comments
 (0)