mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
change(esp_ringbuf): specify build test dependency
This commit is contained in:
parent
5f9d8a77ed
commit
369e423dad
@ -1,5 +1,3 @@
|
||||
idf_build_get_property(target IDF_TARGET)
|
||||
|
||||
idf_component_register(SRCS "ringbuf.c"
|
||||
INCLUDE_DIRS "include"
|
||||
LDFRAGMENTS linker.lf)
|
||||
|
@ -4,3 +4,6 @@ components/esp_ringbuf/test_apps:
|
||||
enable:
|
||||
- if: IDF_TARGET in ["esp32", "esp32c3", "esp32s2"]
|
||||
reason: covers all target types
|
||||
depends_components:
|
||||
- freertos
|
||||
- esp_ringbuf
|
||||
|
@ -2,5 +2,5 @@ set(srcs "test_ringbuf_main.c"
|
||||
"test_ringbuf.c")
|
||||
|
||||
idf_component_register(SRCS ${srcs}
|
||||
PRIV_REQUIRES esp_ringbuf driver spi_flash unity
|
||||
PRIV_REQUIRES esp_ringbuf esp_driver_gptimer spi_flash unity
|
||||
WHOLE_ARCHIVE)
|
||||
|
Loading…
Reference in New Issue
Block a user