fix(ulp): fixed that the .elf ext was not set by default for custom cmake proj

This commit is contained in:
Marius Vikhammer 2024-08-12 10:30:46 +08:00
parent be4278fc47
commit fe5b8bb445
2 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,6 @@ cmake_minimum_required(VERSION 3.16)
include(${IDF_PATH}/tools/cmake/idf.cmake)
project(${ULP_APP_NAME})
add_executable(${ULP_APP_NAME})
set(CMAKE_EXECUTABLE_SUFFIX ".elf")
include(IDFULPProject)

View File

@ -1,5 +1,6 @@
include(${SDKCONFIG_CMAKE})
enable_language(C ASM)
set(CMAKE_EXECUTABLE_SUFFIX ".elf")
# Check the supported assembler version
if(CONFIG_ULP_COPROC_TYPE_FSM)