Automatic parameter substitution

Is it possible in the program will automatically substitute the parameters of a particular platform Arduino? (For example, the size of EEPROM, CPU clock, etc.)

Ogogon.

the size of EEPROM

E2END + 1

CPU clock

F_CPU

Just for clarification, are those evaluated at run-time or compile-time? It's not 100% clear (to me) what the OP was looking for.

Compile. It is not possible to determine either at run-time.