1set(CMAKE_SYSTEM_NAME Generic)
2
3# Zephyr already sets toolchain absolute path
4# set(CMAKE_C_COMPILER xtensa-esp32s3-elf-gcc)
5# set(CMAKE_CXX_COMPILER xtensa-esp32s3-elf-g++)
6# set(CMAKE_ASM_COMPILER xtensa-esp32s3-elf-gcc)
7
8set(CMAKE_C_FLAGS "-mlongcalls" CACHE STRING "C Compiler Base Flags")
9set(CMAKE_CXX_FLAGS "-mlongcalls" CACHE STRING "C++ Compiler Base Flags")
10set(CMAKE_EXE_LINKER_FLAGS "-nostartfiles -nodefaultlibs" CACHE STRING "Linker Base Flags")
11