From 54e38ad77e9321e781ab021a37544ab0715b30f5 Mon Sep 17 00:00:00 2001 From: Bart Van Der Meerssche Date: Fri, 5 Nov 2010 21:23:56 +0100 Subject: [PATCH] openwrt: adapt the avrdude rst/sck/mosi/miso gpio pin mapping for Dragino --- mote/v2/openwrt/package/avrdude/patches/110-gpio_dev.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mote/v2/openwrt/package/avrdude/patches/110-gpio_dev.patch b/mote/v2/openwrt/package/avrdude/patches/110-gpio_dev.patch index a484bce..c74568b 100644 --- a/mote/v2/openwrt/package/avrdude/patches/110-gpio_dev.patch +++ b/mote/v2/openwrt/package/avrdude/patches/110-gpio_dev.patch @@ -9,10 +9,10 @@ diff -urNad /tmp/avrdude-5.10/avrdude.conf.in avrdude-5.10/avrdude.conf.in + id = "gpio"; + desc = "Use gpio_dev to bitbang GPIO lines"; + type = gpio; -+ reset = 6; ++ reset = 0; + sck = 3; -+ mosi = 2; -+ miso = 1; ++ mosi = 1; ++ miso = 2; +; + # Same as above, different name