Merge branch 'bugfix/sysview_enable_cmake' into 'master'

cmake: add app_trace as FreeRTOS dependency

See merge request idf/esp-idf!3335
pull/2410/merge
Ivan Grokhotkov 2018-09-27 11:21:54 +08:00
commit 11b444b8f4
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -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()