esp-idf/tools/cmake/toolchain-esp32.cmake

8 wiersze
230 B
CMake

set(CMAKE_SYSTEM_NAME Generic)
set(CMAKE_C_COMPILER xtensa-esp32-elf-gcc)
set(CMAKE_CXX_COMPILER xtensa-esp32-elf-g++)
set(CMAKE_ASM_COMPILER xtensa-esp32-elf-gcc)
list(APPEND compile_options "-mlongcalls" "-Wno-frame-address")