mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
freertos: Move port_systick to common directory
This commit moves port_systick to a directory that ia accessible to both IDF FreeRTOS and Amazon SMP FreeRTOS.
This commit is contained in:
parent
1a5249d7e7
commit
cf595293af
@ -65,17 +65,15 @@ else()
|
|||||||
"app_startup.c"
|
"app_startup.c"
|
||||||
"FreeRTOS-openocd.c"
|
"FreeRTOS-openocd.c"
|
||||||
"port_common.c"
|
"port_common.c"
|
||||||
|
"port_systick.c"
|
||||||
"${kernel_dir}/portable/${arch}/portasm.S")
|
"${kernel_dir}/portable/${arch}/portasm.S")
|
||||||
|
|
||||||
if(CONFIG_FREERTOS_SMP)
|
if(CONFIG_FREERTOS_SMP)
|
||||||
set(ldfragments linker_smp.lf linker_common.lf)
|
set(ldfragments linker_smp.lf linker_common.lf)
|
||||||
else()
|
else()
|
||||||
list(APPEND srcs
|
list(APPEND srcs
|
||||||
"${kernel_dir}/portable/port_systick.c"
|
|
||||||
"esp_additions/freertos_v8_compat.c")
|
"esp_additions/freertos_v8_compat.c")
|
||||||
|
|
||||||
list(APPEND private_include_dirs "${kernel_dir}/portable/priv_include") # For port_systick.h on normal FreeRTOS
|
|
||||||
|
|
||||||
set(ldfragments linker.lf linker_common.lf)
|
set(ldfragments linker.lf linker_common.lf)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user