<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Just one note of caution:</p>
    <p>When you encounter strange behaviour of your Code on Cortex-M0 in
      respect to DIV commmand then check the mailinglist, Jeppe has
      provided a fix but I am not quite sure if the fix has made it into
      official trunk.</p>
    <p>Michael<br>
    </p>
    <div class="moz-cite-prefix">Am 26.05.19 um 09:15 schrieb Dimitrios
      Chr. Ioannidis via fpc-devel:<br>
    </div>
    <blockquote type="cite"
      cite="mid:602f51cf-2d85-5f46-d78b-6deaaa3f32c1@nephelae.eu">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <p>Hi,</p>
      <p>  yesterday I tried ( for first time ) to use the fpc for arm
        with the gcc-arm-none-eabi-8-2018-q4-major-win32 toolchain and I
        got this error :</p>
      <p>"G:\Programming\dimitris\tools\gcc-arm-none-eabi\bin\arm-none-eabi-objcopy.exe:
        G:\Programming\dimitris\tools\mbf\Samples\Blinky\Blinky.hex
        64-bit address 0x4b4fa300000000 out of range for Intel Hex file"</p>
      <p>As I'm not familiar with ARM, does anyone have a clue or a hint
        on what I'm doing wrong ?</p>
      <p>FYI,</p>
      <p>FPC trunk builded with :</p>
      <p>">make.exe clean crossall crossinstall OS_TARGET=embedded
        CPU_TARGET=arm SUBARCH=armv6m CROSSOPT="-O1"
        INSTALL_PREFIX=G:\Programming\dimitris\tools\fpc-trunk
        CROSSBINDIR=G:\Programming\dimitris\tools\gcc-arm-none-eabi\bin
        BINUTILSPREFIX=arm-none-eabi-"</p>
      <p>and the <br>
      </p>
      <p>project options are :</p>
      <p>"G:\Programming\dimitris\tools\fpc-trunk\bin\x86_64-win64\fpc.exe<br>
        -Tembedded<br>
        -Parm<br>
        -MObjFPC<br>
        -Scgi<br>
        -Ch8192<br>
        -Cs8192<br>
        -O1<br>
        -gw2<br>
        -l<br>
        -vewnhibq<br>
        -Fi..\..\Source<br>
        -Filib\arm-embedded<br>
        -Fu..\..\Source<br>
        -Fu.<br>
        -FUlib\arm-embedded<br>
        -FE.<br>
        -oBlinky<br>
        -Cparmv6m<br>
        -XParm-none-eabi-<br>
        -Wparduinozero"</p>
      <p>PS: I used the "<span class="text-gray-dark mr-2"
          itemprop="about">Microcontroller Board Framework</span>" ( <a
          class="moz-txt-link-freetext"
          href="https://github.com/michael-ring/mbf"
          moz-do-not-send="true">https://github.com/michael-ring/mbf</a>
        ) from Michael Ring cause the official FPC doesn't have my MCU (
        ATSAMD21G18A ).</p>
      <p><br>
      </p>
      <p>regards,</p>
      <p>-- <br>
      </p>
      <p>Dimitrios Chr. Ioannidis<br>
      </p>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
fpc-devel maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a>
</pre>
    </blockquote>
  </body>
</html>