mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
9 lines
316 B
CMake
9 lines
316 B
CMake
|
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)
|
||
|
|
||
|
set(CMAKE_C_FLAGS "-mlongcalls" CACHE STRING "C Compiler Base Flags")
|
||
|
set(CMAKE_CXX_FLAGS "-mlongcalls" CACHE STRING "C++ Compiler Base Flags")
|