]> granicus.if.org Git - esp-idf/blob - components/freertos/CMakeLists.txt
sleep: fix checking length of RTC data sections
[esp-idf] / components / freertos / CMakeLists.txt
1 set(COMPONENT_ADD_INCLUDEDIRS include)
2 set(COMPONENT_PRIV_INCLUDEDIRS include/freertos)
3 set(COMPONENT_SRCS "FreeRTOS-openocd.c"
4                    "croutine.c"
5                    "event_groups.c"
6                    "list.c"
7                    "port.c"
8                    "portasm.S"
9                    "queue.c"
10                    "tasks.c"
11                    "timers.c"
12                    "xtensa_context.S"
13                    "xtensa_init.c"
14                    "xtensa_intr.c"
15                    "xtensa_intr_asm.S"
16                    "xtensa_overlay_os_hook.c"
17                    "xtensa_vector_defaults.S"
18                    "xtensa_vectors.S")
19
20 # app_trace is required by FreeRTOS headers only when CONFIG_SYSVIEW_ENABLE=y,
21 # but requirements can't depend on config options, so always require it.
22 set(COMPONENT_REQUIRES app_trace)
23
24 register_component()
25
26 target_link_libraries(freertos "-Wl,--undefined=uxTopUsedPriority")
27
28 set_source_files_properties(
29     tasks.c
30     event_groups.c
31     timers.c
32     queue.c
33     PROPERTIES COMPILE_DEFINITIONS
34     _ESP_FREERTOS_INTERNAL
35     )