Just wondering why the boards.txt define -D defines for a logical board name for the MINIMA and WIFI, which is different than the automatically generated defines by platform board name.
That is:
Minima adds:
minima.build.defines=-DF_CPU=48000000 -DARDUINO_UNOR4_MINIMA
WiFi add:
unor4wifi.build.defines=-DF_CPU=48000000 -DNO_USB -DBACKTRACE_SUPPORT -DARDUINO_UNOR4_WIFI
But by the standard Arduino build setup, they also generate:
Minima: -DARDUINO_MINIMA
Wifi: -DARDUINO_UNOWIFIR4
Is there a reason there are two different names? And which one is the preferred name when a sketch or library needs to know which board it is building for.
Thanks
Kurt