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

9 wiersze
316 B
CMake
Czysty Zwykły widok Historia

2019-04-03 11:43:37 +00:00
set(CMAKE_SYSTEM_NAME Generic)
set(CMAKE_C_COMPILER xtensa-esp32s2-elf-gcc)
set(CMAKE_CXX_COMPILER xtensa-esp32s2-elf-g++)
set(CMAKE_ASM_COMPILER xtensa-esp32s2-elf-gcc)
2019-04-03 11:43:37 +00:00
set(CMAKE_C_FLAGS "-mlongcalls" CACHE STRING "C Compiler Base Flags")
set(CMAKE_CXX_FLAGS "-mlongcalls" CACHE STRING "C++ Compiler Base Flags")