mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-13 17:34:56 +00:00
Implement and "immediate mode" for file input - this allows one to
specify byte values on the command line instead of via a file. This can be good for specifying fuse bytes and eliminates the need to create single-byte files or using interactive terminal mode for these single-byte memories. Requested by several folks on the mailing list. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@317 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
@@ -453,6 +453,7 @@ int main(int argc, char * argv [])
|
||||
case 'i' : filefmt = FMT_IHEX; break;
|
||||
case 'r' : filefmt = FMT_RBIN; break;
|
||||
case 's' : filefmt = FMT_SREC; break;
|
||||
case 'm' : filefmt = FMT_IMM; break;
|
||||
break;
|
||||
default :
|
||||
fprintf(stderr, "%s: invalid file format \"%s\"\n\n",
|
||||
|
||||
Reference in New Issue
Block a user