diff --git a/RISCV/gcc_clang/CMakeLists.txt b/RISCV/gcc_clang/CMakeLists.txt index 26c9487bf..4036da1c1 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 ) diff --git a/RISCV/gcc_clang/cmake/gigadevice/riscv.cmake b/RISCV/gcc_clang/cmake/gigadevice/riscv.cmake index 7437b394c..ae3cc1ad9 100644 --- a/RISCV/gcc_clang/cmake/gigadevice/riscv.cmake +++ b/RISCV/gcc_clang/cmake/gigadevice/riscv.cmake @@ -1,4 +1,3 @@ if(${MCU_NAME} MATCHES "(^GD32VF103[CRTV](.+)6$)") list(APPEND local_list_include system/src/${vendor}/system_gd32vf103x.c) - set(${startupFile} startup/${MCU_NAME_LOWER}.s PARENT_SCOPE) endif() diff --git a/RISCV/gcc_clang/startup/gd32vf103c4t6.s b/RISCV/gcc_clang/startup/gd32vf103c4t6.S similarity index 100% rename from RISCV/gcc_clang/startup/gd32vf103c4t6.s rename to RISCV/gcc_clang/startup/gd32vf103c4t6.S diff --git a/RISCV/gcc_clang/startup/gd32vf103c6t6.s b/RISCV/gcc_clang/startup/gd32vf103c6t6.S similarity index 100% rename from RISCV/gcc_clang/startup/gd32vf103c6t6.s rename to RISCV/gcc_clang/startup/gd32vf103c6t6.S diff --git a/RISCV/gcc_clang/startup/gd32vf103c8t6.s b/RISCV/gcc_clang/startup/gd32vf103c8t6.S similarity index 100% rename from RISCV/gcc_clang/startup/gd32vf103c8t6.s rename to RISCV/gcc_clang/startup/gd32vf103c8t6.S diff --git a/RISCV/gcc_clang/startup/gd32vf103cbt6.s b/RISCV/gcc_clang/startup/gd32vf103cbt6.S similarity index 100% rename from RISCV/gcc_clang/startup/gd32vf103cbt6.s rename to RISCV/gcc_clang/startup/gd32vf103cbt6.S diff --git a/RISCV/gcc_clang/startup/gd32vf103r4t6.s b/RISCV/gcc_clang/startup/gd32vf103r4t6.S similarity index 100% rename from RISCV/gcc_clang/startup/gd32vf103r4t6.s rename to RISCV/gcc_clang/startup/gd32vf103r4t6.S diff --git a/RISCV/gcc_clang/startup/gd32vf103r6t6.s b/RISCV/gcc_clang/startup/gd32vf103r6t6.S similarity index 100% rename from RISCV/gcc_clang/startup/gd32vf103r6t6.s rename to RISCV/gcc_clang/startup/gd32vf103r6t6.S diff --git a/RISCV/gcc_clang/startup/gd32vf103r8t6.s b/RISCV/gcc_clang/startup/gd32vf103r8t6.S similarity index 100% rename from RISCV/gcc_clang/startup/gd32vf103r8t6.s rename to RISCV/gcc_clang/startup/gd32vf103r8t6.S diff --git a/RISCV/gcc_clang/startup/gd32vf103rbt6.s b/RISCV/gcc_clang/startup/gd32vf103rbt6.S similarity index 100% rename from RISCV/gcc_clang/startup/gd32vf103rbt6.s rename to RISCV/gcc_clang/startup/gd32vf103rbt6.S diff --git a/RISCV/gcc_clang/startup/gd32vf103t4u6.s b/RISCV/gcc_clang/startup/gd32vf103t4u6.S similarity index 100% rename from RISCV/gcc_clang/startup/gd32vf103t4u6.s rename to RISCV/gcc_clang/startup/gd32vf103t4u6.S diff --git a/RISCV/gcc_clang/startup/gd32vf103t6u6.s b/RISCV/gcc_clang/startup/gd32vf103t6u6.S similarity index 100% rename from RISCV/gcc_clang/startup/gd32vf103t6u6.s rename to RISCV/gcc_clang/startup/gd32vf103t6u6.S diff --git a/RISCV/gcc_clang/startup/gd32vf103t8u6.s b/RISCV/gcc_clang/startup/gd32vf103t8u6.S similarity index 100% rename from RISCV/gcc_clang/startup/gd32vf103t8u6.s rename to RISCV/gcc_clang/startup/gd32vf103t8u6.S diff --git a/RISCV/gcc_clang/startup/gd32vf103tbu6.s b/RISCV/gcc_clang/startup/gd32vf103tbu6.S similarity index 100% rename from RISCV/gcc_clang/startup/gd32vf103tbu6.s rename to RISCV/gcc_clang/startup/gd32vf103tbu6.S diff --git a/RISCV/gcc_clang/startup/gd32vf103v8t6.s b/RISCV/gcc_clang/startup/gd32vf103v8t6.S similarity index 100% rename from RISCV/gcc_clang/startup/gd32vf103v8t6.s rename to RISCV/gcc_clang/startup/gd32vf103v8t6.S diff --git a/RISCV/gcc_clang/startup/gd32vf103vbt6.s b/RISCV/gcc_clang/startup/gd32vf103vbt6.S similarity index 100% rename from RISCV/gcc_clang/startup/gd32vf103vbt6.s rename to RISCV/gcc_clang/startup/gd32vf103vbt6.S