2018-01-11 21:49:13 -05:00
|
|
|
set(COMPONENT_ADD_INCLUDEDIRS include)
|
|
|
|
set(COMPONENT_PRIV_INCLUDEDIRS include/freertos)
|
2018-09-10 21:44:12 -04:00
|
|
|
set(COMPONENT_SRCS "FreeRTOS-openocd.c"
|
|
|
|
"croutine.c"
|
|
|
|
"event_groups.c"
|
|
|
|
"list.c"
|
|
|
|
"port.c"
|
|
|
|
"portasm.S"
|
|
|
|
"queue.c"
|
|
|
|
"tasks.c"
|
|
|
|
"timers.c"
|
|
|
|
"xtensa_context.S"
|
|
|
|
"xtensa_init.c"
|
|
|
|
"xtensa_intr.c"
|
|
|
|
"xtensa_intr_asm.S"
|
|
|
|
"xtensa_overlay_os_hook.c"
|
|
|
|
"xtensa_vector_defaults.S"
|
|
|
|
"xtensa_vectors.S")
|
2018-09-21 02:58:34 -04:00
|
|
|
|
|
|
|
# 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)
|
2018-04-17 22:57:45 -04:00
|
|
|
set(COMPONENT_ADD_LDFRAGMENTS linker.lf)
|
2018-01-11 21:49:13 -05:00
|
|
|
register_component()
|
|
|
|
|
2018-11-11 02:36:10 -05:00
|
|
|
target_link_libraries(${COMPONENT_TARGET} "-Wl,--undefined=uxTopUsedPriority")
|
2018-08-16 01:01:43 -04:00
|
|
|
|
|
|
|
set_source_files_properties(
|
|
|
|
tasks.c
|
|
|
|
event_groups.c
|
|
|
|
timers.c
|
|
|
|
queue.c
|
|
|
|
PROPERTIES COMPILE_DEFINITIONS
|
|
|
|
_ESP_FREERTOS_INTERNAL
|
|
|
|
)
|