Skip to content

Commit ad91d29

Browse files
LittleFox94memfrob
authored andcommitted
[Clang][AVR] Fix definitions on AVR target
Fix definitions for MCUs xmega16a4u and xmega128a4u to match avr-libc Differential Revision: https://reviews.llvm.org/D109653
1 parent 825e555 commit ad91d29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Basic/Targets/AVR.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ static MCUInfo AVRMcus[] = {
223223
{"atmega256rfr2", "__AVR_ATmega256RFR2__"},
224224
{"atmega2564rfr2", "__AVR_ATmega2564RFR2__"},
225225
{"atxmega16a4", "__AVR_ATxmega16A4__"},
226-
{"atxmega16a4u", "__AVR_ATxmega16a4U__"},
226+
{"atxmega16a4u", "__AVR_ATxmega16A4U__"},
227227
{"atxmega16c4", "__AVR_ATxmega16C4__"},
228228
{"atxmega16d4", "__AVR_ATxmega16D4__"},
229229
{"atxmega32a4", "__AVR_ATxmega32A4__"},
@@ -265,7 +265,7 @@ static MCUInfo AVRMcus[] = {
265265
{"atxmega384d3", "__AVR_ATxmega384D3__"},
266266
{"atxmega128a1", "__AVR_ATxmega128A1__"},
267267
{"atxmega128a1u", "__AVR_ATxmega128A1U__"},
268-
{"atxmega128a4u", "__AVR_ATxmega128a4U__"},
268+
{"atxmega128a4u", "__AVR_ATxmega128A4U__"},
269269
{"attiny4", "__AVR_ATtiny4__"},
270270
{"attiny5", "__AVR_ATtiny5__"},
271271
{"attiny9", "__AVR_ATtiny9__"},

0 commit comments

Comments
 (0)