List of Arduino board preprocessor #defines
The list of board symbols can be generated by this shell command:
$ grep board= boards.txt | cut -f2 -d= | sort -u
AVR_ADK
AVR_BT
AVR_DUEMILANOVE
AVR_ESPLORA
AVR_ETHERNET
AVR_FIO
AVR_GEMMA
AVR_LEONARDO
AVR_LILYPAD
AVR_LILYPAD_USB
AVR_MEGA
AVR_MEGA2560
AVR_MICRO
AVR_MINI
AVR_NANO
AVR_NG
AVR_PRO
AVR_ROBOT_CONTROL
AVR_ROBOT_MOTOR
AVR_UNO
AVR_YUN
The boards are defined by the "build.board" property in the boards.txt file.
mini.build.board=AVR_MINI
This property is used by the build recipe together with ARDUINO_-prefix.
-DARDUINO_{build.board}
Cheers!
Mikael has the right answer, but there are multiple boards.txt files depending on the installed boards with board manager, modifying the command to:
grep board= `find . -name boards.txt` | cut -f2 -d= | sort -u
and running it from your base Arduino directory collects the whole set.
The first blank is the platform. This is "AVR" for AVRs, "SAM" for SAM-based Arduinos, etc. This is derived from the platform directory containing the core.
The second blank is the board. This comes from the entry in boards.txt
in the core itself, and is the identifier before the first period.
There is no difference between compilation processes with regards to voltages; any speed difference is given in F_CPU
and the board itself should not be checked for this.
So there is no definitive list, since the list is of arbitrary size due to its source.