mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-16 18:44:17 +00:00
Add avrdude.conf syntax ((pp|hvsp)_controlstack|(eeprom|flash)_instr) = NULL;
This commit is contained in:
@@ -800,6 +800,13 @@ part_parm :
|
||||
}
|
||||
} |
|
||||
|
||||
K_PP_CONTROLSTACK TKN_EQUAL K_NULL {
|
||||
{
|
||||
current_part->ctl_stack_type = CTL_STACK_NONE;
|
||||
memset(current_part->controlstack, 0, CTL_STACK_SIZE);
|
||||
}
|
||||
} |
|
||||
|
||||
K_HVSP_CONTROLSTACK TKN_EQUAL num_list {
|
||||
{
|
||||
TOKEN * t;
|
||||
@@ -831,6 +838,13 @@ part_parm :
|
||||
}
|
||||
} |
|
||||
|
||||
K_HVSP_CONTROLSTACK TKN_EQUAL K_NULL {
|
||||
{
|
||||
current_part->ctl_stack_type = CTL_STACK_NONE;
|
||||
memset(current_part->controlstack, 0, CTL_STACK_SIZE);
|
||||
}
|
||||
} |
|
||||
|
||||
K_FLASH_INSTR TKN_EQUAL num_list {
|
||||
{
|
||||
TOKEN * t;
|
||||
@@ -861,6 +875,12 @@ part_parm :
|
||||
}
|
||||
} |
|
||||
|
||||
K_FLASH_INSTR TKN_EQUAL K_NULL {
|
||||
{
|
||||
memset(current_part->flash_instr, 0, FLASH_INSTR_SIZE);
|
||||
}
|
||||
} |
|
||||
|
||||
K_EEPROM_INSTR TKN_EQUAL num_list {
|
||||
{
|
||||
TOKEN * t;
|
||||
@@ -891,6 +911,12 @@ part_parm :
|
||||
}
|
||||
} |
|
||||
|
||||
K_EEPROM_INSTR TKN_EQUAL K_NULL {
|
||||
{
|
||||
memset(current_part->eeprom_instr, 0, EEPROM_INSTR_SIZE);
|
||||
}
|
||||
} |
|
||||
|
||||
K_CHIP_ERASE_DELAY TKN_EQUAL TKN_NUMBER
|
||||
{
|
||||
current_part->chip_erase_delay = $3->value.number;
|
||||
|
||||
Reference in New Issue
Block a user