IAR: Modify the project name, Tab key settings, and iartab
IAR modify project name
Many times IAR development is based on existing engineering templates, but the name of the Engineering Template is often a headache. The following is a solution:
Copy the four files with the suffix "dep, ewd, ewp, eww" from an instance project and rename it
Your own name, such as enddev_module.dep, enddev_module.ewd, enddev_module.ewp, enddev_module.eww.
Right-click the enddev_module.eww file and modify "<path> $ WS_DIR $ \ enddev_module.ewp </path>" in the file to the name of the project you need.
So far, the project can run normally, but some outputs are still the name of the original project:
For example, link-> output can be modified.
After modification, MAKE the result again.
So far, the entire project has been modified perfectly.
In IAR, set the Tab key to switch to space.
Right-click the code snippet and choose tools> Option. Set the Tab Size to 4 and the Index Size to 4, in this way, you can press the Tab key to enter 4 spaces.
In this way, no code variation occurs in other compiler environments due to the TAB key.
Default character selected UTF-8, do not follow the system, afraid of garbled problem between different systems;
Select PC or UNIX for EOL characters. This depends on your system. When using BCompare and other file comparison tools, the PC format is differentiated by UNIX, different file formats are caused by different systems. When comparing BCompare, files are not equal, but when merge is used, it is found that the content is the same, now you can use the option to convert.