This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC1310: 如何正确对工程进行版本管理?

Part Number: CC1310
Other Parts Discussed in Thread: CC1352R

基于empty demo进行开发,在workplace会生成2个文件夹:

empty_CC1310_LAUNCHXL_tirtos_ccs

tirtos_builds_CC1310_LAUNCHXL_release_ccs

我现在使用git进行版本管理,即在empty_xx目录下进行一系列git操作,对app代码进行维护。

当我尝试删除tirtos_builds_xx目录时,发现empty_xx工程无法正常编译,并提示:

Description Resource Path Location Type
Cannot build project. Referenced RTSC Configuration project 'tirtos_builds_CC1310_LAUNCHXL_release_ccs' contains build-errors. empty_CC1310_LAUNCHXL_tirtos_ccs empty_CC1310_LAUNCHXL_tirtos_ccs Problems

说明tirtos_builds_xx目录和empty_xx是存在关联的,而直接对tirtos_builds_xx和empty_xx的父目录workplace进行git管理肯定是不现实的,因为workplace中可能还会存在其他工程。

想请教的问题是:

1.tirtos_builds_xx工程有何作用?不同Demo对应的tirtos_builds_xx的内容是否相同?

2.empty_xx能否摆脱对tirtos_builds_xx目录的依赖?比如把tirtos_builds_xx中的某个依赖文件拷贝到empty_xx中进行管理?