<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div><font class="Apple-style-span" color="#006312"><br></font>Date: Mon, 23 Aug 2010 13:57:30 -0300<br>From: Andreas Berger <<a href="mailto:Andreas@TheBergerClan.org">Andreas@TheBergerClan.org</a>><br>Subject: Re: [fpc-pascal] ARM-Cortex port<br>To: FPC-Pascal users discussions <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>><br>Message-ID: <<a href="mailto:4C72A87A.7020401@TheBergerClan.org">4C72A87A.7020401@TheBergerClan.org</a>><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br> Thanks Jonas and Jeppe for your answers. I will probably wait then to <br>switch (or try to convince the company to use an ARM-9)<br></div></blockquote><div><br></div><div><br></div>using Jonas and Jeppe's answers to my idiot questions in this forum, and Jeppe's startup code for the STM32F, I have FPC cross-compiling for the LM3S9B92, one of the TI Luminary processors. Getting interrupts working took some time. I think the next thing for me is to try calling the rom code from FPC. Then it should be possible to re-use all the library of C code supplied by TI and it will no longer be necessary to try and fathom lines such as:-</div><div><br></div><div>*((void (*)(void))(*(unsigned long *)0x2c)))();</div><div><br></div><div>which occurs in the USB example code :-)</div><div>I am not quite sure how to write that in FP, but I am sure someone will have an idea.</div><div><br></div><div>Geoffrey</div><div><br></div><div><br></div><br></body></html>