File tree 3 files changed +5
-16
lines changed
app/src/processing/app/debug 3 files changed +5
-16
lines changed Original file line number Diff line number Diff line change @@ -102,11 +102,11 @@ protected boolean executeUploadCommand(String commandArray[])
102
102
int result =0 ; // pre-initialized to quiet a bogus warning from jikes
103
103
104
104
try {
105
+ if (verbose || Preferences .getBoolean ("upload.verbose" )) {
105
106
for (int i = 0 ; i < commandArray .length ; i ++) {
106
107
System .out .print (commandArray [i ] + " " );
107
108
}
108
109
System .out .println ();
109
- if (verbose || Preferences .getBoolean ("upload.verbose" )) {
110
110
}
111
111
Process process = Runtime .getRuntime ().exec (commandArray );
112
112
new MessageSiphon (process .getInputStream (), this );
Original file line number Diff line number Diff line change @@ -59,17 +59,17 @@ tools.avrdude.config.path.linux={runtime.ide.path}/hardware/tools/avrdude.conf
59
59
60
60
tools.avrdude.upload.params.verbose=-v -v -v -v
61
61
tools.avrdude.upload.params.quiet=-q -q
62
- tools.avrdude.upload.pattern="{cmd.path}" "-C{config.path}" {upload.params. verbose} -p{build.mcu} -c{upload.protocol} -P{serial.port} -b{upload.speed} -D "-Uflash:w:{build.path}/{build.project_name}.hex:i"
62
+ tools.avrdude.upload.pattern="{cmd.path}" "-C{config.path}" {upload.verbose} -p{build.mcu} -c{upload.protocol} -P{serial.port} -b{upload.speed} -D "-Uflash:w:{build.path}/{build.project_name}.hex:i"
63
63
64
64
tools.avrdude.program.params.verbose=-v -v -v -v
65
65
tools.avrdude.program.params.quiet=-q -q
66
- tools.avrdude.program.pattern="{cmd.path}" "-C{config.path}" {program.params. verbose} -p{build.mcu} -c{protocol} {program.extra_params} "-Uflash:w:{build.path}/{build.project_name}.hex:i"
66
+ tools.avrdude.program.pattern="{cmd.path}" "-C{config.path}" {program.verbose} -p{build.mcu} -c{protocol} {program.extra_params} "-Uflash:w:{build.path}/{build.project_name}.hex:i"
67
67
68
68
tools.avrdude.erase.params.verbose=-v -v -v -v
69
69
tools.avrdude.erase.params.quiet=-q -q
70
- tools.avrdude.erase.pattern="{cmd.path}" "-C{config.path}" {erase.params. verbose} -p{build.mcu} -c{protocol} {program.extra_params} -e -Ulock:w:{bootloader.unlock_bits}:m -Uefuse:w:{bootloader.extended_fuses}:m -Uhfuse:w:{bootloader.high_fuses}:m -Ulfuse:w:{bootloader.low_fuses}:m
70
+ tools.avrdude.erase.pattern="{cmd.path}" "-C{config.path}" {erase.verbose} -p{build.mcu} -c{protocol} {program.extra_params} -e -Ulock:w:{bootloader.unlock_bits}:m -Uefuse:w:{bootloader.extended_fuses}:m -Uhfuse:w:{bootloader.high_fuses}:m -Ulfuse:w:{bootloader.low_fuses}:m
71
71
72
72
tools.avrdude.bootloader.params.verbose=-v -v -v -v
73
73
tools.avrdude.bootloader.params.quiet=-q -q
74
- tools.avrdude.bootloader.pattern="{cmd.path}" "-C{config.path}" {bootloader.params. verbose} -p{build.mcu} -c{protocol} {program.extra_params} "-Uflash:w:{runtime.ide.path}/hardware/arduino/avr/bootloaders/{bootloader.file}:i" -Ulock:w:{bootloader.lock_bits}:m
74
+ tools.avrdude.bootloader.pattern="{cmd.path}" "-C{config.path}" {bootloader.verbose} -p{build.mcu} -c{protocol} {program.extra_params} "-Uflash:w:{runtime.ide.path}/hardware/arduino/avr/bootloaders/{bootloader.file}:i" -Ulock:w:{bootloader.lock_bits}:m
75
75
Original file line number Diff line number Diff line change 4
4
5
5
name=Arduino ARM (32-bits) Boards
6
6
compiler.path={runtime.ide.path}/hardware/tools/g++_arm_none_eabi/bin/
7
- #compiler.path=C:/arm-none-eabi-gcc-4_6/bin/
8
7
compiler.c.cmd=arm-none-eabi-gcc
9
8
compiler.c.flags=-c -g -Os -w -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf
10
9
compiler.c.elf.cmd=arm-none-eabi-g++
@@ -64,13 +63,3 @@ tools.bossac.upload.params.verbose=-i -d
64
63
tools.bossac.upload.params.quiet=
65
64
tools.bossac.upload.pattern="{path}/{cmd}" {upload.verbose} --port={serial.port.file} -U {upload.native_usb} -e -w -v -b "{build.path}/{build.project_name}.bin" -R
66
65
67
- # specialized tool for adk2 to twiddle the erase line before running bossac
68
- tools.adk2install.cmd=adk2install
69
- tools.adk2install.cmd.windows=bossac.exe
70
- tools.adk2install.path={runtime.ide.path}/hardware/tools
71
-
72
- tools.adk2install.upload.params.verbose=
73
- tools.adk2install.upload.params.quiet=
74
- tools.adk2install.upload.pattern={path}/{cmd} {path}/adk2tool {serial.port.file} {path}/bossac {build.path}/{build.project_name}.bin
75
-
76
-
You can’t perform that action at this time.
0 commit comments