Teach you to use Clion to develop STM32 elegantly from scratch (3) Necessary plug-ins for Clion embedded development

 Teach you to use Clion to develop STM32 from scratch

(1) Software installation and environment configuration

(2) Transplant project files to other chips

(3) Necessary plug-ins for Clion embedded development


foreword

Some time ago, Mr. Zhihui used Clion to develop STM32 , such an elegant degree deeply attracted me! ! ! So referring to Zhihui Jun’s blog post, I also started to build the Clion configuration environment , consulted a lot of information about Clion’s development of STM32, and summarized a set of simple Clion development process of STM32 configuration environment .

This series of articles will teach you how to develop STM32 with Clion from scratch, from environment construction to code burning . I hope my series of articles can help you. Next, I will lead you to be an elegant embedded Type software development engineer! ! ! Due to my limited knowledge, if there are some mistakes, I hope everyone can help me point them out, and we will learn and progress together! ! !


In the previous two sections, I have introduced in detail how to use Clion for embedded development. "If you want to do a good job, you must first sharpen your tools ." Easy-to-use plug-ins can make your code writing smoother. Next, I will explain to my friends We recommend several useful plugins! ! !

1)Chinese(simplified)

[Sinicization plug-in] Not much introduction;


2)CodeGlance Pro

[Code Preview] After installation, there will be an extra preview box on the right side of the code area;


3)File Watchers 

[File monitoring] After setting, real-time format correction can be realized for code files;

Program: AStyle ( I'll put it in the comments later )

参数:-i $FileName$ --style=allman --indent=spaces=4 --align-pointer=type --attach-closing-while --indent-col1-comments --pad-oper --pad-comma --pad-header --add-brackets --mode=c

Output path to refresh: $FileName$

Format correction can be realized by pressing the CRTL+S shortcut key

4)Key Promoter X

[Shortcut key reminder] After installation, a pop-up window will prompt the alternative shortcut key for the current click operation; 


5)CodeGlance Pro

[Code Preview] After installation, there will be an extra preview box on the right side of the code area;


6)Monokai Pro Theme

[Theme Plugin] You can change the code style;


7)Rainbow Brackets Lite

[Rainbow Brackets] This is the free version of Rainbow Brackets, which has enough functions and can also support the paid version;


8)Serial Port  Monitor

[Serial port communication] can receive serial port data from the microcontroller;


Summarize

After installing the above plug-ins, I believe it can make your Clion embedded development more efficient. This is the end of the series of articles. If you encounter any problems when using Clion for embedded development, you can leave a message directly in the comment area , if necessary, I will publish a question-and-answer article later, to solve everyone's questions in a unified way, and to finish Sahua ✿✿ヽ(°▽°)ノ✿! !

Guess you like

Origin blog.csdn.net/qq_35953617/article/details/129409861