* update.c (parse_op): do not assume default memtype here

* main.c: after locating the part information, determine default
memtype for all update options that didn't have a memtype
specified; this is "application" for Xmega parts, and "flash" for
everything else.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1086 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
joerg_wunsch
2012-04-25 16:32:23 +00:00
parent 80dd0439a8
commit 0dd5684041
4 changed files with 46 additions and 10 deletions

5
NEWS
View File

@@ -81,6 +81,11 @@ Current:
the appropriate section contents that matches the requested memory
region.
* Specifying a -U option without a memory type (short form of
option argument list) now defaults to "application" memory for
Xmega devices, and "flash" for everything else. This ensures
the bootloader is not touched.
* Programmers and parts lists
They are now sorted at output with '-c ?'/'-p ?'. (patch #7671: