structure and first prototype link successful
This commit is contained in:
14
docs/useful_commands.txt
Normal file
14
docs/useful_commands.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
lsmod | grep -i usb -- list loaded drivers with "usb" in the name
|
||||
|
||||
insmod src/driver.ko -- load driver
|
||||
|
||||
rmmod cdc_ether -- deload driver
|
||||
|
||||
dmesg | grep ch349 -- check driver output
|
||||
|
||||
makefile :
|
||||
make -- compile
|
||||
make clean -- clean
|
||||
make install -- build and load driver
|
||||
make uninstall -- deload driver
|
||||
make bear -- use bear to generate compile_commands.json to fix lsp errors
|
||||
Reference in New Issue
Block a user