mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-18 11:24:42 +00:00
* config_gram.y: Implement the "ocdrev" keyword
* avrpart.c: (Dito) * avrpart.h: (Dito) * lexer.l: (Dito) * avrdude.conf.in: Add "ocdrev" key/value pairs, based on the AS6 XML file information. * jtag3.c: Use the ocdrev in the parameter block. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1124 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
@@ -99,6 +99,7 @@ static int pin_name;
|
||||
%token K_MOSI
|
||||
%token K_NUM_PAGES
|
||||
%token K_NVM_BASE
|
||||
%token K_OCDREV
|
||||
%token K_OFFSET
|
||||
%token K_PAGEL
|
||||
%token K_PARALLEL
|
||||
@@ -1095,6 +1096,12 @@ part_parm :
|
||||
free_token($3);
|
||||
} |
|
||||
|
||||
K_OCDREV TKN_EQUAL TKN_NUMBER
|
||||
{
|
||||
current_part->ocdrev = $3->value.number;
|
||||
free_token($3);
|
||||
} |
|
||||
|
||||
K_SERIAL TKN_EQUAL yesno
|
||||
{
|
||||
if ($3->primary == K_YES)
|
||||
|
||||
Reference in New Issue
Block a user