chore(esp_ringbuf): Divide ringbuf as a independent component from freertos

Other OSes platform also can use ringbuf without freertos.
This commit is contained in:
dongheng
2019-04-04 15:31:34 +08:00
parent 288b1c89de
commit 0ce7b87da6
4 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,6 @@
set(COMPONENT_ADD_INCLUDEDIRS "include" "include/freertos")
set(COMPONENT_SRCS "ringbuf.c")
set(COMPONENT_REQUIRES)
register_component()

View File

@ -0,0 +1,3 @@
COMPONENT_ADD_INCLUDEDIRS += include/freertos