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.
I have modified znp_CC1352P_2_LAUNCHXL_tirtos_ticlang.projectspec and make the ".c" files and ".h" files in my project are linked to SDK folder. But in my project folder there are many empty folder are created. Can I creat these folder as virtual folder that only appear in workspace of my project?
<file path="${COM_TI_SIMPLELINK_CC13XX_CC26XX_SDK_INSTALL_DIR}/source/ti/zstack/stack/bdb/bdb_touchlink_initiator.c" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="Stack/bdb"> </file> <file path="${COM_TI_SIMPLELINK_CC13XX_CC26XX_SDK_INSTALL_DIR}/source/ti/zstack/stack/bdb/bdb_touchlink_initiator.h" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="Stack/bdb"> </file> <file path="${COM_TI_SIMPLELINK_CC13XX_CC26XX_SDK_INSTALL_DIR}/source/ti/zstack/stack/bdb/bdb_touchlink_target.c" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="Stack/bdb"> </file>
Hello,
set the "createVirtualFolders" attribute to "true"
For example (make sure you horizontal scroll to the end):
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/zstack/stack/bdb/bdb_touchlink_initiator.c" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="Stack_virtual/bdb_virtual" createVirtualFolders="true">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/zstack/stack/bdb/bdb_touchlink_initiator.h" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="Stack_virtual/bdb_virtual" createVirtualFolders="true">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/zstack/stack/bdb/bdb_touchlink_target.c" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="Stack_virtual/bdb_virtual" createVirtualFolders="true">
</file>
This created new virtual folders "Stack_virtual" and "bdb_virtual" and linked the desired source files inside the folder.
(Note that I am likely using a different version of the SDK since the name of directory variable being used is slightly different for me (COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR) )
Thanks
ki