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.

[参考译文] TMS320F28386D:错误"刷新工作区"将 projectspec 文件导入 CCS 时

Guru**** 2451970 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1269484/tms320f28386d-error-refreshing-workspace-when-importing-projectspec-file-into-ccs

器件型号:TMS320F28386D
主题中讨论的其他器件:C2000WARE

我在文件夹"组件"中存储了许多常见的软件组件。 在一个 projectspec 文件中、我将创建几个工程、这些工程链接到不同的组件 iin 文件夹"Components"。 我将该 projectspec 文件导入 CCS 后、它始终会报告以下错误。   如果我 在不同项目中建立到整个组件文件夹的链接、就可以了。 但是、如果我对不同项目中的不同文件夹建立多个

proectspec 文件的内容:

<projectSpec>
    <project
        name="falcon_10k_cpu1_boot"
        device="TMS320F28388D"
        outputFormat="ELF"
        launchWizard="False"
        linkerCommandFile=""
      	products="c2000ware_software_package"
        >
        <configuration name="CPU1_BOOT_RAM" compilerBuildOptions="--opt_level=1 
            -I${PROJECT_ROOT}/device
            -I${C2000WARE_DLIB_ROOT}/../examples/falcon10k-dsp/main/src/components
            -I${workspace_loc:/${ProjName}/config}
            -I${workspace_loc:/${ProjName}/application}
            -I${workspace_loc:/${ProjName}/common}
            -I${C2000WARE_DLIB_ROOT} 
            -I${C2000WARE_COMMON_INCLUDE} 
            -I${C2000WARE_HEADERS_INCLUDE} 
            -I${FlashAPI_INCLUDE_ROOT} 
            -I${C2000WARE_BOOTROM_INCLUDE} 
            -I${C2000WARE_BOOTROM_HWINC} 
            -v28 -ml -mt --cla_support=cla2 --cla_background_task=on --cla_signed_compare_workaround=on  
            --define=RAM --float_support=fpu64 --tmu_support=tmu0 --define=DEBUG  --define=CPU1 --define=BOOT --gen_func_subsections 
            --define=_DUAL_HEADERS --diag_warning=225  --diag_suppress=10063" 
            linkerBuildOptions="-I${FlashAPI_LIB_ROOT} --entry_point code_start --stack_size=0x3F8  --heap_size=0x200" 
        />
        <configuration name="CPU1_BOOT_FLASH" compilerBuildOptions="--opt_level=1 
            -I${PROJECT_ROOT}/device 
            -I${C2000WARE_DLIB_ROOT}/../examples/falcon10k-dsp/main/src/components
            -I${workspace_loc:/${ProjName}/config}
            -I${workspace_loc:/${ProjName}/application}
            -I${workspace_loc:/${ProjName}/common}
            -I${C2000WARE_DLIB_ROOT}
            -I${C2000WARE_DLIB_ROOT_LIB}  
            -I${C2000WARE_COMMON_INCLUDE} 
            -I${C2000WARE_HEADERS_INCLUDE} 
            -I${FlashAPI_INCLUDE_ROOT} 
            -I${C2000WARE_BOOTROM_INCLUDE} 
            -I${C2000WARE_BOOTROM_HWINC}  
            -v28 -ml -mt --cla_support=cla2 --cla_background_task=on --cla_signed_compare_workaround=on  
            --define=_FLASH --float_support=fpu64 --tmu_support=tmu0 --define=CPU1 --define=BOOT --gen_func_subsections 
            --define=_DUAL_HEADERS --diag_warning=225  --diag_suppress=10063" 
            linkerBuildOptions="-I${FlashAPI_LIB_ROOT} -I${C2000WARE_DLIB_ROOT_LIB} --entry_point code_start --stack_size=0x3F8  --heap_size=0x200"
            postBuildStep="${CG_TOOL_HEX} -boot -a -sci8 ${BuildArtifactFileName} -o ${BuildArtifactFileBaseName}.hex" 
        />
        <pathVariable name="C2000WARE_DLIB_ROOT" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/" scope="project" />
        <pathVariable name="C2000WARE_DLIB_ROOT_LIB" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/ccs/Release/" scope="project" />

        <pathVariable name="C2000WARE_COMMON_INCLUDE" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/include/" scope="project" />
        <pathVariable name="C2000WARE_HEADERS_INCLUDE" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/headers/include/" scope="project" />
        <pathVariable name="C2000WARE_BOOTROM_INCLUDE" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/libraries/boot_rom/f2838x/revA/rom_sources/cpu1/F2838x_ROM/bootROM/include/" scope="project" />
        <pathVariable name="C2000WARE_BOOTROM_HWINC" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/libraries/boot_rom/f2838x/revA/rom_sources/cpu1/F2838x_ROM/inc/" scope="project" />
        <pathVariable name="FlashAPI_INCLUDE_ROOT" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/libraries/flash_api/f2838x/c28x/include/FlashAPI/" scope="project" />
        <pathVariable name="FlashAPI_LIB_ROOT" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/libraries/flash_api/f2838x/c28x/lib/" scope="project" />
        
        <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/include/driverlib.h" targetDirectory="device" />
        <file action="link" path="../src/modules/cpu1_boot/cpu1_boot_main.c" targetDirectory="" />
        <file action="link" path="../src/device.c" targetDirectory="device" />
        <file action="link" path="../src/device.h" targetDirectory="device" />
        <file action="link" path="../src/common" targetDirectory="" />
        <file action="link" path="../src/modules/cpu1_boot/config" targetDirectory="" />
        <file action="link" path="../src/modules/cpu1_boot/application" targetDirectory="" />
        <file action="link" path="../src/components/EcuM" targetDirectory="components" />
        <file action="link" path="../src/components/SimpleOS" targetDirectory="components" />
        <file action="link" path="../src/components/Device/DevLed" targetDirectory="components/Device" />
        <file action="link" path="../src/components/Device/DevVariant" targetDirectory="components/Device" />
        <file action="link" path="../src/components/Driver/DrvCore" targetDirectory="components/Driver" />
        <file action="link" path="../src/components/Driver/DrvDio" targetDirectory="components/Driver" />
        <file action="link" path="../src/components/Driver/DrvDsp" targetDirectory="components/Driver" />
        <file action="link" path="../src/components/Driver/DrvGpt" targetDirectory="components/Driver" />
        <file action="link" path="../src/components/Driver/DrvPort" targetDirectory="components/Driver" />
        <file action="link" path="../src/components/Interface/IfVariant" targetDirectory="components/Interface" />
        <file action="link" path="../src/components/Service/SvVariantManager" targetDirectory="components/Service" />
        <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/targetConfigs/TMS320F28388D.ccxml" targetDirectory="targetConfigs" />
        <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/" targetDirectory="device" excludeFromBuild="True" />
        <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/source/f2838x_codestartbranch.asm" targetDirectory="device" />
        <file action="link" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/ccs/Debug/driverlib.lib" targetDirectory="" />
    
        <file action="link" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/libraries/flash_api/f2838x/c28x/lib/F2838x_C28x_FlashAPI.lib" targetDirectory="" />
        
        <file action="link" path="../cmd/2838x_RAM_CLA_lnk_cpu1_bootloader.cmd" targetDirectory="" applicableConfigurations="CPU1_BOOT_RAM" />
        <file action="link" path="../cmd/2838x_FLASH_CLA_lnk_cpu1_bootloader.cmd" targetDirectory="" applicableConfigurations="CPU1_BOOT_FLASH" />
    </project>
    
    <project
        name="falcon_10k_cpu1_app"
        device="TMS320F28388D"
        outputFormat="ELF"
        launchWizard="False"
        linkerCommandFile=""
      	products="c2000ware_software_package"
        >
        <configuration name="CPU1_APP_RAM" compilerBuildOptions="--opt_level=1
            -I${PROJECT_ROOT}/device -I${C2000WARE_DLIB_ROOT} -I${C2000WARE_COMMON_INCLUDE}
            -I${C2000WARE_DLIB_ROOT}/../examples/falcon10k-dsp/main/src/components
            -I${workspace_loc:/${ProjName}/config}
            -I${workspace_loc:/${ProjName}/application}
            -I${workspace_loc:/${ProjName}/common}            
            -I${C2000WARE_HEADERS_INCLUDE} -v28 -ml -mt --cla_support=cla2 --cla_background_task=on 
            --cla_signed_compare_workaround=on  --define=RAM --float_support=fpu64 --tmu_support=tmu0 --fp_mode=relaxed
            --define=DEBUG  --define=CPU1 --define=APP --gen_func_subsections --define=_DUAL_HEADERS --diag_warning=225  
            --diag_suppress=10063" linkerBuildOptions="--entry_point code_start --stack_size=0x3F8  --heap_size=0x200" 
        />
        <configuration name="CPU1_APP_FLASH_A" compilerBuildOptions="--opt_level=1
            -I${PROJECT_ROOT}/device -I${C2000WARE_DLIB_ROOT} -I${C2000WARE_COMMON_INCLUDE} 
            -I${C2000WARE_DLIB_ROOT}/../examples/falcon10k-dsp/main/src/components
            -I${workspace_loc:/${ProjName}/config}
            -I${workspace_loc:/${ProjName}/application}
            -I${workspace_loc:/${ProjName}/common}            
            -I${C2000WARE_HEADERS_INCLUDE}  -v28 -ml -mt --cla_support=cla2 --cla_background_task=on 
            --cla_signed_compare_workaround=on  --define=_FLASH --float_support=fpu64 --tmu_support=tmu0 --fp_mode=relaxed
            --define=CPU1 --define=APP --define=ABANK --gen_func_subsections --define=_DUAL_HEADERS --diag_warning=225  
            --diag_suppress=10063" linkerBuildOptions="--entry_point code_start --stack_size=0x3F8  --heap_size=0x200" 
            postBuildStep="${CG_TOOL_HEX} -boot -a -sci8 ${BuildArtifactFileName} -o ${BuildArtifactFileBaseName}.hex"
        />
        <configuration name="CPU1_APP_FLASH_B" compilerBuildOptions="--opt_level=1
            -I${PROJECT_ROOT}/device -I${C2000WARE_DLIB_ROOT} -I${C2000WARE_COMMON_INCLUDE} 
            -I${C2000WARE_DLIB_ROOT}/../examples/falcon10k-dsp/main/src/components
            -I${workspace_loc:/${ProjName}/config}
            -I${workspace_loc:/${ProjName}/application}
            -I${workspace_loc:/${ProjName}/common}            
            -I${C2000WARE_HEADERS_INCLUDE}  -v28 -ml -mt --cla_support=cla2 --cla_background_task=on 
            --cla_signed_compare_workaround=on  --define=_FLASH --float_support=fpu64 --tmu_support=tmu0 --fp_mode=relaxed
            --define=CPU1 --define=APP --define=BBANK --gen_func_subsections --define=_DUAL_HEADERS --diag_warning=225  
            --diag_suppress=10063" linkerBuildOptions="--entry_point code_start --stack_size=0x3F8  --heap_size=0x200" 
            postBuildStep="${CG_TOOL_HEX} -boot -a -sci8 ${BuildArtifactFileName} -o ${BuildArtifactFileBaseName}.hex"
        />
        <pathVariable name="C2000WARE_DLIB_ROOT" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/" scope="project" />
        <pathVariable name="C2000WARE_COMMON_INCLUDE" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/include/" scope="project" />
        <pathVariable name="C2000WARE_HEADERS_INCLUDE" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/headers/include/" scope="project" />

        <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/include/driverlib.h" targetDirectory="device" />
        <file action="link" path="../src/modules/cpu1_app/cpu1_app_main.c" targetDirectory="" />
        <file action="link" path="../src/device.c" targetDirectory="device" />
        <file action="link" path="../src/device.h" targetDirectory="device" />
        <file action="link" path="../src/common" targetDirectory="" />
        <file action="link" path="../src/modules/cpu1_app/config" targetDirectory="" />
        <file action="link" path="../src/modules/cpu1_app/application" targetDirectory="" />
        <file action="link" path="../src/components/" targetDirectory="" />
        <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/targetConfigs/TMS320F28388D.ccxml" targetDirectory="targetConfigs" />
        <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/" targetDirectory="device" excludeFromBuild="True" />
        <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/source/f2838x_codestartbranch.asm" targetDirectory="device" />
        <file action="link" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/ccs/Debug/driverlib.lib" targetDirectory="" />

        <file action="link" path="../cmd/2838x_RAM_CLA_lnk_cpu1_application.cmd" targetDirectory="" applicableConfigurations="CPU1_APP_RAM" />
        <file action="link" path="../cmd/2838x_FLASH_CLA_lnk_cpu1_application_bank_a.cmd" targetDirectory="" applicableConfigurations="CPU1_APP_FLASH_A" />
        <file action="link" path="../cmd/2838x_FLASH_CLA_lnk_cpu1_application_bank_b.cmd" targetDirectory="" applicableConfigurations="CPU1_APP_FLASH_B" />

    </project>
    
    <project
        name="falcon_10k_cpu2_boot"
        device="TMS320F28388D"
        outputFormat="ELF"
        launchWizard="False"
        linkerCommandFile=""
      	products="c2000ware_software_package"
        >
        <configuration name="CPU2_BOOT_RAM" compilerBuildOptions="--opt_level=1 
            -I${PROJECT_ROOT}/device 
            -I${C2000WARE_DLIB_ROOT} 
            -I${C2000WARE_COMMON_INCLUDE} 
            -I${C2000WARE_HEADERS_INCLUDE} 
            -I${FlashAPI_INCLUDE_ROOT} 
            -I${C2000WARE_BOOTROM_INCLUDE} 
            -I${C2000WARE_BOOTROM_HWINC} 
            -v28 -ml -mt --cla_support=cla2 --cla_background_task=on --cla_signed_compare_workaround=on  
            --define=RAM --float_support=fpu64 --tmu_support=tmu0 --define=DEBUG  --define=CPU2 --gen_func_subsections 
            --define=_DUAL_HEADERS --diag_warning=225  --diag_suppress=10063" 
            linkerBuildOptions="-I${FlashAPI_LIB_ROOT} --entry_point code_start --stack_size=0x3F8  --heap_size=0x200" 
        />
        <configuration name="CPU2_BOOT_FLASH" compilerBuildOptions="--opt_level=1 
            -I${PROJECT_ROOT}/device 
            -I${C2000WARE_DLIB_ROOT}
            -I${C2000WARE_DLIB_ROOT_LIB}  
            -I${C2000WARE_COMMON_INCLUDE} 
            -I${C2000WARE_HEADERS_INCLUDE} 
            -I${FlashAPI_INCLUDE_ROOT} 
            -I${C2000WARE_BOOTROM_INCLUDE} 
            -I${C2000WARE_BOOTROM_HWINC}  
            -v28 -ml -mt --cla_support=cla2 --cla_background_task=on --cla_signed_compare_workaround=on  
            --define=_FLASH --float_support=fpu64 --tmu_support=tmu0 --define=CPU2 --gen_func_subsections 
            --define=_DUAL_HEADERS --diag_warning=225  --diag_suppress=10063" 
            linkerBuildOptions="-I${FlashAPI_LIB_ROOT} -I${C2000WARE_DLIB_ROOT_LIB} --entry_point code_start --stack_size=0x3F8  --heap_size=0x200"
            postBuildStep="${CG_TOOL_HEX} -boot -a -sci8 ${BuildArtifactFileName} -o ${BuildArtifactFileBaseName}.hex" 
        />
        <pathVariable name="C2000WARE_DLIB_ROOT" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/" scope="project" />
        <pathVariable name="C2000WARE_DLIB_ROOT_LIB" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/ccs/Release/" scope="project" />

        <pathVariable name="C2000WARE_COMMON_INCLUDE" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/include/" scope="project" />
        <pathVariable name="C2000WARE_HEADERS_INCLUDE" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/headers/include/" scope="project" />
        <pathVariable name="C2000WARE_BOOTROM_INCLUDE" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/libraries/boot_rom/f2838x/revA/rom_sources/cpu1/F2838x_ROM/bootROM/include/" scope="project" />
        <pathVariable name="C2000WARE_BOOTROM_HWINC" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/libraries/boot_rom/f2838x/revA/rom_sources/cpu1/F2838x_ROM/inc/" scope="project" />
        <pathVariable name="FlashAPI_INCLUDE_ROOT" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/libraries/flash_api/f2838x/c28x/include/FlashAPI/" scope="project" />
        <pathVariable name="FlashAPI_LIB_ROOT" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/libraries/flash_api/f2838x/c28x/lib/" scope="project" />
        
        <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/include/driverlib.h" targetDirectory="device" />
        <file action="link" path="../src/modules/cpu2_boot/cpu2_boot_main.c" targetDirectory="" />
        <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/targetConfigs/TMS320F28388D.ccxml" targetDirectory="targetConfigs" />
        <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/" targetDirectory="device" excludeFromBuild="True" />
        <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/source/f2838x_codestartbranch.asm" targetDirectory="device" />
        <file action="link" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/ccs/Debug/driverlib.lib" targetDirectory="" />
    
        <file action="link" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/libraries/flash_api/f2838x/c28x/lib/F2838x_C28x_FlashAPI.lib" targetDirectory="" />
        
        <file action="link" path="../cmd/2838x_RAM_CLA_lnk_cpu2_bootloader.cmd" targetDirectory="" applicableConfigurations="CPU2_BOOT_RAM" />
        <file action="link" path="../cmd/2838x_FLASH_CLA_lnk_cpu2_bootloader.cmd" targetDirectory="" applicableConfigurations="CPU2_BOOT_FLASH" />
    </project>
    
    <project
        name="falcon_10k_cpu2_app"
        device="TMS320F28388D"
        outputFormat="ELF"
        launchWizard="False"
        linkerCommandFile=""
      	products="c2000ware_software_package"
        >
        <configuration name="CPU2_APP_RAM" compilerBuildOptions="--opt_level=1
            -I${PROJECT_ROOT}/device -I${C2000WARE_DLIB_ROOT} -I${C2000WARE_COMMON_INCLUDE} 
            -I${C2000WARE_DLIB_ROOT}/../examples/falcon10k-dsp/main/src/components
            -I${workspace_loc:/${ProjName}/config}
            -I${workspace_loc:/${ProjName}/application}
            -I${workspace_loc:/${ProjName}/common}             
            -I${C2000WARE_HEADERS_INCLUDE} -v28 -ml -mt --cla_support=cla2 --cla_background_task=on 
            --cla_signed_compare_workaround=on  --define=RAM --float_support=fpu64 --tmu_support=tmu0 --fp_mode=relaxed
            --define=DEBUG  --define=CPU2 --define=APP --gen_func_subsections --define=_DUAL_HEADERS --diag_warning=225  
            --diag_suppress=10063" linkerBuildOptions="--entry_point code_start --stack_size=0x3F8  --heap_size=0x200" 
        />
        <configuration name="CPU2_APP_FLASH_A" compilerBuildOptions="--opt_level=1
            -I${PROJECT_ROOT}/device -I${C2000WARE_DLIB_ROOT} -I${C2000WARE_COMMON_INCLUDE}
            -I${C2000WARE_DLIB_ROOT}/../examples/falcon10k-dsp/main/src/components
            -I${workspace_loc:/${ProjName}/config}
            -I${workspace_loc:/${ProjName}/application}
            -I${workspace_loc:/${ProjName}/common}             
            -I${C2000WARE_HEADERS_INCLUDE}  -v28 -ml -mt --cla_support=cla2 --cla_background_task=on 
            --cla_signed_compare_workaround=on  --define=_FLASH --float_support=fpu64 --tmu_support=tmu0 --fp_mode=relaxed
            --define=CPU2 --define=APP --define=ABANK --gen_func_subsections --define=_DUAL_HEADERS --diag_warning=225  
            --diag_suppress=10063" linkerBuildOptions="--entry_point code_start --stack_size=0x3F8  --heap_size=0x200" 
            postBuildStep="${CG_TOOL_HEX} -boot -a -sci8 ${BuildArtifactFileName} -o ${BuildArtifactFileBaseName}.hex"
        />
        <configuration name="CPU2_APP_FLASH_B" compilerBuildOptions="--opt_level=1
            -I${PROJECT_ROOT}/device -I${C2000WARE_DLIB_ROOT} -I${C2000WARE_COMMON_INCLUDE}
            -I${C2000WARE_DLIB_ROOT}/../examples/falcon10k-dsp/main/src/components
            -I${workspace_loc:/${ProjName}/config}
            -I${workspace_loc:/${ProjName}/application}
            -I${workspace_loc:/${ProjName}/common}             
            -I${C2000WARE_HEADERS_INCLUDE}  -v28 -ml -mt --cla_support=cla2 --cla_background_task=on 
            --cla_signed_compare_workaround=on  --define=_FLASH --float_support=fpu64 --tmu_support=tmu0 --fp_mode=relaxed
            --define=CPU2 --define=APP --define=BBANK --gen_func_subsections --define=_DUAL_HEADERS --diag_warning=225  
            --diag_suppress=10063" linkerBuildOptions="--entry_point code_start --stack_size=0x3F8  --heap_size=0x200" 
            postBuildStep="${CG_TOOL_HEX} -boot -a -sci8 ${BuildArtifactFileName} -o ${BuildArtifactFileBaseName}.hex"
        />
        <pathVariable name="C2000WARE_DLIB_ROOT" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/" scope="project" />
        <pathVariable name="C2000WARE_COMMON_INCLUDE" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/include/" scope="project" />
        <pathVariable name="C2000WARE_HEADERS_INCLUDE" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/headers/include/" scope="project" />

        <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/include/driverlib.h" targetDirectory="device" />
        <file action="link" path="../src/modules/cpu2_app/cpu2_app_main.c" targetDirectory="" />
        <file action="link" path="../src/device.c" targetDirectory="device" />
        <file action="link" path="../src/device.h" targetDirectory="device" />
        <file action="link" path="../src/common" targetDirectory="" />
        <file action="link" path="../src/modules/cpu2_app/config" targetDirectory="" />
        <file action="link" path="../src/modules/cpu2_app/application" targetDirectory="" />
        <file action="link" path="../src/components/EcuM" targetDirectory="components" />
        <file action="link" path="../src/components/SimpleOS" targetDirectory="components" />
        <file action="link" path="../src/components/Device/DevLed" targetDirectory="components/Device" />
        <file action="link" path="../src/components/Device/DevVariant" targetDirectory="components/Device" />
        <file action="link" path="../src/components/Driver/DrvCore" targetDirectory="components/Driver" />
        <file action="link" path="../src/components/Driver/DrvDio" targetDirectory="components/Driver" />
        <file action="link" path="../src/components/Driver/DrvGpt" targetDirectory="components/Driver" />
        <file action="link" path="../src/components/Interface/IfVariant" targetDirectory="components/Interface" />
        <file action="link" path="../src/components/Service/SvVariantManager" targetDirectory="components/Service" />     
        <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/targetConfigs/TMS320F28388D.ccxml" targetDirectory="targetConfigs" />
        <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/" targetDirectory="device" excludeFromBuild="True" />
        <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/source/f2838x_codestartbranch.asm" targetDirectory="device" />
        <file action="link" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/ccs/Debug/driverlib.lib" targetDirectory="" />

        <file action="link" path="../cmd/2838x_RAM_CLA_lnk_cpu2_application.cmd" targetDirectory="" applicableConfigurations="CPU2_APP_RAM" />
        <file action="link" path="../cmd/2838x_FLASH_CLA_lnk_cpu2_application_bank_a.cmd" targetDirectory="" applicableConfigurations="CPU2_APP_FLASH_A" />
        <file action="link" path="../cmd/2838x_FLASH_CLA_lnk_cpu2_application_bank_b.cmd" targetDirectory="" applicableConfigurations="CPU2_APP_FLASH_B" />

    </project>
</projectSpec>

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    您正在使用哪个 CCS 版本?

    Unknown 说:
    如果我 在不同的项目中创建到整个组件文件夹的链接、就可以了。 [/报价]

    您是否还能提供工作工程的 projectspec?

    谢谢

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我使用了两个版本的 CCS:11.1.0和12.4.0。 它们具有相同的行为。

    工作项目规范:

    <projectSpec>
        <project
            name="falcon_10k_cpu1_boot"
            device="TMS320F28388D"
            outputFormat="ELF"
            launchWizard="False"
            linkerCommandFile=""
          	products="c2000ware_software_package"
            >
            <configuration name="CPU1_BOOT_RAM" compilerBuildOptions="--opt_level=1 
                -I${PROJECT_ROOT}/device
                -I${workspace_loc:/${ProjName}/components}
                -I${workspace_loc:/${ProjName}/config}
                -I${workspace_loc:/${ProjName}/application}
                -I${workspace_loc:/${ProjName}/common}
                -I${C2000WARE_DLIB_ROOT} 
                -I${C2000WARE_COMMON_INCLUDE} 
                -I${C2000WARE_HEADERS_INCLUDE} 
                -I${FlashAPI_INCLUDE_ROOT} 
                -I${C2000WARE_BOOTROM_INCLUDE} 
                -I${C2000WARE_BOOTROM_HWINC} 
                -v28 -ml -mt --cla_support=cla2 --cla_background_task=on --cla_signed_compare_workaround=on  
                --define=RAM --float_support=fpu64 --tmu_support=tmu0 --define=DEBUG  --define=CPU1 --define=BOOT --gen_func_subsections 
                --define=_DUAL_HEADERS --diag_warning=225  --diag_suppress=10063" 
                linkerBuildOptions="-I${FlashAPI_LIB_ROOT} --entry_point code_start --stack_size=0x3F8  --heap_size=0x200" 
            />
            <configuration name="CPU1_BOOT_FLASH" compilerBuildOptions="--opt_level=1 
                -I${PROJECT_ROOT}/device 
                -I${workspace_loc:/${ProjName}/components}
                -I${workspace_loc:/${ProjName}/config}
                -I${workspace_loc:/${ProjName}/application}
                -I${workspace_loc:/${ProjName}/common}
                -I${C2000WARE_DLIB_ROOT}
                -I${C2000WARE_DLIB_ROOT_LIB}  
                -I${C2000WARE_COMMON_INCLUDE} 
                -I${C2000WARE_HEADERS_INCLUDE} 
                -I${FlashAPI_INCLUDE_ROOT} 
                -I${C2000WARE_BOOTROM_INCLUDE} 
                -I${C2000WARE_BOOTROM_HWINC}  
                -v28 -ml -mt --cla_support=cla2 --cla_background_task=on --cla_signed_compare_workaround=on  
                --define=_FLASH --float_support=fpu64 --tmu_support=tmu0 --define=CPU1 --define=BOOT --gen_func_subsections 
                --define=_DUAL_HEADERS --diag_warning=225  --diag_suppress=10063" 
                linkerBuildOptions="-I${FlashAPI_LIB_ROOT} -I${C2000WARE_DLIB_ROOT_LIB} --entry_point code_start --stack_size=0x3F8  --heap_size=0x200"
                postBuildStep="${CG_TOOL_HEX} -boot -a -sci8 ${BuildArtifactFileName} -o ${BuildArtifactFileBaseName}.hex" 
            />
            <pathVariable name="C2000WARE_DLIB_ROOT" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/" scope="project" />
            <pathVariable name="C2000WARE_DLIB_ROOT_LIB" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/ccs/Release/" scope="project" />
    
            <pathVariable name="C2000WARE_COMMON_INCLUDE" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/include/" scope="project" />
            <pathVariable name="C2000WARE_HEADERS_INCLUDE" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/headers/include/" scope="project" />
            <pathVariable name="C2000WARE_BOOTROM_INCLUDE" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/libraries/boot_rom/f2838x/revA/rom_sources/cpu1/F2838x_ROM/bootROM/include/" scope="project" />
            <pathVariable name="C2000WARE_BOOTROM_HWINC" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/libraries/boot_rom/f2838x/revA/rom_sources/cpu1/F2838x_ROM/inc/" scope="project" />
            <pathVariable name="FlashAPI_INCLUDE_ROOT" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/libraries/flash_api/f2838x/c28x/include/FlashAPI/" scope="project" />
            <pathVariable name="FlashAPI_LIB_ROOT" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/libraries/flash_api/f2838x/c28x/lib/" scope="project" />
            
            <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/include/driverlib.h" targetDirectory="device" />
            <file action="link" path="../src/modules/cpu1_boot/cpu1_boot_main.c" targetDirectory="" />
            <file action="link" path="../src/device.c" targetDirectory="device" />
            <file action="link" path="../src/device.h" targetDirectory="device" />
            <file action="link" path="../src/common" targetDirectory="" />
            <file action="link" path="../src/modules/cpu1_boot/config" targetDirectory="" />
            <file action="link" path="../src/modules/cpu1_boot/application" targetDirectory="" />
            <file action="link" path="../src/components/" targetDirectory="" />
            <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/targetConfigs/TMS320F28388D.ccxml" targetDirectory="targetConfigs" />
            <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/" targetDirectory="device" excludeFromBuild="True" />
            <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/source/f2838x_codestartbranch.asm" targetDirectory="device" />
            <file action="link" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/ccs/Debug/driverlib.lib" targetDirectory="" />
        
            <file action="link" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/libraries/flash_api/f2838x/c28x/lib/F2838x_C28x_FlashAPI.lib" targetDirectory="" />
            
            <file action="link" path="../cmd/2838x_RAM_CLA_lnk_cpu1_bootloader.cmd" targetDirectory="" applicableConfigurations="CPU1_BOOT_RAM" />
            <file action="link" path="../cmd/2838x_FLASH_CLA_lnk_cpu1_bootloader.cmd" targetDirectory="" applicableConfigurations="CPU1_BOOT_FLASH" />
        </project>
        
        <project
            name="falcon_10k_cpu1_app"
            device="TMS320F28388D"
            outputFormat="ELF"
            launchWizard="False"
            linkerCommandFile=""
          	products="c2000ware_software_package"
            >
            <configuration name="CPU1_APP_RAM" compilerBuildOptions="--opt_level=1
                -I${PROJECT_ROOT}/device -I${C2000WARE_DLIB_ROOT} -I${C2000WARE_COMMON_INCLUDE}
                -I${workspace_loc:/${ProjName}/components}
                -I${workspace_loc:/${ProjName}/config}
                -I${workspace_loc:/${ProjName}/application}
                -I${workspace_loc:/${ProjName}/common}            
                -I${C2000WARE_HEADERS_INCLUDE} -v28 -ml -mt --cla_support=cla2 --cla_background_task=on 
                --cla_signed_compare_workaround=on  --define=RAM --float_support=fpu64 --tmu_support=tmu0 --fp_mode=relaxed
                --define=DEBUG  --define=CPU1 --define=APP --gen_func_subsections --define=_DUAL_HEADERS --diag_warning=225  
                --diag_suppress=10063" linkerBuildOptions="--entry_point code_start --stack_size=0x3F8  --heap_size=0x200" 
            />
            <configuration name="CPU1_APP_FLASH_A" compilerBuildOptions="--opt_level=1
                -I${PROJECT_ROOT}/device -I${C2000WARE_DLIB_ROOT} -I${C2000WARE_COMMON_INCLUDE} 
                -I${workspace_loc:/${ProjName}/components}
                -I${workspace_loc:/${ProjName}/config}
                -I${workspace_loc:/${ProjName}/application}
                -I${workspace_loc:/${ProjName}/common}            
                -I${C2000WARE_HEADERS_INCLUDE}  -v28 -ml -mt --cla_support=cla2 --cla_background_task=on 
                --cla_signed_compare_workaround=on  --define=_FLASH --float_support=fpu64 --tmu_support=tmu0 --fp_mode=relaxed
                --define=CPU1 --define=APP --define=ABANK --gen_func_subsections --define=_DUAL_HEADERS --diag_warning=225  
                --diag_suppress=10063" linkerBuildOptions="--entry_point code_start --stack_size=0x3F8  --heap_size=0x200" 
                postBuildStep="${CG_TOOL_HEX} -boot -a -sci8 ${BuildArtifactFileName} -o ${BuildArtifactFileBaseName}.hex"
            />
            <configuration name="CPU1_APP_FLASH_B" compilerBuildOptions="--opt_level=1
                -I${PROJECT_ROOT}/device -I${C2000WARE_DLIB_ROOT} -I${C2000WARE_COMMON_INCLUDE} 
                -I${workspace_loc:/${ProjName}/components}
                -I${workspace_loc:/${ProjName}/config}
                -I${workspace_loc:/${ProjName}/application}
                -I${workspace_loc:/${ProjName}/common}            
                -I${C2000WARE_HEADERS_INCLUDE}  -v28 -ml -mt --cla_support=cla2 --cla_background_task=on 
                --cla_signed_compare_workaround=on  --define=_FLASH --float_support=fpu64 --tmu_support=tmu0 --fp_mode=relaxed
                --define=CPU1 --define=APP --define=BBANK --gen_func_subsections --define=_DUAL_HEADERS --diag_warning=225  
                --diag_suppress=10063" linkerBuildOptions="--entry_point code_start --stack_size=0x3F8  --heap_size=0x200" 
                postBuildStep="${CG_TOOL_HEX} -boot -a -sci8 ${BuildArtifactFileName} -o ${BuildArtifactFileBaseName}.hex"
            />
            <pathVariable name="C2000WARE_DLIB_ROOT" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/" scope="project" />
            <pathVariable name="C2000WARE_COMMON_INCLUDE" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/include/" scope="project" />
            <pathVariable name="C2000WARE_HEADERS_INCLUDE" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/headers/include/" scope="project" />
    
            <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/include/driverlib.h" targetDirectory="device" />
            <file action="link" path="../src/modules/cpu1_app/cpu1_app_main.c" targetDirectory="" />
            <file action="link" path="../src/device.c" targetDirectory="device" />
            <file action="link" path="../src/device.h" targetDirectory="device" />
            <file action="link" path="../src/common" targetDirectory="" />
            <file action="link" path="../src/modules/cpu1_app/config" targetDirectory="" />
            <file action="link" path="../src/modules/cpu1_app/application" targetDirectory="" />
            <file action="link" path="../src/components/" targetDirectory="" />
            <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/targetConfigs/TMS320F28388D.ccxml" targetDirectory="targetConfigs" />
            <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/" targetDirectory="device" excludeFromBuild="True" />
            <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/source/f2838x_codestartbranch.asm" targetDirectory="device" />
            <file action="link" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/ccs/Debug/driverlib.lib" targetDirectory="" />
    
            <file action="link" path="../cmd/2838x_RAM_CLA_lnk_cpu1_application.cmd" targetDirectory="" applicableConfigurations="CPU1_APP_RAM" />
            <file action="link" path="../cmd/2838x_FLASH_CLA_lnk_cpu1_application_bank_a.cmd" targetDirectory="" applicableConfigurations="CPU1_APP_FLASH_A" />
            <file action="link" path="../cmd/2838x_FLASH_CLA_lnk_cpu1_application_bank_b.cmd" targetDirectory="" applicableConfigurations="CPU1_APP_FLASH_B" />
    
        </project>
        
        <project
            name="falcon_10k_cpu2_boot"
            device="TMS320F28388D"
            outputFormat="ELF"
            launchWizard="False"
            linkerCommandFile=""
          	products="c2000ware_software_package"
            >
            <configuration name="CPU2_BOOT_RAM" compilerBuildOptions="--opt_level=1 
                -I${PROJECT_ROOT}/device 
                -I${C2000WARE_DLIB_ROOT} 
                -I${C2000WARE_COMMON_INCLUDE} 
                -I${C2000WARE_HEADERS_INCLUDE} 
                -I${FlashAPI_INCLUDE_ROOT} 
                -I${C2000WARE_BOOTROM_INCLUDE} 
                -I${C2000WARE_BOOTROM_HWINC} 
                -v28 -ml -mt --cla_support=cla2 --cla_background_task=on --cla_signed_compare_workaround=on  
                --define=RAM --float_support=fpu64 --tmu_support=tmu0 --define=DEBUG  --define=CPU2 --gen_func_subsections 
                --define=_DUAL_HEADERS --diag_warning=225  --diag_suppress=10063" 
                linkerBuildOptions="-I${FlashAPI_LIB_ROOT} --entry_point code_start --stack_size=0x3F8  --heap_size=0x200" 
            />
            <configuration name="CPU2_BOOT_FLASH" compilerBuildOptions="--opt_level=1 
                -I${PROJECT_ROOT}/device 
                -I${C2000WARE_DLIB_ROOT}
                -I${C2000WARE_DLIB_ROOT_LIB}  
                -I${C2000WARE_COMMON_INCLUDE} 
                -I${C2000WARE_HEADERS_INCLUDE} 
                -I${FlashAPI_INCLUDE_ROOT} 
                -I${C2000WARE_BOOTROM_INCLUDE} 
                -I${C2000WARE_BOOTROM_HWINC}  
                -v28 -ml -mt --cla_support=cla2 --cla_background_task=on --cla_signed_compare_workaround=on  
                --define=_FLASH --float_support=fpu64 --tmu_support=tmu0 --define=CPU2 --gen_func_subsections 
                --define=_DUAL_HEADERS --diag_warning=225  --diag_suppress=10063" 
                linkerBuildOptions="-I${FlashAPI_LIB_ROOT} -I${C2000WARE_DLIB_ROOT_LIB} --entry_point code_start --stack_size=0x3F8  --heap_size=0x200"
                postBuildStep="${CG_TOOL_HEX} -boot -a -sci8 ${BuildArtifactFileName} -o ${BuildArtifactFileBaseName}.hex" 
            />
            <pathVariable name="C2000WARE_DLIB_ROOT" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/" scope="project" />
            <pathVariable name="C2000WARE_DLIB_ROOT_LIB" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/ccs/Release/" scope="project" />
    
            <pathVariable name="C2000WARE_COMMON_INCLUDE" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/include/" scope="project" />
            <pathVariable name="C2000WARE_HEADERS_INCLUDE" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/headers/include/" scope="project" />
            <pathVariable name="C2000WARE_BOOTROM_INCLUDE" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/libraries/boot_rom/f2838x/revA/rom_sources/cpu1/F2838x_ROM/bootROM/include/" scope="project" />
            <pathVariable name="C2000WARE_BOOTROM_HWINC" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/libraries/boot_rom/f2838x/revA/rom_sources/cpu1/F2838x_ROM/inc/" scope="project" />
            <pathVariable name="FlashAPI_INCLUDE_ROOT" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/libraries/flash_api/f2838x/c28x/include/FlashAPI/" scope="project" />
            <pathVariable name="FlashAPI_LIB_ROOT" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/libraries/flash_api/f2838x/c28x/lib/" scope="project" />
            
            <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/include/driverlib.h" targetDirectory="device" />
            <file action="link" path="../src/modules/cpu2_boot/cpu2_boot_main.c" targetDirectory="" />
            <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/targetConfigs/TMS320F28388D.ccxml" targetDirectory="targetConfigs" />
            <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/" targetDirectory="device" excludeFromBuild="True" />
            <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/source/f2838x_codestartbranch.asm" targetDirectory="device" />
            <file action="link" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/ccs/Debug/driverlib.lib" targetDirectory="" />
        
            <file action="link" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/libraries/flash_api/f2838x/c28x/lib/F2838x_C28x_FlashAPI.lib" targetDirectory="" />
            
            <file action="link" path="../cmd/2838x_RAM_CLA_lnk_cpu2_bootloader.cmd" targetDirectory="" applicableConfigurations="CPU2_BOOT_RAM" />
            <file action="link" path="../cmd/2838x_FLASH_CLA_lnk_cpu2_bootloader.cmd" targetDirectory="" applicableConfigurations="CPU2_BOOT_FLASH" />
        </project>
        
        <project
            name="falcon_10k_cpu2_app"
            device="TMS320F28388D"
            outputFormat="ELF"
            launchWizard="False"
            linkerCommandFile=""
          	products="c2000ware_software_package"
            >
            <configuration name="CPU2_APP_RAM" compilerBuildOptions="--opt_level=1
                -I${PROJECT_ROOT}/device -I${C2000WARE_DLIB_ROOT} -I${C2000WARE_COMMON_INCLUDE} 
                -I${workspace_loc:/${ProjName}/components}
                -I${workspace_loc:/${ProjName}/config}
                -I${workspace_loc:/${ProjName}/application}
                -I${workspace_loc:/${ProjName}/common}             
                -I${C2000WARE_HEADERS_INCLUDE} -v28 -ml -mt --cla_support=cla2 --cla_background_task=on 
                --cla_signed_compare_workaround=on  --define=RAM --float_support=fpu64 --tmu_support=tmu0 --fp_mode=relaxed
                --define=DEBUG  --define=CPU2 --define=APP --gen_func_subsections --define=_DUAL_HEADERS --diag_warning=225  
                --diag_suppress=10063" linkerBuildOptions="--entry_point code_start --stack_size=0x3F8  --heap_size=0x200" 
            />
            <configuration name="CPU2_APP_FLASH_A" compilerBuildOptions="--opt_level=1
                -I${PROJECT_ROOT}/device -I${C2000WARE_DLIB_ROOT} -I${C2000WARE_COMMON_INCLUDE}
                -I${workspace_loc:/${ProjName}/components}
                -I${workspace_loc:/${ProjName}/config}
                -I${workspace_loc:/${ProjName}/application}
                -I${workspace_loc:/${ProjName}/common}             
                -I${C2000WARE_HEADERS_INCLUDE}  -v28 -ml -mt --cla_support=cla2 --cla_background_task=on 
                --cla_signed_compare_workaround=on  --define=_FLASH --float_support=fpu64 --tmu_support=tmu0 --fp_mode=relaxed
                --define=CPU2 --define=APP --define=ABANK --gen_func_subsections --define=_DUAL_HEADERS --diag_warning=225  
                --diag_suppress=10063" linkerBuildOptions="--entry_point code_start --stack_size=0x3F8  --heap_size=0x200" 
                postBuildStep="${CG_TOOL_HEX} -boot -a -sci8 ${BuildArtifactFileName} -o ${BuildArtifactFileBaseName}.hex"
            />
            <configuration name="CPU2_APP_FLASH_B" compilerBuildOptions="--opt_level=1
                -I${PROJECT_ROOT}/device -I${C2000WARE_DLIB_ROOT} -I${C2000WARE_COMMON_INCLUDE}
                -I${workspace_loc:/${ProjName}/components}
                -I${workspace_loc:/${ProjName}/config}
                -I${workspace_loc:/${ProjName}/application}
                -I${workspace_loc:/${ProjName}/common}             
                -I${C2000WARE_HEADERS_INCLUDE}  -v28 -ml -mt --cla_support=cla2 --cla_background_task=on 
                --cla_signed_compare_workaround=on  --define=_FLASH --float_support=fpu64 --tmu_support=tmu0 --fp_mode=relaxed
                --define=CPU2 --define=APP --define=BBANK --gen_func_subsections --define=_DUAL_HEADERS --diag_warning=225  
                --diag_suppress=10063" linkerBuildOptions="--entry_point code_start --stack_size=0x3F8  --heap_size=0x200" 
                postBuildStep="${CG_TOOL_HEX} -boot -a -sci8 ${BuildArtifactFileName} -o ${BuildArtifactFileBaseName}.hex"
            />
            <pathVariable name="C2000WARE_DLIB_ROOT" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/" scope="project" />
            <pathVariable name="C2000WARE_COMMON_INCLUDE" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/include/" scope="project" />
            <pathVariable name="C2000WARE_HEADERS_INCLUDE" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/headers/include/" scope="project" />
    
            <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/include/driverlib.h" targetDirectory="device" />
            <file action="link" path="../src/modules/cpu2_app/cpu2_app_main.c" targetDirectory="" />
            <file action="link" path="../src/device.c" targetDirectory="device" />
            <file action="link" path="../src/device.h" targetDirectory="device" />
            <file action="link" path="../src/common" targetDirectory="" />
            <file action="link" path="../src/modules/cpu2_app/config" targetDirectory="" />
            <file action="link" path="../src/modules/cpu2_app/application" targetDirectory="" />
            <file action="link" path="../src/components/" targetDirectory="" />        
            <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/targetConfigs/TMS320F28388D.ccxml" targetDirectory="targetConfigs" />
            <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/" targetDirectory="device" excludeFromBuild="True" />
            <file action="copy" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/device_support/f2838x/common/source/f2838x_codestartbranch.asm" targetDirectory="device" />
            <file action="link" path="${COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR}/driverlib/f2838x/driverlib/ccs/Debug/driverlib.lib" targetDirectory="" />
    
            <file action="link" path="../cmd/2838x_RAM_CLA_lnk_cpu2_application.cmd" targetDirectory="" applicableConfigurations="CPU2_APP_RAM" />
            <file action="link" path="../cmd/2838x_FLASH_CLA_lnk_cpu2_application_bank_a.cmd" targetDirectory="" applicableConfigurations="CPU2_APP_FLASH_A" />
            <file action="link" path="../cmd/2838x_FLASH_CLA_lnk_cpu2_application_bank_b.cmd" targetDirectory="" applicableConfigurations="CPU2_APP_FLASH_B" />
    
        </project>
    </projectSpec>
    

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    谢谢。 有趣的是,两个项目规格似乎很好地导入我的12.4环境,但然后我又错过了许多实际的来源。

    该错误消息对我来说有点令人困惑。 我需要跟进工程部门以了解更多详细信息

    谢谢

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    是否有更新?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    工程部门仍在调查中...

    ,但如果我创建指向不同项目中不同文件夹的多个链接

    初始分析是、他们看到两个不同的目录链接到同一个目标"组件"文件夹、并且不确定是否受支持(他们在确认)

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、jinzj39:  

    您可以附上工作区日志吗?  它是  /.metadata/.log 文件中。

    谢谢!

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Baltasar:

    附加了.log 文件。

    我还附加了一个虚拟软件包、该软件包可以在我这边重现此问题、请在您身边尝试。 请将文件夹置于"driverlib\f2838x\examples"下。

    期待您的更新。 提前感谢!

    e2e.ti.com/.../2086.log.zipe2e.ti.com/.../6765.test.zip

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、jinzj39:

    感谢您的更新。  我现在能够在本地重现此问题。  这似乎是 CCS 所基于的 Eclipse 开源平台中的一个错误。  我打开了一个服务工单、并将尝试在未来的 CCS 版本中解决该问题。

    仅供参考、尽管出现了这些错误弹出窗口、但项目已完全创建。  不过、某些链接文件夹最初可能不会显示在 Project Explorer 视图中、但这只是 UI 错误。  我发现的唯一权变措施是关闭然后重新打开该项目。  我希望在我们找到适当解决此问题的方法之前、这是可以接受的权变措施。

    谢谢。

    -巴尔塔萨

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Baltasar:

    感谢您的确认!   

    我希望这一问题很快能得到解决。 在此之前、我必须接受此权变措施。

    我应如何处理该 TT? 如果我关闭它、如何跟踪进度?  您的内部票证是否可共享?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、jinzj39:

    以下是跟踪此问题的 TT - https://sir.ext.ti.com/jira/browse/EXT_EP-11466

    谢谢。

    -巴尔塔萨