forked from espressif/esp-idf
Merge branch 'contrib/github_pr_13926' into 'master'
feat(ulp): Generate compile_commands.json for ULP targets (GitHub PR) Closes IDFGH-12974 and IDFGH-10664 See merge request espressif/esp-idf!31461
This commit is contained in:
@@ -58,7 +58,8 @@ function(ulp_embed_binary app_name s_sources exp_dep_srcs)
|
||||
SOURCE_DIR ${idf_path}/components/ulp/cmake
|
||||
BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/${app_name}
|
||||
INSTALL_COMMAND ""
|
||||
CMAKE_ARGS -DCMAKE_GENERATOR=${CMAKE_GENERATOR}
|
||||
CMAKE_ARGS -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
|
||||
-DCMAKE_GENERATOR=${CMAKE_GENERATOR}
|
||||
-DCMAKE_TOOLCHAIN_FILE=${TOOLCHAIN_FLAG}
|
||||
-DULP_S_SOURCES=$<TARGET_PROPERTY:${app_name},ULP_SOURCES>
|
||||
-DULP_APP_NAME=${app_name}
|
||||
|
Reference in New Issue
Block a user