|
|
@@ -22,6 +22,11 @@ elseif("${CMAKE_ASM${ASM_DIALECT}_COMPILER_ARCHITECTURE_ID}" STREQUAL "RL78")
|
|
|
__compiler_iar_ilink(ASM)
|
|
|
set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s;asm;msa)
|
|
|
|
|
|
+elseif("${CMAKE_ASM${ASM_DIALECT}_COMPILER_ARCHITECTURE_ID}" STREQUAL "RISC-V")
|
|
|
+ set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> --silent <SOURCE> <DEFINES> <INCLUDES> <FLAGS> -o <OBJECT>")
|
|
|
+ __compiler_iar_ilink(ASM)
|
|
|
+ set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s;asm;msa)
|
|
|
+
|
|
|
elseif("${CMAKE_ASM${ASM_DIALECT}_COMPILER_ARCHITECTURE_ID}" STREQUAL "AVR")
|
|
|
set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> -S <SOURCE> <DEFINES> <INCLUDES> <FLAGS> -o <OBJECT>")
|
|
|
__compiler_iar_xlink(ASM)
|