If you are using Simulink Embedded Coder, you will find that multiple subfolders are generated in the project directory. These subfolders contain automatically generated code, such as .c and .h, but also contain many temporary files. When using Git for Read more about How to gitignore all files in subfolder except for specific files
Based on the References, I modified the code collected by ChunMinChang, and added the blankLineRemover function for combining multiple blank lines into single empty line. This py code is useful for processing the codes generated by Simulink Embedded Coder, since Read more about Remove C comments and combine blank lines with Python
In order to facilitate the debugging needs of C6000 DSP, I need to obtain the addresses and sizes of all variables inside the DSP. The cg_xml package from TI does not provide variable size information, so I wrote this python Read more about Extract symbols’ address and size information from (C6000 DSP) .out file
From the reference link below, I made this C operator table for quick reference. Operator Table Priority Category Operator Associativity 1 Unary Postfix ++ — Suffix/postfix increment and decrement, e.g., var++;. () Function call, e.g., func (param). [] Array subscripting, Read more about C Language Operator Precedence and Associativity
HTML created from Markdown underlines its hyperlinks. If you put a Markdown-exported HTML file into a blog post, that underline style affects the whole page. The fix is to change text-decoration: underline under a to text-decoration: none in the HTML page.
Using vim is like talking to your editor in number verb modifier object sentences. This article gives the concept of vim grammar. VIM 编程 语法