File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,12 @@ elseif(CONFIG_CPU_CORTEX_M)
1414 else ()
1515 message (FATAL_ERROR "Unknown Cortex-M target" )
1616 endif ()
17+ elseif (CONFIG_RISCV)
18+ if (CONFIG_RISCV_ISA_RV32I)
19+ set (ldc_target riscv32-unknown-elf)
20+ else ()
21+ message (FATAL_ERROR "Unsupported riscv ISA" )
22+ endif ()
1723else ()
1824 message (FATAL_ERROR "ARCH ${ARCH} not supported" )
1925endif ()
Original file line number Diff line number Diff line change @@ -14,6 +14,12 @@ elseif(CONFIG_CPU_CORTEX_M)
1414 else ()
1515 message (FATAL_ERROR "Unknown Cortex-M target" )
1616 endif ()
17+ elseif (CONFIG_RISCV)
18+ if (CONFIG_RISCV_ISA_RV32I)
19+ set (ldc_target riscv32-unknown-elf)
20+ else ()
21+ message (FATAL_ERROR "Unsupported riscv ISA" )
22+ endif ()
1723else ()
1824 message (FATAL_ERROR "ARCH ${ARCH} not supported" )
1925endif ()
You can’t perform that action at this time.
0 commit comments