bug #34768 Proposition: Change the name of the AVR32 devices

* avrdude.conf.in: renamed ucr2 to uc3a0512
 * avrpart.c: added cast to avoid compiler warning


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1061 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Rene Liebscher 2012-02-03 20:07:54 +00:00
parent 7fa0f7146a
commit 229abf6f7b
3 changed files with 19 additions and 9 deletions

View File

@ -1,3 +1,9 @@
2012-02-03 Rene Liebscher <R.Liebscher@gmx.de>
bug #34768 Proposition: Change the name of the AVR32 devices
* avrdude.conf.in: renamed ucr2 to uc3a0512
* avrpart.c: added cast to avoid compiler warning
2012-02-03 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
* fileio.c (fileio_elf): Fix a copy'n-paste-o.

View File

@ -12686,22 +12686,26 @@ part parent "x128a3"
#------------------------------------------------------------
part
id = "ucr2";
desc = "32UC3A0512";
id = "uc3a0512";
desc = "AT32UC3A0512";
signature = 0xED 0xC0 0x3F;
has_jtag = yes;
is_avr32 = yes;
is_avr32 = yes;
memory "flash"
paged = yes;
page_size = 512; # bytes
readsize = 512; # bytes
num_pages = 1024; # could be set dynamicly
size = 0x00080000; # could be set dynamicly
offset = 0x80000000;
page_size = 512; # bytes
readsize = 512; # bytes
num_pages = 1024; # could be set dynamicly
size = 0x00080000; # could be set dynamicly
offset = 0x80000000;
;
;
part parent "uc3a0512"
id = "ucr2";
desc = "deprecated, use 'uc3a0512'";
;
#------------------------------------------------------------
# ATtiny4
#------------------------------------------------------------

View File

@ -475,7 +475,7 @@ AVRPART * avr_dup_part(AVRPART * d)
void avr_free_part(AVRPART * d)
{
int i;
ldestroy_cb(d->mem,avr_free_mem);
ldestroy_cb(d->mem, (void(*)(void *))avr_free_mem);
d->mem = NULL;
for(i=0;i<sizeof(d->op)/sizeof(d->op[0]);i++)
{