This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] PROCESSOR-SDK-AM64X:用于编码标准的 AStyle 自动化

Guru**** 2481465 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1458791/processor-sdk-am64x-astyle-automation-for-coding-standards

器件型号:PROCESSOR-SDK-AM64X

工具与软件:

您好!   

这是您的代码标准。   https://software-dl.ti.com/hercules/hercules_public_sw/HerculesMCU_C_CodingGuidelines.pdf

 您是否有 python 脚本和"style"脚本 来自动修复样式和编码标准问题?

例如:我的 dummy.c  代码样式不正确。  

运行 ./dummy.c 后 astyle.sh    、将修复错误的代码样式。   或 python。  


例如:

https://github.com/igrr/astyle_py

 

https://github.com/steinwurf/astyle

谢谢。