diff --git a/components/freertos/CMakeLists.txt b/components/freertos/CMakeLists.txt index 2cb5f02397..483ec4ca2c 100644 --- a/components/freertos/CMakeLists.txt +++ b/components/freertos/CMakeLists.txt @@ -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() diff --git a/components/freertos/FreeRTOS-Kernel/portable/port_systick.c b/components/freertos/port_systick.c similarity index 100% rename from components/freertos/FreeRTOS-Kernel/portable/port_systick.c rename to components/freertos/port_systick.c diff --git a/components/freertos/FreeRTOS-Kernel/portable/priv_include/port_systick.h b/components/freertos/port_systick.h similarity index 100% rename from components/freertos/FreeRTOS-Kernel/portable/priv_include/port_systick.h rename to components/freertos/port_systick.h