Skip to content

Commit e12d63a

Browse files
fulda1facchinm
authored andcommitted
added parameter for write eeprom from eep file
Squash and rebase of arduino/Arduino#4963
1 parent b084848 commit e12d63a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

platform.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,16 @@ tools.avrdude.upload.params.quiet=-q -q
102102
# tools.avrdude.upload.verify is needed for backwards compatibility with IDE 1.6.8 or older, IDE 1.6.9 or newer overrides this value
103103
tools.avrdude.upload.verify=
104104
tools.avrdude.upload.params.noverify=-V
105-
tools.avrdude.upload.pattern="{cmd.path}" "-C{config.path}" {upload.verbose} {upload.verify} -p{build.mcu} -c{upload.protocol} "-P{serial.port}" -b{upload.speed} -D "-Uflash:w:{build.path}/{build.project_name}.hex:i"
105+
tools.avrdude.upload.params.uploadeep="-Ueeprom:w:{build.path}/{build.project_name}.eep:i"
106+
tools.avrdude.upload.pattern="{cmd.path}" "-C{config.path}" {upload.verbose} {upload.verify} -p{build.mcu} -c{upload.protocol} -P{serial.port} -b{upload.speed} -D "-Uflash:w:{build.path}/{build.project_name}.hex:i" {upload.uploadeep}
106107

107108
tools.avrdude.program.params.verbose=-v
108109
tools.avrdude.program.params.quiet=-q -q
109110
# tools.avrdude.program.verify is needed for backwards compatibility with IDE 1.6.8 or older, IDE 1.6.9 or newer overrides this value
110111
tools.avrdude.program.verify=
111112
tools.avrdude.program.params.noverify=-V
112-
tools.avrdude.program.pattern="{cmd.path}" "-C{config.path}" {program.verbose} {program.verify} -p{build.mcu} -c{protocol} {program.extra_params} "-Uflash:w:{build.path}/{build.project_name}.hex:i"
113+
tools.avrdude.program.params.uploadeep="-Ueeprom:w:{build.path}/{build.project_name}.eep:i"
114+
tools.avrdude.program.pattern="{cmd.path}" "-C{config.path}" {program.verbose} {program.verify} -p{build.mcu} -c{protocol} {program.extra_params} "-Uflash:w:{build.path}/{build.project_name}.hex:i" {program.uploadeep}
113115

114116
tools.avrdude.erase.params.verbose=-v
115117
tools.avrdude.erase.params.quiet=-q -q

0 commit comments

Comments
 (0)