Skip to content

Instantly share code, notes, and snippets.

@Rajssss
Created February 15, 2021 05:35
Show Gist options
  • Save Rajssss/b2bd853a1c3820408f97198d320a090e to your computer and use it in GitHub Desktop.
Save Rajssss/b2bd853a1c3820408f97198d320a090e to your computer and use it in GitHub Desktop.
Using checkpatch with eclipse CDT with source files.
Run->External Tools->External Tools Configurations...
In the External Tools Configurations Window
Name: checkpatch
Location: Set your checkpatch.pl location (linux_tree/scripts/checkpatch.pl)
Arguments: -f --no-tree ${resource_loc}
Click Apply.
Now click on any source file that you want to use checkpatch for, click run->external tools->checkpatch
Enjoy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment