From 8d2ccb89799877a54d5986584ff82e9545895ecd Mon Sep 17 00:00:00 2001 From: Bart Van Der Meerssche Date: Thu, 3 Feb 2011 12:21:44 +0100 Subject: [PATCH] [avrdude] patch avrdude to work with inverted logic on RST and SCK lines --- .../160-invert_logic_on_RST_and_SCK_lines.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 mote/v2/openwrt/package/avrdude/patches/160-invert_logic_on_RST_and_SCK_lines.patch diff --git a/mote/v2/openwrt/package/avrdude/patches/160-invert_logic_on_RST_and_SCK_lines.patch b/mote/v2/openwrt/package/avrdude/patches/160-invert_logic_on_RST_and_SCK_lines.patch new file mode 100644 index 0000000..e2378a0 --- /dev/null +++ b/mote/v2/openwrt/package/avrdude/patches/160-invert_logic_on_RST_and_SCK_lines.patch @@ -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; + ;