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.
工具与软件:
我有一个系统工程包含 F28388D 所需的2个工程。 我在一个工程中创建了 SV_BTC.syscfg 文件、并将其复制到我要尝试连接到系统工程核心的工程中。 当它是系统工程的一部分时、我无法对其进行编译。 该项目在独立编译时可以正常工作。
如何阻止 syscfg 像这样执行?
**** Build of configuration CPU1_RAM for project ethernet_c28x_config **** "C:\\ti\\ccs1271\\ccs\\utils\\bin\\gmake" -k -j 4 all -O Building file: "../targetConfigs/SV_BTC.syscfg" Invoking: SysConfig "C:/ti/sysconfig_1.18.1/sysconfig_cli.bat" --script "C:/Users/beadon/Documents/GitHub/Astrap/AstrapMain/CPU1/targetConfigs/SV_BTC.syscfg" --context "system" --script "C:/Users/beadon/Documents/GitHub/Astrap/AstrapMain/Sandbox/Ethernet/ethernet_c28x_config/targetConfigs/SV_BTC.syscfg" --context "system" --script "C:/Users/beadon/Documents/GitHub/Astrap/AstrapMain/Sandbox/Ethernet/ethernet_c28x_config/targetConfigs/SV_BTC.syscfg" -o "syscfg" -s "C:/ti/c2000/C2000Ware_5_02_00_00/.metadata/sdk.json" -d "F2838x" --compiler ccs Usage: cli [-o <dir>] [-s <file>] [-u <string>] [-b <name>] [-d <name>] [-p <name>] [-r <name>] [--treatWarningsAsErrors] [--quiet -q] <script> cli --help cli --version example: cli -s meta_data/sdk.json -d MSP432P401R scripts/two_uarts.js example: -s sdk.json -d MSP432P401R -o ./display_cfg sdk/cfgs/display.syscfg Note that the all arguments other than '--help' and '--version' may also be specified via the script with an embedded @cliArgs comment directive. E.g. // @cliArgs -d MSP432P401R If an argument is embedded in a script and explicitly specified via the CLI then precedence is given to the CLI arguments. Additionally, specifying "--board" or "--device" on the CLI will override any "--board" and "--device" arguments specified in the script. targetConfigs/subdir_rules.mk:9: recipe for target 'build-1311568527' failed Every --script must be followed by a unique --context gmake: *** [build-1311568527] Error 1 gmake: Target 'all' not remade because of errors. **** Build Finished ****
大声思考这个问题--系统项目中有2个项目具有相同的 syscfg 文件、我的理解是、在每个项目级别都需要、但"系统"项目应继承(?) 两个。 当我为同时包含这两者的系统工程将工程分配到单个内核时、我可以看到这种情况。
但是、我无法解释为什么 syscfg 脚本(?) 挑选3个不同的 syscfg 文件、其中2个是相同的文件
这是上述错误消息中生成的 syscfg 输出、其中这部分已分开、并且示例项目"ethernet_c28x_config"中的"ethernet"示例被拾取了两次。
"C:/ti/sysconfig_1.18.1/sysconfig_cli.bat" --script "C:/Users/beadon/Documents/GitHub/Astrap/AstrapMain/CPU1/targetConfigs/SV_BTC.syscfg" --context "system" --script "C:/Users/beadon/Documents/GitHub/Astrap/AstrapMain/Sandbox/Ethernet/ethernet_c28x_config/targetConfigs/SV_BTC.syscfg" --context "system" --script "C:/Users/beadon/Documents/GitHub/Astrap/AstrapMain/Sandbox/Ethernet/ethernet_c28x_config/targetConfigs/SV_BTC.syscfg" -o "syscfg" -s "C:/ti/c2000/C2000Ware_5_02_00_00/.metadata/sdk.json" -d "F2838x" --compiler ccs
布莱恩特、您好!
我将从我这边尝试这份文件、并让您知道我的观察结果。
我们的系统配置工具专家目前不在办公室、请预计响应会有延迟。
谢谢
Aswin
.... Bueller?
您好!
很抱歉延迟了响应。 直到最近我才注意到这一主题。
问题在于、如果将各个 SysConfig 工程作为系统工程的一部分、则必须为每个 SysConfig 工程指定 CPU 上下文。
如需查看有关如何进行设置的示例、请查看示例系统工程:
https://dev.ti.com/tirex/explore/node?node=A__AEQzX2WIhwNBiyrPFvWcuA__C2000WARE__1kRFgrO__LATEST
导入该项目。
如果您查看 SysConfig 工程属性、会看到为每个工程指定了上下文名称("CPU1"和"CPU2")。
然后、打开 SysConfig 文件时、会将两个项目中两个 SysConfig 文件的信息组合到一个视图中、每个 CPU 带有一个选项卡。
如果要将 SysConfig 工程与系统工程关联、则需要对这些工程执行相同操作。
请注意、当两者合并时、可能会出现有关重复冲突的各种错误、您必须解决这些冲突。
谢谢
Ki
Ki、非常感谢您的答复。
我认为这可能已经解决了我的问题、但是、我能够通过重新安排项目内容来解决这个问题。
命名树结构之前有问题(有问题!)
N-0TopLevel
N-0TopLevel\ system.xml (为项目3,项目4,一个 toplevel-resident 项目配置)
N-0TopLevel\ n-1Level
N-0TopLevel \\n-1Level \ 项目1 (支持 CPU1的项目)
N-0TopLevel \\n-1Level \ Project1\Project2 (具有 CPU2功能的项目)
n-0TopLevel \\n- 1Level\sandbox (不是项目)
N-0TopLevel\\n-1Level\sandbox\Sub-Sandbox\(不是项目)
N-0TopLevel \\n\n-1Level\sandbox\Sub-Sandbox\ 项目3 (支持 CPU1的项目)
N-0TopLevel \\n\n-1Level\sandbox\Sub-Sandbox\ 项目4 ( CoreteX 功能项目)
N-0TopLevel \\n\n-1Level\sandbox\Sub-Sandbox\ Project5\system.xml
1.我有多个系统项目,因为我正在测试一个作为演示,并希望根据需要有选择地在它们之间切换。 这似乎不是一种安全的方法、因此我删除了多嵌套系统工程。 有奇怪的错误与此文件夹结构,似乎有某种依赖文件夹命名结构,因为我移动文件夹来解决它。
2.我有多个项目都有 CPU1和 Coretex 功能,顶层的 system.xml 文件选择了正确的文件,SYSCTL 似乎都包括了这两个。 (请参阅项目结构 Project1和项目3作为示例。)
3.在 允许 TI CCS 执行正常的打开步骤- File -> Open Project from File System (从文件系统打开项目)并递归打开项目时(自从在这个系统项目中的示例项目之间切换以来、我有22个项目)、似乎也会出现问题很多错误 尚未打开 、但 由 system.xml 文件引用。
我在 toplevel system.xml syscfg 中看到的错误。 我认为、由于目录嵌套了项目、syscfg 工具期望"包括在此树中的所有内容"都适用、但事实并非完全如此、它只在项目边界处、而在如上所示嵌套项目时并不清楚。