I’m working on a couple of different project, one using the ATmega328 and another using the ESP8266 (programming the Oracle Code card which I talked about here).
Just so I don’t forget what settings to use with each board, leaving a note here for reference.
IDE settings for ATmega328:

IDE settings for ESP8266 – from https://github.com/cameronsenese/codecard/tree/master/arduino :
Under Tools set the following settings:
- Board: “Generic ESP8266 Module”
 - Upload Speed “115200”
 - CPU Frequency: “80 MHz”
 - Crystal Frequency: “26 MHz”
 - Flash Size: “4M (3M SPIFFS)”
 - Flash Mode: “DIO”
 - Flash Frequency: “40MHz”
 - Reset Method: “nodemcu”
 - Debug port: “Disabled”
 - Debug Level: “None”
 - IwIP Variant: “v2 Lower Memory”
 - VTables: “Flash”
 - Builtin Led: “2”
 - Erase Flash: “Only Sketch”
 - Port: This is the port that shows up once you turn on the CodeCard and press a button
 - Programmer: “ArduinoISP”
 
