2021-09-23 14:30:50 +08:00
|
|
|
set(CMAKE_SYSTEM_NAME Generic)
|
|
|
|
|
|
|
|
set(CMAKE_C_COMPILER riscv32-esp-elf-gcc)
|
|
|
|
set(CMAKE_CXX_COMPILER riscv32-esp-elf-g++)
|
|
|
|
set(CMAKE_ASM_COMPILER riscv32-esp-elf-gcc)
|
|
|
|
|
2021-09-29 18:46:35 +08:00
|
|
|
list(APPEND compile_options "-march=rv32imc")
|