Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4824

Interfacing (DSI, CSI, I2C, etc.) • Re: Avrdude missing Linuxspi and linuxgpio

$
0
0
Thanks everyone for the help.
I noticed just because linuxgpio and linuxspi are listed when running:

Code:

avrdude -c ?type 2>&1 | grep linux
doesn't mean they work. I tried a bunch of stuff and got it working and have now boiled it down to the simplest form. Learned a lot from https://learn.adafruit.com/program-an-a ... stallation

I install with:

Code:

yes Y | sudo apt-get install avrdude
Then I run:

Code:

cp /etc/avrdude.conf ~/avrdude_gpio.conf
and open the avrdude_gpio.conf file with:

Code:

mousepad ~/avrdude_gpio.conf
and find the linuxgpio section, it's a long file. I UN-comment the section so it looks like:

Code:

programmer  id    = "pi_1";  desc  = "Use the Linux sysfs interface to bitbang GPIO lines";  type  = "linuxgpio";  reset = 12;  sck   = 24;  mosi  = 23;  miso  = 18;;
Thanks again for the help

Statistics: Posted by scootergarrett — Sat Feb 10, 2024 11:54 am



Viewing all articles
Browse latest Browse all 4824

Trending Articles