diff options
author | Gustavo Zacarias <gustavoz@gentoo.org> | 2005-06-28 19:56:12 +0000 |
---|---|---|
committer | Gustavo Zacarias <gustavoz@gentoo.org> | 2005-06-28 19:56:12 +0000 |
commit | f4939cb14b43fb1bba332fdaf8cad9b4c821ae98 (patch) | |
tree | 877a801f4bd49b749b9c38230110dea675db4580 /dev-embedded/uisp/files | |
parent | Marked ppc stable for bug #97332. (diff) | |
download | historical-f4939cb14b43fb1bba332fdaf8cad9b4c821ae98.tar.gz historical-f4939cb14b43fb1bba332fdaf8cad9b4c821ae98.tar.bz2 historical-f4939cb14b43fb1bba332fdaf8cad9b4c821ae98.zip |
Bump with fixed and new device support
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-embedded/uisp/files')
-rw-r--r-- | dev-embedded/uisp/files/digest-uisp-20050207-r1 (renamed from dev-embedded/uisp/files/digest-uisp-20050207) | 0 | ||||
-rw-r--r-- | dev-embedded/uisp/files/mega-48-88-168.patch | 41 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-embedded/uisp/files/digest-uisp-20050207 b/dev-embedded/uisp/files/digest-uisp-20050207-r1 index 6f394cead2fe..6f394cead2fe 100644 --- a/dev-embedded/uisp/files/digest-uisp-20050207 +++ b/dev-embedded/uisp/files/digest-uisp-20050207-r1 diff --git a/dev-embedded/uisp/files/mega-48-88-168.patch b/dev-embedded/uisp/files/mega-48-88-168.patch new file mode 100644 index 000000000000..730078bb9845 --- /dev/null +++ b/dev-embedded/uisp/files/mega-48-88-168.patch @@ -0,0 +1,41 @@ +diff -Nura uisp-20050207/src/Avr.C uisp-20050207-mega-48-88-168/src/Avr.C +--- uisp-20050207/src/Avr.C 2005-02-07 19:55:08.000000000 -0300 ++++ uisp-20050207-mega-48-88-168/src/Avr.C 2005-06-28 16:37:58.000000000 -0300 +@@ -77,7 +77,7 @@ + /* no longer in production? -> use 8515, 8535 instead */ + { "AT90S4414", 0x92, 0x01, 4096, 0, 256, 4000, 4000, AVR_2313 }, + { "AT90S4434", 0x92, 0x02, 4096, 0, 256, 4000, 4000, AVR_8535 }, +- { "ATmega48", 0x92, 0x05, 4096, 0, 256, 4000, 4000, AVR_M163 }, ++ { "ATmega48", 0x92, 0x05, 4096, 32, 256, 2000, 1500, AVR_M48 }, + + { "AT90S8515", 0x93, 0x01, 8192, 0, 512, 4000, 4000, AVR_2313 }, + { "AT90S8535", 0x93, 0x03, 8192, 0, 512, 4000, 4000, AVR_8535 }, +@@ -90,7 +90,7 @@ + { "ATmega8515", 0x93, 0x06, 8192, 64, 512, 4500, 9000, AVR_M163 }, + { "ATmega8", 0x93, 0x07, 8192, 64, 512, 4500, 9000, AVR_M163 }, + { "ATmega8535", 0x93, 0x08, 8192, 64, 512, 4500, 9000, AVR_M163 }, +- { "ATmega88", 0x93, 0x0a, 8192, 64, 512, 4000, 4000, AVR_M163 }, ++ { "ATmega88", 0x93, 0x0a, 8192, 64, 512, 2000, 1500, AVR_M163 }, + + #if 0 + /* 12V parallel programming only; here just for the evidence */ +@@ -101,6 +101,7 @@ + { "ATmega163", 0x94, 0x02, 16384, 128, 512, 15000, 3800, AVR_M163 }, + { "ATmega16", 0x94, 0x03, 16384, 128, 512, 4500, 9000, AVR_M163 }, + { "ATmega162", 0x94, 0x04, 16384, 128, 512, 4500, 9000, AVR_M128 }, ++ { "ATmega168", 0x94, 0x06, 16384, 128, 512, 2000, 1500, AVR_M163 }, + { "ATmega169", 0x94, 0x05, 16384, 128, 512, 4500, 9000, AVR_M128 }, + + { "ATmega323", 0x95, 0x01, 32768, 128, 1024, 15000, 3800, AVR_M163 }, +diff -Nura uisp-20050207/src/Avr.h uisp-20050207-mega-48-88-168/src/Avr.h +--- uisp-20050207/src/Avr.h 2004-03-30 23:25:44.000000000 -0300 ++++ uisp-20050207-mega-48-88-168/src/Avr.h 2005-06-28 16:41:24.000000000 -0300 +@@ -121,6 +121,8 @@ + | AVR_FUSE_NEWWR | AVR_CAL_RD | AVR_FUSE_HIGH) + #define AVR_M128 (AVR_BYTE_POLL | AVR_PAGE_POLL | AVR_LOCK_BOOT | AVR_FUSE_RD \ + | AVR_FUSE_NEWWR | AVR_CAL_RD | AVR_FUSE_HIGH | AVR_FUSE_EXT) ++#define AVR_M48 (AVR_BYTE_POLL | AVR_PAGE_POLL | AVR_FUSE_RD | AVR_FUSE_NEWWR \ ++ | AVR_CAL_RD | AVR_FUSE_HIGH) + + /* XXX no boot lock bits, but ordinary lock bits are in bits 1 and 0. + XXX has 4 calibration bytes for 1/2/4/8 MHz, can only read one for now. */ |