mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
35 lines
963 B
CMake
35 lines
963 B
CMake
set(COMPONENT_ADD_INCLUDEDIRS include)
|
|
set(COMPONENT_PRIV_INCLUDEDIRS include/freertos)
|
|
set(COMPONENT_SRCS "FreeRTOS-openocd.c"
|
|
"croutine.c"
|
|
"event_groups.c"
|
|
"list.c"
|
|
"port.c"
|
|
"portasm.S"
|
|
"queue.c"
|
|
"ringbuf.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")
|
|
set(COMPONENT_REQUIRES)
|
|
|
|
register_component()
|
|
|
|
target_link_libraries(freertos "-Wl,--undefined=uxTopUsedPriority")
|
|
|
|
set_source_files_properties(
|
|
tasks.c
|
|
event_groups.c
|
|
timers.c
|
|
queue.c
|
|
ringbuf.c
|
|
PROPERTIES COMPILE_DEFINITIONS
|
|
_ESP_FREERTOS_INTERNAL
|
|
)
|