[avrdude] patch avrdude to work with inverted logic on RST and SCK lines

This commit is contained in:
Bart Van Der Meerssche 2011-02-03 12:21:44 +01:00
parent a1b981e4f8
commit 8d2ccb8979
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
--- /tmp/avrdude-5.10/avrdude.conf.in 2011-01-31 22:40:13.496017390 +0100
+++ avrdude-5.10/avrdude.conf.in 2011-01-31 22:41:05.824017388 +0100
@@ -318,8 +318,8 @@
id = "gpio";
desc = "Use gpio_dev to bitbang GPIO lines";
type = gpio;
- reset = 0;
- sck = 3;
+ reset = ~0;
+ sck = ~3;
mosi = 1;
miso = 2;
;