vscode: Refactor and add missing import
Thx to bear project
This commit is contained in:
parent
5686c97114
commit
ca2332a6c9
3 changed files with 47 additions and 13 deletions
14
README.md
14
README.md
|
@ -43,4 +43,16 @@ sudo rmmod [module_name].ko
|
|||
## Usefull links
|
||||
|
||||
- https://www.kernel.org/doc/html/latest/
|
||||
- https://elixir.bootlin.com/linux/v6.13/source/
|
||||
- https://elixir.bootlin.com/linux/v6.13/source/
|
||||
|
||||
## Notes
|
||||
|
||||
1. Find required headers files
|
||||
|
||||
```
|
||||
nix shell nixpkgs#bear
|
||||
cd 01_basic_module/
|
||||
bear --append --output ../.vscode/compile_commands.json -- make -C $LINUX_MODULES_FOLDER/build M=$PWD modules
|
||||
```
|
||||
|
||||
Search -I args and -D args
|
Loading…
Add table
Add a link
Reference in a new issue