From 63b137d8e2c797ee251504aa3692e4df4ffba1e9 Mon Sep 17 00:00:00 2001 From: Marc MERLIN Date: Wed, 16 Jun 2021 13:51:38 -0700 Subject: [PATCH] show which packages to install on debian and build 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. --- README | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README b/README index fd7bba1..a2f4ac0 100644 --- a/README +++ b/README @@ -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;