Update build instructions
parent
f2719ce16f
commit
318af6b4f3
|
|
@ -12,7 +12,7 @@ On Ubuntu or other Debian-based systems, run `sudo apt install git cmake gcc lib
|
||||||
|
|
||||||
4. Switch into the cloned directory, `cd icsscand`
|
4. Switch into the cloned directory, `cd icsscand`
|
||||||
|
|
||||||
5. Make a build directory, `mkdir build`
|
5. Make a build directory and switch into it, `mkdir -p build && cd build`
|
||||||
|
|
||||||
6. Invoke CMake, `cmake .. -DCMAKE_BUILD_TYPE=Release`
|
6. Invoke CMake, `cmake .. -DCMAKE_BUILD_TYPE=Release`
|
||||||
|
|
||||||
|
|
@ -26,4 +26,4 @@ On Ubuntu or other Debian-based systems, run `sudo apt install git cmake gcc lib
|
||||||
|
|
||||||
11. Enable the CAN interface with `sudo ip link set up can0`, replacing `can0` with whichever interface you'd like to enable
|
11. Enable the CAN interface with `sudo ip link set up can0`, replacing `can0` with whichever interface you'd like to enable
|
||||||
|
|
||||||
12. You can now use any SocketCAN application with this interface. A good package for testing is the `can-utils` package. You can get this package with `sudo apt install can-utils`. A good testing tool which comes with this package is `candump`. Running `candump can0` will print a line for every incoming frame.
|
12. You can now use any SocketCAN application with this interface. A good package for testing is the `can-utils` package. You can get this package with `sudo apt install can-utils`. A good testing tool which comes with this package is `candump`. Running `candump can0` will print a line for every incoming frame.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue