<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hallo Chris,<br>
    </p>
    <div class="moz-cite-prefix">On 21/03/2020 07:45, Sebastian Huber
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:c3f4b0b4-b075-536b-531a-87ee91df04a3@embedded-brains.de">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>On 20/03/2020 22:23, Chris Johns wrote:<br>
      </p>
      <blockquote type="cite"
        cite="mid:9C34B2F3-D8FB-4F63-8184-F29F76D32088@rtems.org">
        <meta http-equiv="content-type" content="text/html;
          charset=UTF-8">
        <div dir="ltr"><br>
        </div>
        <div dir="ltr">
          <blockquote type="cite">On 20 Mar 2020, at 4:49 pm, Sebastian
            Huber <a class="moz-txt-link-rfc2396E"
              href="mailto:sebastian.huber@embedded-brains.de"
              moz-do-not-send="true"><sebastian.huber@embedded-brains.de></a>
            wrote:<br>
          </blockquote>
        </div>
        <blockquote type="cite">
          <div dir="ltr">
            <p>On 20/03/2020 05:15, Chris Johns wrote:<br>
            </p>
            <blockquote type="cite"
              cite="mid:48acdd0e-2fb8-d178-c02e-8e14c10d89fc@rtems.org">
              <pre class="moz-quote-pre" wrap="">On 19/3/20 7:52 pm, Sebastian Huber wrote:
</pre>
              <blockquote type="cite" style="color: #000000;">
                <pre class="moz-quote-pre" wrap="">The ARMv7-M architecture has no CP-15.  The inline assembly for the
CP-15 access leads to assembler errors if compiled with -O0.
</pre>
              </blockquote>
              <pre class="moz-quote-pre" wrap="">I would like to understand this one in detail to see why there is cp15 in the build.</pre>
            </blockquote>
            In ARMv7-M the system registers are memory mapped.<br>
            <p>If I compile a Cortex-M based BSP with -O0, then I get:</p>
          </div>
        </blockquote>
        BSP?</blockquote>
      For example the atsamv BSP.<br>
    </blockquote>
    could you please have a look at this. Being able to build with -O0
    is quite helpful during BSP development.<br>
  </body>
</html>