* [PATCH] avr: add support for tinyAVR 2 family
@ 2022-04-26 14:59 Torsten Duwe
2022-04-26 16:46 ` Joel Holdsworth
2022-05-28 19:13 ` Jeff Law
0 siblings, 2 replies; 3+ messages in thread
From: Torsten Duwe @ 2022-04-26 14:59 UTC (permalink / raw)
To: gcc-patches
Signed-off-by: Torsten Duwe <duwe@suse.de>
---
gcc/ChangeLog:
2022-04-26 Torsten Duwe <duwe@suse.de>
* config/avr/avr-mcus.def (AVR_MCU): add definitions for
attiny{4,8,16,32}2{4,6,7}; 4k and 8k flash types use RCALL.
--- a/gcc/config/avr/avr-mcus.def
+++ b/gcc/config/avr/avr-mcus.def
@@ -333,6 +333,20 @@ AVR_MCU ("attiny1617", ARCH_AVRXME
AVR_MCU ("attiny3214", ARCH_AVRXMEGA3, AVR_ISA_NONE, "__AVR_ATtiny3214__", 0x3800, 0x0, 0x8000, 0x8000)
AVR_MCU ("attiny3216", ARCH_AVRXMEGA3, AVR_ISA_NONE, "__AVR_ATtiny3216__", 0x3800, 0x0, 0x8000, 0x8000)
AVR_MCU ("attiny3217", ARCH_AVRXMEGA3, AVR_ISA_NONE, "__AVR_ATtiny3217__", 0x3800, 0x0, 0x8000, 0x8000)
+/* "tinyAVR 2" family, xmega3 core */
+AVR_MCU ("attiny424", ARCH_AVRXMEGA3, AVR_ISA_RCALL, "__AVR_ATtiny424__", 0x3e00, 0x0, 0x1000, 0x8000)
+AVR_MCU ("attiny426", ARCH_AVRXMEGA3, AVR_ISA_RCALL, "__AVR_ATtiny426__", 0x3e00, 0x0, 0x1000, 0x8000)
+AVR_MCU ("attiny427", ARCH_AVRXMEGA3, AVR_ISA_RCALL, "__AVR_ATtiny427__", 0x3e00, 0x0, 0x1000, 0x8000)
+AVR_MCU ("attiny824", ARCH_AVRXMEGA3, AVR_ISA_RCALL, "__AVR_ATtiny824__", 0x3c00, 0x0, 0x2000, 0x8000)
+AVR_MCU ("attiny826", ARCH_AVRXMEGA3, AVR_ISA_RCALL, "__AVR_ATtiny826__", 0x3c00, 0x0, 0x2000, 0x8000)
+AVR_MCU ("attiny827", ARCH_AVRXMEGA3, AVR_ISA_RCALL, "__AVR_ATtiny827__", 0x3c00, 0x0, 0x2000, 0x8000)
+AVR_MCU ("attiny1624", ARCH_AVRXMEGA3, AVR_ISA_NONE, "__AVR_ATtiny1624__", 0x3800, 0x0, 0x4000, 0x8000)
+AVR_MCU ("attiny1626", ARCH_AVRXMEGA3, AVR_ISA_NONE, "__AVR_ATtiny1626__", 0x3800, 0x0, 0x4000, 0x8000)
+AVR_MCU ("attiny1627", ARCH_AVRXMEGA3, AVR_ISA_NONE, "__AVR_ATtiny1627__", 0x3800, 0x0, 0x4000, 0x8000)
+AVR_MCU ("attiny3224", ARCH_AVRXMEGA3, AVR_ISA_NONE, "__AVR_ATtiny3224__", 0x3400, 0x0, 0x8000, 0x8000)
+AVR_MCU ("attiny3226", ARCH_AVRXMEGA3, AVR_ISA_NONE, "__AVR_ATtiny3226__", 0x3400, 0x0, 0x8000, 0x8000)
+AVR_MCU ("attiny3227", ARCH_AVRXMEGA3, AVR_ISA_NONE, "__AVR_ATtiny3227__", 0x3400, 0x0, 0x8000, 0x8000)
+
AVR_MCU ("atmega808", ARCH_AVRXMEGA3, AVR_ISA_RCALL, "__AVR_ATmega808__", 0x3c00, 0x0, 0x2000, 0x4000)
AVR_MCU ("atmega809", ARCH_AVRXMEGA3, AVR_ISA_RCALL, "__AVR_ATmega809__", 0x3c00, 0x0, 0x2000, 0x4000)
AVR_MCU ("atmega1608", ARCH_AVRXMEGA3, AVR_ISA_NONE, "__AVR_ATmega1608__", 0x3800, 0x0, 0x4000, 0x4000)
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH] avr: add support for tinyAVR 2 family
2022-04-26 14:59 [PATCH] avr: add support for tinyAVR 2 family Torsten Duwe
@ 2022-04-26 16:46 ` Joel Holdsworth
2022-05-28 19:13 ` Jeff Law
1 sibling, 0 replies; 3+ messages in thread
From: Joel Holdsworth @ 2022-04-26 16:46 UTC (permalink / raw)
To: Torsten Duwe, gcc-patches
> From: Gcc-patches <gcc-patches-
> bounces+jholdsworth=nvidia.com@gcc.gnu.org> On Behalf Of Torsten Duwe
> via Gcc-patches
> Sent: Tuesday, April 26, 2022 4:00 PM
> To: gcc-patches@gcc.gnu.org
> Subject: [PATCH] avr: add support for tinyAVR 2 family
Note, I also submitted a patch to add support for the AVR-DA and AVR-DB families here:
https://gcc.gnu.org/pipermail/gcc-patches/2022-April/592668.html
No response so far.
Best Regards
Joel Holdsworth
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] avr: add support for tinyAVR 2 family
2022-04-26 14:59 [PATCH] avr: add support for tinyAVR 2 family Torsten Duwe
2022-04-26 16:46 ` Joel Holdsworth
@ 2022-05-28 19:13 ` Jeff Law
1 sibling, 0 replies; 3+ messages in thread
From: Jeff Law @ 2022-05-28 19:13 UTC (permalink / raw)
To: gcc-patches
On 4/26/2022 8:59 AM, Torsten Duwe via Gcc-patches wrote:
> Signed-off-by: Torsten Duwe <duwe@suse.de>
>
> ---
> gcc/ChangeLog:
>
> 2022-04-26 Torsten Duwe <duwe@suse.de>
>
> * config/avr/avr-mcus.def (AVR_MCU): add definitions for
> attiny{4,8,16,32}2{4,6,7}; 4k and 8k flash types use RCALL.
Are these independent of patch from Joel Holdworth? I think so, but I'm
not at all familiar with the avr family of chips, so it'd be good if
someone with more familiarity would chime in.
I think you need to update avr-mmcu.texi for the new chips as well.
jeff
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-05-28 19:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-26 14:59 [PATCH] avr: add support for tinyAVR 2 family Torsten Duwe
2022-04-26 16:46 ` Joel Holdsworth
2022-05-28 19:13 ` Jeff Law
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).