工具/软件:
您好、
我们将使用 CCS API (software-dl.ti.com/.../ccs_project-command-line-full-api-guide.html) 、以便通过 CI/CD 流水线构建 hexfile。
我们的项目有一个调试和发布构建目标。 我们使用的脚本如下所示:
ccs-server-cli.sh -noSplash \
-workspace "$CI_PROJECT_DIR/workspace" \
-application com.ti.ccs.apps.projectImport \
-ccs.location "$CI_PROJECT_DIR" \
-ccs.copyIntoWorkspace true \
-ccs.autoBuild true \
-ccs.configurations Release
线 -ccs.configurations Release directs CCS to build the Release target.
问题在于它始终默认为 Debug 编译目标。 到目前为止、我们发现的唯一解决方案是删除 CCS 中的 Debug 内置。
We also tried to use -ccs.defaultConfiguration 版本、但结果相同。
您能否提供建议、说明如何选择一个特定目标来在多目标工程中构建。
谢谢!
此致
Steffen
