<html><head><base href="x-msg://5/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 7 Aug 2011, at 11:14, John Clymer wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Verdana; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">Ok. Give me a week or so (very hectic schedule right now...) And I will see if I can't patch it up some. </div></div></span></blockquote><div><br></div><div><br></div><div>To save you some time perhaps, the following was for lm3s9b92 and rtl/embedded/arm/stellaris.pas; I only tested with that device:-</div><div><br></div><div>1<span class="Apple-tab-span" style="white-space:pre"> </span>in cpuinfo.pas, tcontrollertype should include, ct_lm3s9b92 rather than stellaris</div><div>2<span class="Apple-tab-span" style="white-space:pre"> </span>also 'stellaris' in controllerunitstr should be 'lm3s9b92</div><div><br></div><div>3<span class="Apple-tab-span" style="white-space:pre"> </span>in compiler/systems/t_embed.pas add:-</div><div><br></div><div><div>ct_lm3s9b92:</div><div> with linkres do</div><div> begin</div><div> Add('ENTRY(_START)');</div><div> Add('MEMORY');</div><div> Add('{');</div><div> Add(' flash : ORIGIN = 0x00000000, LENGTH = 256K');</div><div> Add(' ram : ORIGIN = 0x20000000, LENGTH = 96K');</div><div> Add('}');</div><div> Add('_stack_top = 0x20017FFC;');</div><div> end;</div><div><br></div><div>I also found I needed to comment out the controller types other than stellaris in rtl/embedded/makefile.fpc.</div><div><br></div></div><div>Then remake make,and make the compiler.</div><div><br></div><blockquote type="cite"><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">New to this - what is procedure to generate and submit patch set ?<br></div></div></blockquote><div><br></div>+1</div><div><br></div><div>but Florian did offer to integrate any updates himself :)</div><div><br></div><div>Geoffrey<br><blockquote type="cite"><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br>Thanks !<br><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: arial, helvetica, sans-serif; font-size: 10pt; "><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold; ">From:</span></b><span class="Apple-converted-space"> </span>Florian Klämpfl <<a href="mailto:florian@freepascal.org">florian@freepascal.org</a>><br><b><span style="font-weight: bold; ">To:</span></b><span class="Apple-converted-space"> </span>FPC developers' list <<a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>><br><b><span style="font-weight: bold; ">Sent:</span></b><span class="Apple-converted-space"> </span>Sun, August 7, 2011 12:15:02 AM<br><b><span style="font-weight: bold; ">Subject:</span></b><span class="Apple-converted-space"> </span>Re: [fpc-devel] Arm Thumb2 - Stellaris status<br></font><br>Am 06.08.2011 13:35, schrieb John Clymer:<br>> Ok, maybe I'm missing something...<br>><span class="Apple-converted-space"> </span><br>> I can compile and get a binary for an STM32F103RE. However, if I<br>> attempt for the STELLARIS target, I get an error. I see where the error<br>> is coming from in t_embed.pas. It looks like the t_embed.pas file is<br>> missing linking information for the Stellaris. <span class="Apple-converted-space"> </span><br><br>Yes. arm embedded devices are only supported as far as somebody<br>contributed the compiler and rtl support. Problem is: we don't have any<br>chance to test it, so only users of these devices can contribute the<br>support.<br><br>> Can someone confirm this<br>> is the case before I go on a wild chase changing things ?<br><br><br><br>_______________________________________________<br>fpc-devel maillist - <span class="Apple-converted-space"> </span><a ymailto="mailto:fpc-devel@lists.freepascal.org" href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a><br><span><a target="_blank" href="http://lists.freepascal.org/mailman/listinfo/fpc-devel">http://lists.freepascal.org/mailman/listinfo/fpc-devel</a></span><br></div></div></div>_______________________________________________<br>fpc-devel maillist - <a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a><br><a href="http://lists.freepascal.org/mailman/listinfo/fpc-devel">http://lists.freepascal.org/mailman/listinfo/fpc-devel</a><br></div></blockquote></div><br></body></html>