esp-idf/tools/cmake/toolchain-esp8684.cmake
2021-12-13 19:18:47 +08:00

8 lines
209 B
CMake

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)
list(APPEND compile_options "-march=rv32imc")