components: use new component registration api

This commit is contained in:
Renz Christian Bagaporo
2019-06-21 19:53:29 +08:00
parent e8582e9aa4
commit 9eccd7c082
99 changed files with 810 additions and 1008 deletions
+3 -7
View File
@@ -1,7 +1,3 @@
set(COMPONENT_ADD_INCLUDEDIRS "include")
set(COMPONENT_SRCS "ringbuf.c")
set(COMPONENT_ADD_LDFRAGMENTS linker.lf)
set(COMPONENT_REQUIRES)
register_component()
idf_component_register(SRCS "ringbuf.c"
INCLUDE_DIRS "include"
LDFRAGMENTS linker.lf)