2017年4月5日 星期三

Use Astyle in Keil uVision

1.Download Astyle
   http://astyle.sourceforge.net/
2. Open Keil -> Tool -> Customize Tool Menu config as below

My argument. Can customize as you want.
a.Astyle Current File :
--style=allman --indent-switches -n --indent=tab --indent-labels --indent-preprocessor -p -U !E
b. Astyle All File        :
 --style=allman --indent-switches -n --indent=tab --indent-labels --indent-preprocessor -p -U "$E*.c" "$E*.h"


沒有留言:

張貼留言

Linux driver: How to enable dynamic debug at booting time for built-in driver.

 Dynamic debug is useful for debug driver, and can be enable by: 1. Mount debug fs #>mount -t debugfs none /sys/kernel/debug 2. Enable dy...