Teacup_Firmware/configtool
Phil Hord 90fbdd314a configtool: Add avrdude flags option to settings
Some target devices need extra avrdude command line switches to
get them to upload successfully.  There are dozens of options which
may be useful to different people. Instead of breaking all the possible
options out into separate fields, provide a generic "Program Flags" text
field which the user can fill in similar to the CFLAGS and LDFLAGS
settings.

The Arduino Mega2560 bootloader was changed[1] to report an error when
asked to erase flash because it has never actually implemented erasing
flash. To program this bootloader with avrdude requires the -D switch
to avoid flash erase. But it seems that every arduino will work fine
with -D, as evidenced by the fact that the Arduino IDE always [2]
includes -D in the avrdude commandline. Presumably the flash is erased
during/before programming anyway and the separate erase step is unneeded.

Perhaps the -D should be always added to avrdude command line in
configtool and in Makefile-AVR.  But I haven't tested any other boards
yet, and I'm being more cautious even though the Arduino IDE does
otherwise.

[1] arduino/Arduino#543
[2] d8e5997328/app/src/processing/app/debug/AvrdudeUploader.java (L168)
2016-05-17 12:57:16 -04:00
..
__init__.py Configtool: major restructuring. 2015-04-21 02:07:12 +02:00
accelerationpage.py Configtool: take advantage of the now recognized values. 2015-07-17 13:38:15 +02:00
addheaterdlg.py ARM, AVR: support inverted heater pin signals. 2015-08-13 17:12:10 +02:00
addsensordlg.py Added support for MCP3008 and MCP3004 ADC for temperature read 2016-04-12 22:37:50 +02:00
background.png Configtool: give the thing a nice background picture. 2015-05-30 18:41:02 +02:00
board.generic.h Configtool: replace DISPLAY_TYPE with a set of booleans, too. 2016-04-20 22:00:47 +02:00
boardpanel.py Configtool: record False boolean #defines, too. 2016-04-20 22:02:09 +02:00
build.py configtool: Add avrdude flags option to settings 2016-05-17 12:57:16 -04:00
calcbelt.py Configtool: a few more apperance enhancements. 2015-04-21 02:51:30 +02:00
calcscrew.py Configtool: a few more apperance enhancements. 2015-04-21 02:51:30 +02:00
communicationspage.py Configtool: take advantage of the now recognized values. 2015-07-17 13:38:15 +02:00
cpupage.py Configtool: de-duplicate insertValues(). 2015-07-17 13:38:02 +02:00
data.py Configtool: remove unused reCommDefBL and reCommDefBoolBL. 2016-04-20 22:02:09 +02:00
decoration.py Configtool: color background matching the background picture. 2015-05-30 19:20:38 +02:00
displaypage.py Configtool: allow and use user friendly names for choices. 2016-04-20 22:02:10 +02:00
heaterlist.py ARM, AVR: support inverted heater pin signals. 2015-08-13 17:12:10 +02:00
heaterspage.py ARM, AVR: support inverted heater pin signals. 2015-08-13 17:12:10 +02:00
mechanicalpage.py Configtool: make KINEMATICS a set of booleans, too. 2016-04-20 22:02:07 +02:00
miscellaneouspage.py Rename Z_LATE_ENABLE to Z_AUTODISABLE and refine description. 2016-03-27 20:23:05 +02:00
page.py Configtool: allow and use user friendly names for choices. 2016-04-20 22:02:10 +02:00
pinoutspage.py Configtool: take advantage of the now recognized values. 2015-07-17 13:38:15 +02:00
printer.generic.h Configtool: make KINEMATICS a set of booleans, too. 2016-04-20 22:02:07 +02:00
printerpanel.py Configtool: record False boolean #defines, too. 2016-04-20 22:02:09 +02:00
protectedfiles.py ARM: add a board configuration for Gen7-ARM. 2015-08-12 14:26:36 +02:00
sensorlist.py Configtool: don't color heater/sensor list items. 2015-05-31 11:27:12 +02:00
sensorpage.py Added support for MCP3008 and MCP3004 ADC for temperature read 2016-04-12 22:37:50 +02:00
settings.py configtool: Add avrdude flags option to settings 2016-05-17 12:57:16 -04:00
thermistor.py Configtool: thermistor table entries are now distributed by ADC. 2015-07-27 18:04:41 +02:00
thermistorpresets.py Configtool: move thermistor presets into distribution file. 2015-05-20 23:31:38 +02:00
thermistortablefile.py temp.c: get rid of TEMPTABLE_FORMAT. 2016-04-17 14:31:52 +02:00