Skip to content

Commit 6ea7233

Browse files
committed
Extend upload_flags docs with AVRDUDE example
Resolve #212
1 parent 39d9681 commit 6ea7233

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

projectconf/section_env_upload.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,22 @@ This option can also be set by global environment variable
117117

118118
Please specify each flag/option in a new line starting with minimum 2 spaces.
119119

120+
Here are a few examples for the ``AVRDUDE`` tool used in Atmel-based platforms:
121+
122+
1. Enable verbose output and erase chip before uploading
123+
124+
.. code-block:: ini
125+
126+
[env:atmega4809]
127+
platform = atmelmegaavr
128+
board = atmega4809
129+
framework = arduino
130+
upload_flags =
131+
-V
132+
-e
133+
134+
2. Configure upload settings and set fuses
135+
120136
.. code-block:: ini
121137
122138
[env:atmega328pb]

0 commit comments

Comments
 (0)