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.
pull/11344/head
Darian Leung 2023-04-24 15:12:47 +08:00
rodzic 1a5249d7e7
commit cf595293af
3 zmienionych plików z 1 dodań i 3 usunięć

Wyświetl plik

@ -65,17 +65,15 @@ else()
"app_startup.c"
"FreeRTOS-openocd.c"
"port_common.c"
"port_systick.c"
"${kernel_dir}/portable/${arch}/portasm.S")
if(CONFIG_FREERTOS_SMP)
set(ldfragments linker_smp.lf linker_common.lf)
else()
list(APPEND srcs
"${kernel_dir}/portable/port_systick.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)
endif()