Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-cli
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Operations
Operations
Metrics
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-cli
Commits
c4d5571c
Unverified
Commit
c4d5571c
authored
Jul 28, 2020
by
per1234
Committed by
GitHub
Jul 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[skip changelog] Document the upload verification system (#871)
parent
7587af62
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
docs/platform-specification.md
docs/platform-specification.md
+24
-0
No files found.
docs/platform-specification.md
View file @
c4d5571c
...
...
@@ -620,6 +620,30 @@ Most **{upload.XXXX}** variables are used later in the avrdude upload recipe in
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"
[.....]
#### Upload verification
Upload verification can be enabled via the Arduino IDE's
**File > Preferences > Verify code after upload**
or
`arduino-cli upload --verify`
. This uses a system similar to the
[
verbose parameter
](
#verbose-parameter
)
.
**tools.TOOL_ID.ACTION.params.verify**
defines the value of the
**ACTION.verify**
property when verification is enabled
and
**tools.TOOL_ID.ACTION.params.noverify**
the value when verification is disabled.
The
**{ACTION.verify}**
property is only defined for the
`upload`
and
`program`
actions of
`upload.tool`
.
Prior to Arduino IDE 1.6.9,
**tools.TOOL_ID.ACTION.params.verify/noverify**
were not supported and
`{upload.verify}`
was
set to
`true`
/
`false`
according to the verification preference setting, while
`{program.verify}`
was left undefined. For
this reason, backwards compatibility with older IDE versions requires the addition of definitions for the
**upload.verify**
and
**program.verify**
properties to platform.txt:
[.....]
tools.avrdude.upload.verify=
[.....]
tools.avrdude.program.verify=
[.....]
These definitions are overridden with the value defined by
**tools.TOOL_ID.ACTION.params.verify/noverify**
when a modern
version of Arduino development software is in use.
#### 1200 bps bootloader reset
Some Arduino boards use a dedicated USB-to-serial chip, that takes care of restarting the main MCU (starting the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment