Add cppcheck tools
This commit is contained in:
parent
c474df4ab6
commit
adcb9aebae
@ -38,6 +38,7 @@
|
||||
cleanbrshow = remote prune origin --dry-run
|
||||
contains = !sh -c 'git branch -a --contains $1' -
|
||||
wdiff = diff --word-diff=color --unified=1
|
||||
first = rev-list --max-parents=0 HEAD # or use log --reverse
|
||||
[branch]
|
||||
#New branch track remote
|
||||
#autoSetupMerge = always
|
||||
|
2
.vim/vimwiki/Serial and time.wiki
Normal file
2
.vim/vimwiki/Serial and time.wiki
Normal file
@ -0,0 +1,2 @@
|
||||
~/Sources/grabserial-1.9.3
|
||||
o390pix0053% ./grabserial -v -d /dev/ttyUSB1 -m "^U-Boot 2010.06-00003-g77be133-dirty" -t -e 30
|
8
.vim/vimwiki/cppcheck.wiki
Normal file
8
.vim/vimwiki/cppcheck.wiki
Normal file
@ -0,0 +1,8 @@
|
||||
== generate report ==
|
||||
find -name "*.c" -o -name "*.cpp" | grep -v lib | xargs cppcheck 2> repport
|
||||
|
||||
* Error list cppcheck --errorlist | grep -v "severity=\"style\"" | sed "s/.*msg=\"\(.*\)\".*/\1/g" | sed '/^\s*$/d' | recode xml..ascii
|
||||
|
||||
== more tools ==
|
||||
* git pre-commit https://github.com/danmar/cppcheck/blob/master/tools/git-pre-commit-cppcheck
|
||||
*
|
@ -4,6 +4,8 @@
|
||||
= Dev =
|
||||
* [[Code Checker]]
|
||||
* [[GCC]]
|
||||
* [[cppcheck]]
|
||||
* [[Serial and time]]
|
||||
= Android =
|
||||
* [[AndroidCamera]]
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
This repo contains a set of tools and configuration files used for development.
|
||||
Especially for Android Rom development
|
||||
|
||||
gdb init came from : https://github.com/cyrus-and/gdb-dashboard
|
||||
## Install tool
|
||||
First get git submodule:
|
||||
```
|
||||
@ -81,3 +82,7 @@ Vim plugins are managed by vundle. So at first lunch you have to run in vim
|
||||
* unrar
|
||||
* unzip
|
||||
* xchat
|
||||
|
||||
# dev tools
|
||||
* cppcheck
|
||||
* cppcheck git precommit https://github.com/danmar/cppcheck/blob/master/tools/git-pre-commit-cppcheck
|
||||
|
Loading…
Reference in New Issue
Block a user