1
完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
亲爱的大家,
在SPC5 Studio插件更新后,SPC5 Studio 5.x似乎无法更新现有项目中的静态源文件。 当第一次生成项目配置时,IDE将静态源文件从组件lib文件夹复制到工作空间中(例如,com.st.spc5.components.irq.spc5xxx / component / lib / src / irq.c被复制一次到workspace / components / spc5xxx_irq_component_rla / lib / src / irq.c中的工作空间/测试应用程序。 在最近的SPC5 Studio更新后,更新的eclipse插件中的静态源文件发生了变化,并且在代码生成时,这些文件没有再次复制到项目文件夹中。 auto generated clean命令不会从项目的工作区文件夹中删除组件文件夹。这导致lib文件和配置文件之间的不一致。 如果在项目中手动删除components文件夹,则SPC5 Patcher工具会在后台抛出异常,说明现在无法修补现有的已删除文件... SPC5构建器尝试对文件系统on-change事件进行自动更新。 重新生成项目后,静态源文件最终会按预期更新,但patch.xml现在引用了无效的修补程序条目,并且修补了SPC5 Studio和用户修改的源文件的修补失败。 有关如何在SPC5 Studio中处理组件更新的指南吗?截至目前,似乎在IDE基础结构中并未真正考虑此用例。有没有更好的方法来同步项目中的组件的静态lib文件,而不是简单地删除整个文件夹,并希望最好? 最好的祝福, 塔马斯 _ #组件更新 以上来自于谷歌翻译 以下为原文 Dear All, it seems that SPC5 Studio 5.x fails to update static source files in existing projects after SPC5 Studio plug-in updates. When the project configuration is generated for the first time the IDE copies static source files from component lib folders into the workspace (e.g. com.st.spc5.components.irq.spc5xxx/component/lib/src/irq.c is copied once to workspace/Test Application for Discovery/components/spc5xxx_irq_component_rla/lib/src/irq.c). After a recent SPC5 Studio update the static source files changed in the updated eclipse plug-ins and on code generation those files were not copied again into the project folder. The auto generated clean command does not remove the components folder from within the project's workspace folder either. This resulted in an inconsistency between lib files and configuration files. If the components folder is deleted within the project by hand the SPC5 Patcher tool throws an exception in the background saying failed to patch now non-existing deleted files... the SPC5 builder tried an auto update on file system on-change event. After regenerating the project the static source files are updated finally as expected, but the patch.xml references now invalid patch entries and patching fails for the source files that were modified by the SPC5 Studio as well as the users. Is there any guideline on how to handle component updates within SPC5 Studio? As of now it seems that this use case is not really considered in the IDE infrastructure. Is there a better way to synchronize components' static lib files within projects compared to simply deleting the entire folder and hope for the best? Best regards, Tamas _ #component-update |
|
相关推荐
2个回答
|
|
你好Tamas,
clean命令应该启动make clean。 通常,在SPC5Studio更新后,补丁模型应尝试在组件文件中应用补丁(patch.xml)。 如果KO,补丁模型无法应用补丁。您应该手动应用修补程序。 1)如果要保存修补程序更新,请保留文件patch.xml。 2)生成 3)在enw文件中手动应用补丁。 你能发送你的日志c: SPC5Studio workspace .metadata .log? 最好的祝福 二万 以上来自于谷歌翻译 以下为原文 Hello Tamas , The clean command should launch make clean. Normally , after an SPC5Studio update , the patch model should try to apply the patch (patch.xml) in the components file. If KO, the patch model can not apply the patch. You should apply the patch manually. 1) if you want to save your patch update, keep the file patch.xml. 2) generate 3) apply manually your patch in the enw file. could you send your logs c:SPC5Studioworkspace.metadata.log ? Best regards Erwan |
|
|
|
亲爱的二万,
对于迟到的回复感到抱歉,感谢您的宝贵意见。与此同时,我在Project Explorer视图中找到了Clean ...命令按钮,该按钮也可以从树视图的上下文菜单的第二级访问。这个Clean ...按钮用所有旧的静态源文件清除生成的components文件夹。 我在项目配置设置中禁用了修补模式,因为我没有向自动生成的文件添加自定义更改。 谢谢和最好的问候, 塔马斯 _ 以上来自于谷歌翻译 以下为原文 Dear Erwan, sorry for the late response and thanks for your valuable inputs. In the mean time I found the Clean... command button in the Project Explorer view which can be accessed from the second level of the tree view's context menu as well. This Clean... button wipes out the generated components folder with all the old static source files. I disabled the patching mode in my project configuration settings as any ways I did not add custom changes to auto generated files. Thanks and best regards, Tamas _ |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2730 浏览 1 评论
3239 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1808 浏览 1 评论
3647 浏览 6 评论
6035 浏览 21 评论
1338浏览 4评论
198浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
350浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
442浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
273浏览 2评论
小黑屋| 手机版| Archiver| 德赢Vwin官网 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-23 00:46 , Processed in 1.186583 second(s), Total 50, Slave 44 queries .
Powered by 德赢Vwin官网 网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号