Page MenuHomePhabricator

[clang][preprocessor] Add more macros to target AVR
ClosedPublic

Authored by benshi001 on Apr 21 2022, 2:43 AM.

Diff Detail

Event Timeline

benshi001 created this revision.Apr 21 2022, 2:43 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 21 2022, 2:43 AM
Herald added a subscriber: Jim. · View Herald Transcript
benshi001 requested review of this revision.Apr 21 2022, 2:43 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 21 2022, 2:43 AM
benshi001 updated this revision to Diff 424355.Apr 21 2022, 7:09 PM

avr-gcc does define this __AVR_TINY_ macro for the tiny device family, we can check that by avr-gcc -mmcu=avrtiny -E -dM -xc /dev/null -dM | grep tiny -i.

MaskRay accepted this revision.May 1 2022, 8:19 PM
This revision is now accepted and ready to land.May 1 2022, 8:19 PM
This revision was landed with ongoing or failed builds.May 1 2022, 9:39 PM
This revision was automatically updated to reflect the committed changes.