当前位置:网站首页>Definition of unused processing methods when compiling C51 with keil 5

Definition of unused processing methods when compiling C51 with keil 5

2022-06-21 21:28:00 If life is just like the first time 645

  • When we program , Sometimes there are things that define , However, these defined Dingxi are not used in the subsequent code , So the system will remind you when compiling , Although it can compile normally , But it's not pleasant to see , The following method can be used to compile without prompting .
     Insert picture description here
  • The treatment is as follows ,
  1. Shortcut key Alt + F7 Or mouse click project for target Go to the following page  Insert picture description here
     Insert picture description here
  2. Check the box first and then enter the following information REMOVEUNUSED , Finally, click OK Sure you can. .
  • The recompilation does not show that the prompt definition is not used . Insert picture description here
  • done ~~~
原网站

版权声明
本文为[If life is just like the first time 645]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/172/202206211939266468.html