Hi Ide developers.
I find myself working on several different boards at a time. When changing from one to another I sometimes forget to change the board type or clock speed option etc for that particular project.
Would it be possible to have a define with the options in the code. That way when the code was assembled it would automagically select the correct processor/clock speed for that board.
Something like :
#define Arduino pro mini 8MHz
or in a more extreme case
#define Arduino ESP8266 Flash Size 4M(1M Spiffs) Reset Method nodecdu
Alternately could a piece of code with the ide options be appended to the source code when saved and the board options selected when code loaded.