Skip to content

Commit

Permalink
show which packages to install on debian and build
Browse files Browse the repository at this point in the history
No idea how to get wiringpi on debian, and didn't need it. I also didn't know how to use cmake, and didn't know how to turn off that option.
  • Loading branch information
marcmerlin authored Jun 16, 2021
1 parent 11b39b1 commit 63b137d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ To compile, you need CMAKE, the static libftdi library and usb.h.

$ mkdir build; cd build; cmake ..; make

On debian, you can use:
$ sudo apt install libftdi1 libftdi-dev; mkdir build; cd build; cmake .. -DUSE_WIRINGPI=0; make

To crosscompile for Win32 with mingw:

$ mkdir build-win32; cd build-win32;
Expand Down

0 comments on commit 63b137d

Please sign in to comment.