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:
Darian Leung 2023-04-24 15:12:47 +08:00
parent 1a5249d7e7
commit cf595293af
3 changed files with 1 additions and 3 deletions

View File

@ -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()