Closed
Description
I haven't thoroughly verified this, but arduino/Arduino#4512 (comment) seems to indicate that, while running the preprocessor to collect dependencies, the -mmcu=
option is not passed to gcc. You would say that this is not needed for preprocessing, but this also prevents defines like __AVR_ATmega328p__
from being present, which could be used to determine what libraries to use (as happens in this library).