Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions sparkfun/avr/avrdude.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1110,6 +1110,13 @@ programmer
miso = ~8;
;

programmer
id = "linuxspi";
desc = "Use the Linux SPI device in /dev/spidev*";
type = "linuxspi";
reset = 26;
;

#
# PART DEFINITIONS
#
Expand Down
2 changes: 1 addition & 1 deletion sparkfun/avr/platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ recipe.preproc.macros="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} {
# ------------------------------
tools.avrdude.path={runtime.tools.avrdude.path}
tools.avrdude.cmd.path={path}/bin/avrdude
tools.avrdude.config.path={path}/etc/avrdude.conf
tools.avrdude.config.path={runtime.platform.path}/avrdude.conf

tools.avrdude.network_cmd={runtime.tools.arduinoOTA.path}/bin/arduinoOTA

Expand Down
5 changes: 5 additions & 0 deletions sparkfun/avr/programmers.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pi_grammer.name=PI_grammer
pi_grammer.protocol=linuxspi
pi_grammer.program.protocol=linuxspi
pi_grammer.program.tool=avrdude
pi_grammer.program.extra_params=-P /dev/spidev0.0 -b 2000000