clang samd21 build but has issue as samd51

This commit is contained in:
hathach
2024-04-19 14:13:48 +07:00
parent 4a183d2e3f
commit d157abe77c
4 changed files with 21 additions and 15 deletions

View File

@@ -60,7 +60,6 @@ function(add_board_target BOARD_TARGET)
elseif (CMAKE_C_COMPILER_ID STREQUAL "Clang")
target_link_options(${BOARD_TARGET} PUBLIC
"LINKER:--script=${LD_FILE_Clang}"
#"LINKER:-lcrt0"
)
elseif (CMAKE_C_COMPILER_ID STREQUAL "IAR")
target_link_options(${BOARD_TARGET} PUBLIC