微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 嵌入式设计讨论 > MCU和单片机设计讨论 > cubesuite+ 使用小技巧

cubesuite+ 使用小技巧

时间:10-02 整理:3721RD 点击:

如何在cubesuite+中使用中文注释和中文字符串?
打开CubeSuite+,Tool-Option-Text Editor,进行以下设置:
General处
–勾除【Enable file encodingauto detection】
–【Default fileencoding】选择“简体中文(GB2312)
打开Build Tool (如CA78K0R)--Compile Option---Extension处
–【Kanji character codeof source】选择“EUC-JP(-ze)”
经过以上的设置,尤其是第1页的设置,CubeSuite+基本可以支持中文注释

如何添加第三方编辑器Uedit32

打开CubeSuite+,Tool – Option -- External Text Editor,进行以下设置:
-勾选【Use external texteditor】

-在【External text editor path】栏点击【Browse…】选择Uedit32.exe应用文件

在【Startup options】栏中填【%FilePath%】

在【Startup options(with line number)】栏中填【%FilePath%/%Line%】

如何避免用Code Generator 重新生成代码后,会覆盖自己写的代码.
/* Start user code for adding. Do not editcomment generated here */
// 这里放用户自己的代码
/* End user code. Do not edit comment generatedhere */
这两句之间且注释要成对出现,
如果有个落单的 //{ 注释
再重新生成代码的话,用户代码会被删除


谢谢分享,大赞!

谢谢风向,ixeie

谢谢小编咯,,,,

小编可以分享一下 cubesuite+安装软件吗?

学习一下,感谢分享。

学习一下,感谢分享。

谢谢

学习               

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top