mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
cmake: add app_trace as FreeRTOS dependency
This is needed because FreeRTOSConfig.h includes header file provided by app_trace when CONFIG_SYSVIEW_ENABLE=y.
This commit is contained in:
parent
2e6e87816c
commit
b97e52210a
@ -16,7 +16,10 @@ set(COMPONENT_SRCS "FreeRTOS-openocd.c"
|
||||
"xtensa_overlay_os_hook.c"
|
||||
"xtensa_vector_defaults.S"
|
||||
"xtensa_vectors.S")
|
||||
set(COMPONENT_REQUIRES)
|
||||
|
||||
# app_trace is required by FreeRTOS headers only when CONFIG_SYSVIEW_ENABLE=y,
|
||||
# but requirements can't depend on config options, so always require it.
|
||||
set(COMPONENT_REQUIRES app_trace)
|
||||
|
||||
register_component()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user