Line up assignment operators in avrdude.conf.in

This commit is contained in:
Stefan Rueger 2022-08-30 01:10:45 +01:00
parent 0ccdd24d7e
commit cddf2943eb
No known key found for this signature in database
GPG Key ID: B0B4F1FD86B1EC55
2 changed files with 8394 additions and 8430 deletions

View File

@ -419,7 +419,6 @@ programmer
programmer parent "stk200"
id = "pony-stk200";
desc = "Pony Prog STK200";
type = "par";
pgmled = 8;
;
@ -444,7 +443,6 @@ programmer
programmer parent "dt006"
id = "bascom";
desc = "Bascom SAMPLE programming cable";
type = "par";
;
#------------------------------------------------------------
@ -616,7 +614,6 @@ programmer
programmer parent "pony-stk200"
id = "frank-stk200";
desc = "Frank STK200";
type = "par";
vcc = 5;
buff = ; # delete buff pin assignment
;
@ -640,21 +637,24 @@ programmer
@HAVE_PARPORT_END@
@HAVE_LINUXGPIO_BEGIN@
#------------------------------------------------------------
# linuxgpio
#------------------------------------------------------------
# This programmer bitbangs GPIO lines using the Linux sysfs GPIO interface
#
#To enable it set the configuration below to match the GPIO lines connected to the
#relevant ISP header pins and uncomment the entry definition. In case you don't
#have the required permissions to edit this system wide config file put the
#entry in a separate <your name>.conf file and use it with -C+<your name>.conf
#on the command line.
# To enable it set the configuration below to match the GPIO lines connected
# to the relevant ISP header pins and uncomment the entry definition. In case
# you don't have the required permissions to edit this system wide config
# file put the entry in a separate <your name>.conf file and use it with
# -C+<your name>.conf on the command line.
#
#To check if your avrdude build has support for the linuxgpio programmer compiled in,
#use -c?type on the command line and look for linuxgpio in the list. If it's not available
#you need pass the --enable-linuxgpio=yes option to configure and recompile avrdude.
# To check if your avrdude build has support for the linuxgpio programmer
# compiled in, use -c?type on the command line and look for linuxgpio in the
# list. If it's not available you need pass the --enable-linuxgpio=yes option
# to configure and recompile avrdude.
#
#
# #------------------------------------------------------------
# # linuxgpio
# #------------------------------------------------------------
#
# programmer
# id = "linuxgpio";
@ -814,7 +814,6 @@ programmer
programmer parent "avrftdi"
id = "4232h";
desc = "FT4232H based generic programmer";
type = "avrftdi";
usbpid = 0x6011;
;
@ -839,8 +838,7 @@ programmer
miso = 2; # TDO 13 orange
# VTG VREF 1 brown with red tip
# GND GND 20 black
# The colors are on the 20 pin breakout cable
# from Amontec
# The colors are on the 20 pin breakout cable from Amontec
;
#------------------------------------------------------------
@ -877,7 +875,6 @@ programmer
programmer parent "ft232h"
id = "um232h";
desc = "UM232H module from FTDI";
type = "avrftdi";
usbpid = 0x6014;
;
@ -896,7 +893,6 @@ programmer parent "ft232h"
programmer parent "ft232h"
id = "c232hm";
desc = "C232HM cable from FTDI";
type = "avrftdi";
usbpid = 0x6014;
;
@ -921,7 +917,6 @@ programmer parent "ft232h"
programmer parent "jtagkey"
id = "o-link";
desc = "O-Link, OpenJTAG from www.100ask.net";
type = "avrftdi";
usbvid = 0x1457;
usbpid = 0x5118;
usbvendor = "www.100ask.net";
@ -1082,7 +1077,6 @@ programmer
programmer parent "avrispmkII"
id = "avrisp2";
type = "stk500v2";
;
#------------------------------------------------------------
@ -1111,7 +1105,7 @@ programmer
sck = 3;
mosi = 4;
miso = 2;
#vcc = 7; This is internally set independent of this setting.
# vcc = 7; # Internally set independent of this setting
;
#------------------------------------------------------------
@ -1319,7 +1313,6 @@ programmer
programmer parent "arduino-ft232r"
id = "diecimila";
desc = "alias for arduino-ft232r";
type = "ftdi_syncbb";
;
#------------------------------------------------------------
@ -1427,8 +1420,6 @@ programmer
connection_type = usb;
usbvid = 0x16c0; # VOTI
usbpid = 0x05dc; # Obdev's free shared PID
#usbvendor = "";
#usbproduct = "";
;
#------------------------------------------------------------
@ -1584,7 +1575,6 @@ programmer
programmer parent "mkbutterfly"
id = "butterfly_mk";
type = "butterfly_mk";
;
#------------------------------------------------------------
@ -1607,7 +1597,6 @@ programmer
programmer parent "jtagmkI"
id = "jtag1";
type = "jtagmki";
;
#------------------------------------------------------------
@ -1618,7 +1607,6 @@ programmer parent "jtagmkI"
programmer parent "jtag1"
id = "jtag1slow";
type = "jtagmki";
baudrate = 19200;
;
@ -1647,7 +1635,6 @@ programmer
programmer parent "jtagmkII"
id = "jtag2slow";
type = "jtagmkii";
;
#------------------------------------------------------------
@ -1658,7 +1645,6 @@ programmer parent "jtagmkII"
programmer parent "jtag2slow"
id = "jtag2fast";
type = "jtagmkii";
baudrate = 115200;
;
@ -1670,7 +1656,6 @@ programmer parent "jtag2slow"
programmer parent "jtag2fast"
id = "jtag2";
type = "jtagmkii";
;
#------------------------------------------------------------
@ -2248,7 +2233,6 @@ programmer
programmer parent "ponyser"
id = "siprog";
desc = "Lancos SI-Prog <http://www.lancos.com/siprogsch.html>";
type = "serbb";
;
#------------------------------------------------------------
@ -2288,7 +2272,7 @@ programmer
;
#------------------------------------------------------------
# c2n232i
# C2N232i
#------------------------------------------------------------
# C2N232i (jumper configuration "auto")
@ -2321,6 +2305,7 @@ programmer
hvupdi_support = 1;
;
#
# PART DEFINITIONS
#
@ -6515,7 +6500,7 @@ part
chip_erase_delay = 45000;
pagel = 0xd7;
bs2 = 0xc2;
# avr910_devcode = 0x;
# avr910_devcode = 0x??;
signature = 0x1e 0x92 0x05;
reset = io;
has_debugwire = yes;
@ -6680,7 +6665,7 @@ part
chip_erase_delay = 9000;
pagel = 0xd7;
bs2 = 0xc2;
# avr910_devcode = 0x;
# avr910_devcode = 0x??;
signature = 0x1e 0x93 0x0a;
reset = io;
has_debugwire = yes;
@ -6846,7 +6831,7 @@ part
chip_erase_delay = 9000;
pagel = 0xd7;
bs2 = 0xc2;
# avr910_devcode = 0x;
# avr910_devcode = 0x??;
signature = 0x1e 0x94 0x06;
reset = io;
has_debugwire = yes;
@ -7012,7 +6997,7 @@ part
chip_erase_delay = 15000;
pagel = 0xd7;
bs2 = 0xc2;
# avr910_devcode = 0x;
# avr910_devcode = 0x??;
signature = 0x1e 0x93 0x14;
reset = io;
has_debugwire = yes;
@ -7142,9 +7127,9 @@ part parent "t828"
part
desc = "ATtiny87";
id = "t87";
## no STK500 devcode in XML file, use the ATtiny45 one
# no STK500 devcode in XML file, use the ATtiny45 one
stk500_devcode = 0x14;
## Try the AT90S2313 devcode:
# Try the AT90S2313 devcode:
avr910_devcode = 0x20;
chip_erase_delay = 15000;
signature = 0x1e 0x93 0x87;
@ -7266,10 +7251,10 @@ part
part
desc = "ATtiny167";
id = "t167";
## no STK500 devcode in XML file, use the ATtiny45 one
# no STK500 devcode in XML file, use the ATtiny45 one
stk500_devcode = 0x14;
## avr910_devcode = ?;
## Try the AT90S2313 devcode:
# avr910_devcode = 0x??;
# Try the AT90S2313 devcode:
avr910_devcode = 0x20;
chip_erase_delay = 15000;
signature = 0x1e 0x94 0x87;
@ -7395,7 +7380,7 @@ part
chip_erase_delay = 15000;
pagel = 0xd7;
bs2 = 0xc2;
# avr910_devcode = 0x;
# avr910_devcode = 0x??;
signature = 0x1e 0x92 0x09;
reset = io;
has_debugwire = yes;
@ -7521,7 +7506,7 @@ part
chip_erase_delay = 9000;
pagel = 0xd7;
bs2 = 0xc2;
# avr910_devcode = 0x;
# avr910_devcode = 0x??;
signature = 0x1e 0x93 0x11;
reset = io;
has_debugwire = yes;
@ -7647,7 +7632,7 @@ part
chip_erase_delay = 9000;
pagel = 0xd7;
bs2 = 0xc2;
# avr910_devcode = 0x;
# avr910_devcode = 0x??;
signature = 0x1e 0x95 0x14;
reset = io;
has_debugwire = yes;
@ -7795,8 +7780,8 @@ part parent "m328"
desc = "ATmega32M1";
id = "m32m1";
bs2 = 0xe2;
# stk500_devcode = 0x;
# avr910_devcode = 0x;
# stk500_devcode = 0x??;
# avr910_devcode = 0x??;
signature = 0x1e 0x95 0x84;
memory "efuse"
@ -7812,8 +7797,8 @@ part parent "m328"
desc = "ATmega64M1";
id = "m64m1";
bs2 = 0xe2;
# stk500_devcode = 0x;
# avr910_devcode = 0x;
# stk500_devcode = 0x??;
# avr910_devcode = 0x??;
signature = 0x1e 0x96 0x84;
memory "eeprom"
@ -7848,7 +7833,7 @@ part
desc = "ATtiny2313";
id = "t2313";
stk500_devcode = 0x23;
## Use the ATtiny26 devcode:
# Use the ATtiny26 devcode:
avr910_devcode = 0x5e;
chip_erase_delay = 9000;
pagel = 0xd4;
@ -7988,7 +7973,7 @@ part
desc = "ATtiny4313";
id = "t4313";
stk500_devcode = 0x23;
## Use the ATtiny26 devcode:
# Use the ATtiny26 devcode:
avr910_devcode = 0x5e;
chip_erase_delay = 9000;
pagel = 0xd4;
@ -8117,7 +8102,7 @@ part
chip_erase_delay = 9000;
pagel = 0xd8;
bs2 = 0xe2;
## avr910_devcode = ?;
# avr910_devcode = ?;
signature = 0x1e 0x93 0x81;
reset = io;
has_debugwire = yes;
@ -8305,10 +8290,10 @@ part parent "pwm316"
part
desc = "ATtiny25";
id = "t25";
## no STK500 devcode in XML file, use the ATtiny45 one
# no STK500 devcode in XML file, use the ATtiny45 one
stk500_devcode = 0x14;
## avr910_devcode = ?;
## Try the AT90S2313 devcode:
# avr910_devcode = ?;
# Try the AT90S2313 devcode:
avr910_devcode = 0x20;
chip_erase_delay = 4500;
signature = 0x1e 0x91 0x08;
@ -8434,8 +8419,8 @@ part
desc = "ATtiny45";
id = "t45";
stk500_devcode = 0x14;
## avr910_devcode = ?;
## Try the AT90S2313 devcode:
# avr910_devcode = ?;
# Try the AT90S2313 devcode:
avr910_devcode = 0x20;
chip_erase_delay = 4500;
signature = 0x1e 0x92 0x06;
@ -8560,10 +8545,10 @@ part
part
desc = "ATtiny85";
id = "t85";
## no STK500 devcode in XML file, use the ATtiny45 one
# no STK500 devcode in XML file, use the ATtiny45 one
stk500_devcode = 0x14;
## avr910_devcode = ?;
## Try the AT90S2313 devcode:
# avr910_devcode = ?;
# Try the AT90S2313 devcode:
avr910_devcode = 0x20;
chip_erase_delay = 4500;
signature = 0x1e 0x93 0x0b;
@ -9185,10 +9170,10 @@ part parent "m64rfr2"
part
desc = "ATtiny24";
id = "t24";
## no STK500 devcode in XML file, use the ATtiny45 one
# no STK500 devcode in XML file, use the ATtiny45 one
stk500_devcode = 0x14;
## avr910_devcode = ?;
## Try the AT90S2313 devcode:
# avr910_devcode = ?;
# Try the AT90S2313 devcode:
avr910_devcode = 0x20;
chip_erase_delay = 4500;
signature = 0x1e 0x91 0x0b;
@ -9322,10 +9307,10 @@ part parent "t24"
part
desc = "ATtiny44";
id = "t44";
## no STK500 devcode in XML file, use the ATtiny45 one
# no STK500 devcode in XML file, use the ATtiny45 one
stk500_devcode = 0x14;
## avr910_devcode = ?;
## Try the AT90S2313 devcode:
# avr910_devcode = ?;
# Try the AT90S2313 devcode:
avr910_devcode = 0x20;
chip_erase_delay = 4500;
signature = 0x1e 0x92 0x07;
@ -9459,10 +9444,10 @@ part parent "t44"
part
desc = "ATtiny84";
id = "t84";
## no STK500 devcode in XML file, use the ATtiny45 one
# no STK500 devcode in XML file, use the ATtiny45 one
stk500_devcode = 0x14;
## avr910_devcode = ?;
## Try the AT90S2313 devcode:
# avr910_devcode = ?;
# Try the AT90S2313 devcode:
avr910_devcode = 0x20;
chip_erase_delay = 4500;
signature = 0x1e 0x93 0x0c;
@ -9643,8 +9628,8 @@ part
desc = "ATtiny43U";
id = "t43u";
stk500_devcode = 0x14;
## avr910_devcode = ?;
## Try the AT90S2313 devcode:
# avr910_devcode = ?;
# Try the AT90S2313 devcode:
avr910_devcode = 0x20;
chip_erase_delay = 1000;
signature = 0x1e 0x92 0x0c;
@ -10391,10 +10376,6 @@ part
#------------------------------------------------------------
# AT90USB82
#------------------------------------------------------------
# Changes against AT90USB162 (beside IDs)
# memory "flash"
# size = 8192;
# num_pages = 64;
part
desc = "AT90USB82";
@ -10513,13 +10494,7 @@ part
#------------------------------------------------------------
# ATmega32U2
#------------------------------------------------------------
# Changes against AT90USB162 (beside IDs)
# memory "flash"
# size = 32768;
# num_pages = 256;
# memory "eeprom"
# size = 1024;
# num_pages = 256;
part
desc = "ATmega32U2";
id = "m32u2";
@ -10637,13 +10612,7 @@ part
#------------------------------------------------------------
# ATmega16U2
#------------------------------------------------------------
# Changes against ATmega32U2 (beside IDs)
# memory "flash"
# size = 16384;
# num_pages = 128;
# memory "eeprom"
# size = 512;
# num_pages = 128;
part
desc = "ATmega16U2";
id = "m16u2";
@ -10761,11 +10730,6 @@ part
#------------------------------------------------------------
# ATmega8U2
#------------------------------------------------------------
# Changes against ATmega16U2 (beside IDs)
# memory "flash"
# size = 8192;
# page_size = 64;
# blocksize = 64;
part
desc = "ATmega8U2";
@ -12579,7 +12543,7 @@ part
chip_erase_delay = 9000;
pagel = 0xb3;
bs2 = 0xb1;
# avr910_devcode = 0x;
# avr910_devcode = 0x??;
signature = 0x1e 0x94 0x12;
reset = io;
has_debugwire = yes;

View File

@ -331,7 +331,7 @@ static int dev_part_strct_entry(bool tsv, // Print as spreadsheet?
} else { // Grammar conform
int indent = col2 && strcmp(col2, "part");
dev_cout(comms, n, 0, 0); // Print comments before the line
dev_info("%*s%-*s = %s;", indent? 8: 4, "", indent? 15: 19, n, c);
dev_info("%*s%-*s = %s;", indent? 8: 4, "", indent? 18: 22, n, c);
dev_cout(comms, n, 1, 1); // Print comments on rhs
}
@ -361,7 +361,7 @@ static void dev_stack_out(bool tsv, const AVRPART *p, const char *name, const un
dev_info(".pt\t%s\t%s\t", p->desc, name);
else {
dev_cout(p->comments, name, 0, 0);
dev_info(" %-19s =%s", name, ns <=8? " ": "");
dev_info(" %-22s =%s", name, ns <=8? " ": "");
}
if(ns <= 0)
@ -1169,7 +1169,7 @@ static void dev_pgm_strct(const PROGRAMMER *pgm, bool tsv, const PROGRAMMER *bas
dev_info(".prog\t%s\tid\t", id);
else {
dev_cout(pgm->comments, "id", 0, 0);
dev_info(" %-19s = ", "id");
dev_info(" %-22s = ", "id");
}
for(firstid=1, ln=lfirst(pgm->id); ln; ln=lnext(ln)) {
if(!firstid)
@ -1200,7 +1200,7 @@ static void dev_pgm_strct(const PROGRAMMER *pgm, bool tsv, const PROGRAMMER *bas
dev_info(".prog\t%s\tusbpid\t", id);
else {
dev_cout(pgm->comments, "usbpid", 0, 0);
dev_info(" %-19s = ", "usbpid");
dev_info(" %-22s = ", "usbpid");
}
for(firstid=1, ln=lfirst(pgm->usbpid); ln; ln=lnext(ln)) {
if(!firstid)
@ -1237,7 +1237,7 @@ static void dev_pgm_strct(const PROGRAMMER *pgm, bool tsv, const PROGRAMMER *bas
dev_info(".prog\t%s\thvupdu_support\t", id);
else {
dev_cout(pgm->comments, "hvupdi_support", 0, 0);
dev_info(" %-19s = ", "hvupdi_support");
dev_info(" %-22s = ", "hvupdi_support");
}
for(firstid=1, ln=lfirst(pgm->hvupdi_support); ln; ln=lnext(ln)) {
if(!firstid)