How to know what target code is begin compiled for?
I'm thinking sometthing like..
Or something like that.
??
5 Replies
Yes, that is how I've always seen it done.
This is good! But where would I look for the different processor's tags? For example UNO, MEGA, TEENSY, ADAFRUIT XXX?
I ask because mosty they use different SPI pins and I want that delt with behind the scenes in a library file.
And I've never see them broken into parts like this.
@jim lee
find build extra flags in boards.txt
https://github.com/adafruit/ArduinoCore-samd/blob/master/boards.txt#L113
Found some info here: https://arduino.stackexchange.com/a/19894
Arduino Stack Exchange
List of Arduino board preprocessor #defines
When one selects a board within Arduino IDE, a preprocessor definition is added to one of the behind-the-scenes files.
After a lot of hunting and some good fortune I found that the format of this
nis, thank you!!
Mavrick thank you!!