Unable to find "Upload using programmer" in project task

Hello, I have arduino nano328 loaded with arduinoISP program. I want to program atmega2560 using arduino nano as isp programmer in PlatformIO(VSCode). Can anyone suggest configurations for .ini file.

The docs (here) have the settings you would need to add to your platformio.ini file to use “Arduino as ISP” to program.

Scroll down to the correct set of options, obviously! :wink:


Thank you Norman. I did added following in .ini file and it worked.

platform = atmelavr
framework = arduino
board = megaatmega2560
upload_protocol = custom
upload_port = COM4
upload_speed = 19200
upload_flags =
upload_command = avrdude $UPLOAD_FLAGS -U flash:w:$SOURCE:i
1 Like