mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-17 03:38:49 +08:00
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:
6
components/esp_ringbuf/CMakeLists.txt
Normal file
6
components/esp_ringbuf/CMakeLists.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
set(COMPONENT_ADD_INCLUDEDIRS "include" "include/freertos")
|
||||||
|
set(COMPONENT_SRCS "ringbuf.c")
|
||||||
|
|
||||||
|
set(COMPONENT_REQUIRES)
|
||||||
|
|
||||||
|
register_component()
|
3
components/esp_ringbuf/component.mk
Normal file
3
components/esp_ringbuf/component.mk
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
COMPONENT_ADD_INCLUDEDIRS += include/freertos
|
||||||
|
|
Reference in New Issue
Block a user