<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 19, 2020 at 7:00 PM Florian Klämpfl <<a href="mailto:florian@freepascal.org">florian@freepascal.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Am 19.01.20 um 08:20 schrieb Christo Crause via fpc-devel:<br>
> I would like to offer support for the relatively new AVR 8-bit <br>
> subarchitecture avrxmega3 which includes the following series: megaAVR <br>
> 0, tinyAVR 0 and 1. This adds 35 new controllers to FPC's repertoire. <br>
> The current state can be viewed in a git branch <br>
> (<a href="https://github.com/ccrause/freepascal/tree/avrxmega3" rel="noreferrer" target="_blank">https://github.com/ccrause/freepascal/tree/avrxmega3</a>). I can also <br>
> prepare a patch (perhaps two: compiler and rtl separately) if it is <br>
> accepted into trunk.<br>
<br>
If the patch quality is fine and the embedded units aren't too big (not <br>
MB scale) I see no reason not to do so.<br></blockquote><div><br></div><div>I have split the patch into 3 parts in issue 0036616.</div><div><br></div><div>On a related note, I have some developer board aliases from Michael (R) and Dimitrios. The board names are defined as new controllers, but the controllerunitstr has the name of the on-board controller. An example for Arduino Uno (popular hobbyist board):</div><div>controllertypestr:<span class="gmail-pl-s"><span class="gmail-pl-pds">'</span>ARDUINOUNO<span class="gmail-pl-pds">'</span></span>; controllerunitstr:<span class="gmail-pl-s"><span class="gmail-pl-pds">'</span>ATMEGA328P<span class="gmail-pl-pds">'</span></span>;</div><div><br></div><div>Would these kind of aliases be allowed in cpuinfo? I guess it would help hobbyist beginners that only know the name of a board to have a slightly easier start in FPC.<br></div></div></div>