Hopefully this will help someone on a similar transition from Arduino to AS7, took a couple days to piece this together from various sources.
Moving from Arduino to AS7.
For me it was not immediately clear how to program with the hardware that I had, which is a USB FTDI cable for serial upload, and a sparkfun pocket programmer.
The pocket programmer can be used to burn fuses, upload an entire sketch, or a bootloader like optiboot.
With a bootloader burned, the FTDI cable can load a program over serial in AS7 just like Arduino.
Tools-> External tools
Enter these items for atmega 328 programming.
Of course tools, fuse values, and chips can be changed, refer to avrdude documentation to adjust arguments.
title: "name of programmer"
command: " location of avrdude.exe"
arguments: " avrdude command line arguments including fuses if desired"
This is for ISP programming with no bootloader and the Sparkfun pocket programmer.
Title: PocketAVR m328p 4.3v
arguments: c usbtiny -p m328p -v -v -v -U flash:w:$(TargetDir)$(TargetName).hex:i -c usbtiny -p m328p -v -U efuse:w:0xFC:m -c usbtiny -p m328p -v -U lfuse:w:0xF7:m -c usbtiny -p m328p -v -U hfuse:w:0xD6:m
These particular arguments program a 328p with the current project and sets e l h fuse values.
This is for programming a 328p that has optiboot loaded on it already using USB FTDI cable
Title: FTDI serial uploader for Optiboot
arguments: -C "G:\AVRdude\avrdude.conf" -v -v -v -p atmega328p -c arduino -P\\.\COM3 -b 115200 -D -U flash:w:$(TargetDir)$(TargetName).hex:i
*my ftdi cable mounts to COM3, yours may differ
This is for burning the optiboot bootloader and fuses on a 328p
Title: Burn Bootloader Optiboot m328 4.3v
arguments: -c usbtiny -p m328p -v -v -v -U flash:w:"G:\AVRdude\optiboot_atmega328.hex":i -c usbtiny -p m328p -v -U efuse:w:0xFC:m -c usbtiny -p m328p -v -U lfuse:w:0xF7:m -c usbtiny -p m328p -v -U hfuse:w:0xD6:m
Note that the bootloader argument includes the path to the optiboot hex file.
Compiled optiboot hex files available on github.
Adjust fuse values to suit your needs.
These tools are not integrated with AS7 and to program with them click on them in the Tools menu after compiling.
Sure eventually I will get an
Atmel Microchip programmer but this was a pretty easy way to get going for low $$.