From a84cb62d357a79c1686cc1c84892739b7b6d689e Mon Sep 17 00:00:00 2001 From: Ivan Ruzavin Date: Thu, 18 Jul 2024 07:52:06 +0200 Subject: [PATCH] Fixed the startup issue for RISCV --- RISCV/gcc_clang/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RISCV/gcc_clang/CMakeLists.txt b/RISCV/gcc_clang/CMakeLists.txt index 26c9487bf..4c5efe794 100644 --- a/RISCV/gcc_clang/CMakeLists.txt +++ b/RISCV/gcc_clang/CMakeLists.txt @@ -24,7 +24,7 @@ string(TOLOWER ${MCU_NAME} MCU_NAME_LOWER) core_add_library(lib_core MikroC.Core ${local_list_include} - ${startupFile} + startup/${MCU_NAME_LOWER}.s linker_scripts/${MCU_NAME_LOWER}.ld common/rcu_typedef.h @@ -77,7 +77,7 @@ install( install( FILES - ${startupFile} + startup/${MCU_NAME_LOWER}.s DESTINATION ${CMAKE_INSTALL_PREFIX}/../FileStartup )