From 577918567747aa62f5c5dcd27efa1af9d23259ee Mon Sep 17 00:00:00 2001 From: rliebscher Date: Fri, 3 Feb 2012 20:07:54 +0000 Subject: [PATCH] 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 --- ChangeLog | 6 ++++++ avrdude.conf.in | 20 ++++++++++++-------- avrpart.c | 2 +- 3 files changed, 19 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 52f2470d..6beeae5e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-02-03 Rene Liebscher + + 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 * fileio.c (fileio_elf): Fix a copy'n-paste-o. diff --git a/avrdude.conf.in b/avrdude.conf.in index a8d7da1e..7c1ed092 100644 --- a/avrdude.conf.in +++ b/avrdude.conf.in @@ -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 #------------------------------------------------------------ diff --git a/avrpart.c b/avrpart.c index 280721be..9d0b1758 100644 --- a/avrpart.c +++ b/avrpart.c @@ -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;iop)/sizeof(d->op[0]);i++) {