File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,30 @@ Configuration for the programmers:
123123 stk500v1
124124 upload_command = avrdude $UPLOAD_FLAGS -U flash:w:$SOURCE:i
125125
126+ * Arduino as ISP (ATmega32U4)
127+
128+ .. code-block :: ini
129+
130+ [env:program_via_ArduinoISP-ATmega32U4]
131+ platform = atmelavr
132+ framework = arduino
133+ upload_protocol = custom
134+ upload_port = SERIAL_PORT_HERE
135+ upload_speed = 19200
136+ upload_flags =
137+ -C
138+ ; use "tool-avrdude-megaavr" for the atmelmegaavr platform
139+ ${platformio.packages_dir}/tool-avrdude/avrdude.conf
140+ -p
141+ $BOARD_MCU
142+ -P
143+ $UPLOAD_PORT
144+ -b
145+ $UPLOAD_SPEED
146+ -c
147+ arduino
148+ upload_command = avrdude $UPLOAD_FLAGS -U flash:w:$SOURCE:i
149+
126150 * USBasp
127151
128152 .. code-block :: ini
You can’t perform that action at this time.
0 commit comments