I'm trying to interface the ADXL345 to my Raspberry Pi following the worked example I've got to the point where I need to download and install the patches. I have them downloaded however the command isn't recognised. Also as I don't have another Linux machine available I figured it would be easiest to do it all on the target (pi) itself and not on an external machine.
pi@raspberrypi ~/RaspberryPi $ git am 0001-input-adxl34x-quick-hack-for-BCM2807-which-doesn-t-s.patch fatal: Not a git repository (or any of the parent directories): .git
I understand there is a linux patch command however it asks for a original file which is being patched and I don't know which that is.
Thanks in advance, Peter